no / in track-tag

This commit is contained in:
olli 2022-12-13 22:08:38 +01:00
parent 1220a17977
commit 1026e38630

View File

@ -80,6 +80,9 @@ unless (/^\$/) {
s/^date.+([1-2][890][0-9][0-9]).+\$/date=\$1/ if (/^date=/);
# track no 0 in the beginning
s/=0+/=/ if (/^track=/);
# no / in track-tag
s/\/[0-9]+$// if (/^track=/);
# Add ' in line end - variable string end and after =
s/^(title|album|artist|track|date|genre)=/\$1='/;
s/(.+)$/\$1\'/;