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