2016-01-17 23:22:03 +01:00
|
|
|
-- Output 'humour' genre to a separate library.
|
|
|
|
-- Run before 'path'.
|
|
|
|
|
|
|
|
local ossep = osseperator or '/'
|
|
|
|
|
|
|
|
local genre = o.genre and o.genre:lower():gsub([[\s]],'_')
|
|
|
|
if genre and genre == 'humour' then
|
|
|
|
library = os.getenv('HOME') .. ossep .. 'humour'
|
|
|
|
else
|
2020-06-21 14:07:40 +02:00
|
|
|
library = os.getenv('HOME') .. ossep .. 'Music'
|
2016-01-17 23:22:03 +01:00
|
|
|
end
|