From 1026e38630e275d68a81f0837762dd91416cd346 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 13 Dec 2022 22:08:38 +0100 Subject: [PATCH] no / in track-tag --- gaboshlib/g_compress_audio.bashfunc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gaboshlib/g_compress_audio.bashfunc b/gaboshlib/g_compress_audio.bashfunc index 36b577f..d86b5c6 100644 --- a/gaboshlib/g_compress_audio.bashfunc +++ b/gaboshlib/g_compress_audio.bashfunc @@ -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\'/;