Demlo: Add 'soundtrack' script to use album as album_artist

master
Pierre Neidhardt 2017-05-26 14:10:12 +02:00
parent 66f8a5979b
commit 100d584255
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,5 @@ Removesource = false
-- Scripts to run by default.
-- Order matters, e.g. 'path' can be influenced by the modifications made by 'tag'.
Scripts = {'10-tag', '20-sub', '30-case', '40-punctuation', '50-encoding', '60-path', '70-cover',
Scripts = {'10-tag', '11-soundtrack', '20-sub', '30-case', '40-punctuation', '50-encoding', '60-path', '70-cover',
'00-const', '51-flac2ogg', '59-humour'}

View File

@ -0,0 +1,4 @@
-- Soundtrack tags.
if stringrel(stringnorm (o.genre), 'soundtrack') > 0.7 then
o.album_artist = o.album
end