From 0e46cd003a4895d201a6813175f16451a035ffe2 Mon Sep 17 00:00:00 2001 From: Antonio Gil Date: Wed, 21 Feb 2024 19:38:31 -0600 Subject: [PATCH] Small fixes - Disabled debug log on Band Info script. - Fixed an error on regexreplace for Release Date edge cases (Month - Year). --- Me&tal Archives#Band Info.src | 8 ++++---- Me&tal Archives#Search by Album.src | 2 +- Me&tal Archives#Search by Band + Album.src | 10 +++++----- Me&tal Archives#Search by Band.src | 2 +- Me&tal Archives#Search by URL.src | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Me&tal Archives#Band Info.src b/Me&tal Archives#Band Info.src index c5d2248..04fa000 100644 --- a/Me&tal Archives#Band Info.src +++ b/Me&tal Archives#Band Info.src @@ -41,8 +41,8 @@ # ################################################################### # I N D E X # ################################################################### -debug "on" "D:\Projects\mp3tag_temp\debug_MA_Band_Index.txt" -debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Band_Index_Input.txt" +# debug "on" "D:\Projects\mp3tag_temp\debug_MA_Band_Index.txt" +# debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Band_Index_Input.txt" findline "" diff --git a/Me&tal Archives#Search by Album.src b/Me&tal Archives#Search by Album.src index a080a1f..038b323 100644 --- a/Me&tal Archives#Search by Album.src +++ b/Me&tal Archives#Search by Album.src @@ -148,7 +148,7 @@ replace "December " "-12-" regexpreplace "(\d+)[a-z,]+\s*" "$1-" regexpreplace "-(\d)-" "-0$1-" regexpreplace "^(\d\d\d\d)$" "-01-01-$1" -regexpreplace "-(\d\d)-(\d\d\d\d)" "-$1-01-$2" +regexpreplace "^-(\d\d)-(\d\d\d\d)$" "-$1-01-$2" regexpreplace "-(\d\d)-(\d\d)-(\d\d\d\d)" "$3-$1-$2" sayregexp "\d\d\d\d-\d\d-\d\d" diff --git a/Me&tal Archives#Search by Band + Album.src b/Me&tal Archives#Search by Band + Album.src index fcf7fa2..efc266e 100644 --- a/Me&tal Archives#Search by Band + Album.src +++ b/Me&tal Archives#Search by Band + Album.src @@ -37,8 +37,8 @@ # ################################################################### # I N D E X # ################################################################### -# debug "on" "D:\Projects\mp3tag_temp\debug_MA_Index.txt" -# debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Index_Input.txt" +debug "on" "D:\Projects\mp3tag_temp\debug_MA_Index.txt" +debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Index_Input.txt" findline "" @@ -149,7 +149,7 @@ replace "December " "-12-" regexpreplace "(\d+)[a-z,]+\s*" "$1-" regexpreplace "-(\d)-" "-0$1-" regexpreplace "^(\d\d\d\d)$" "-01-01-$1" -regexpreplace "-(\d\d)-(\d\d\d\d)" "-$1-01-$2" +regexpreplace "^-(\d\d)-(\d\d\d\d)$" "-$1-01-$2" regexpreplace "-(\d\d)-(\d\d)-(\d\d\d\d)" "$3-$1-$2" sayregexp "\d\d\d\d-\d\d-\d\d" diff --git a/Me&tal Archives#Search by Band.src b/Me&tal Archives#Search by Band.src index 3b35991..647a7e2 100644 --- a/Me&tal Archives#Search by Band.src +++ b/Me&tal Archives#Search by Band.src @@ -148,7 +148,7 @@ replace "December " "-12-" regexpreplace "(\d+)[a-z,]+\s*" "$1-" regexpreplace "-(\d)-" "-0$1-" regexpreplace "^(\d\d\d\d)$" "-01-01-$1" -regexpreplace "-(\d\d)-(\d\d\d\d)" "-$1-01-$2" +regexpreplace "^-(\d\d)-(\d\d\d\d)$" "-$1-01-$2" regexpreplace "-(\d\d)-(\d\d)-(\d\d\d\d)" "$3-$1-$2" sayregexp "\d\d\d\d-\d\d-\d\d" diff --git a/Me&tal Archives#Search by URL.src b/Me&tal Archives#Search by URL.src index 8de1197..45aff3a 100644 --- a/Me&tal Archives#Search by URL.src +++ b/Me&tal Archives#Search by URL.src @@ -98,7 +98,7 @@ replace "December " "-12-" regexpreplace "(\d+)[a-z,]+\s*" "$1-" regexpreplace "-(\d)-" "-0$1-" regexpreplace "^(\d\d\d\d)$" "-01-01-$1" -regexpreplace "-(\d\d)-(\d\d\d\d)" "-$1-01-$2" +regexpreplace "^-(\d\d)-(\d\d\d\d)$" "-$1-01-$2" regexpreplace "-(\d\d)-(\d\d)-(\d\d\d\d)" "$3-$1-$2" sayregexp "\d\d\d\d-\d\d-\d\d"