2016-01-11 08:22:25 +01:00
|
|
|
-- Demlo configuration file (Lua)
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- No colors by default since it may not work on all terminals.
|
2016-06-07 21:57:05 +02:00
|
|
|
Color = true
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Number of cores to use (0 for all).
|
2016-06-07 21:57:05 +02:00
|
|
|
Cores = 0
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Extensions to look for when a folder is browsed.
|
2016-06-22 11:11:00 +02:00
|
|
|
Extensions = {}
|
|
|
|
ext = {'aac', 'ape', 'flac', 'm4a', 'mp3', 'mp4', 'mpc', 'ogg', 'wav', 'webm', 'wv'}
|
|
|
|
for _, v in ipairs(ext) do
|
|
|
|
Extensions[v]=true
|
|
|
|
end
|
2014-10-15 10:53:26 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Fetch cover from an online database.
|
2016-06-07 21:57:05 +02:00
|
|
|
Getcover = false
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Fetch tags from an online database.
|
2016-06-07 21:57:05 +02:00
|
|
|
Gettags = false
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Lua code to run before and after the other scripts, respectively.
|
2016-06-07 21:57:05 +02:00
|
|
|
Prescript = ''
|
|
|
|
Postscript = ''
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- If false, show preview and exit before processing.
|
2016-06-07 21:57:05 +02:00
|
|
|
Process = false
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Remove source after processing. This can speed up the process when not
|
|
|
|
-- re-encoding.
|
2016-06-07 21:57:05 +02:00
|
|
|
Removesource = false
|
2014-07-01 09:16:10 +02:00
|
|
|
|
2016-01-11 08:22:25 +01:00
|
|
|
-- Scripts to run by default.
|
|
|
|
-- Order matters, e.g. 'path' can be influenced by the modifications made by 'tag'.
|
2017-05-26 14:10:12 +02:00
|
|
|
Scripts = {'10-tag', '11-soundtrack', '20-sub', '30-case', '40-punctuation', '50-encoding', '60-path', '70-cover',
|
2016-06-26 17:54:36 +02:00
|
|
|
'00-const', '51-flac2ogg', '59-humour'}
|