Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
- Disabled debug log on Band Info script.
- Fixed an error on regexreplace for Release Date edge cases (Month - Year).
  • Loading branch information
antonio-gil committed Feb 22, 2024
1 parent 1f434da commit 0e46cd0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Me&tal Archives#Band Info.src
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<a href=\\"
do
Expand Down Expand Up @@ -86,8 +86,8 @@ while "\"<a href" 500
# ###################################################################
# B A N D
# ###################################################################
debug "on" "D:\Projects\mp3tag_temp\debug_MA_Band.txt"
debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Band_Input.txt"
# debug "on" "D:\Projects\mp3tag_temp\debug_MA_Band.txt"
# debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Band_Input.txt"


findline "<dl class="float_left">"
Expand Down
2 changes: 1 addition & 1 deletion Me&tal Archives#Search by Album.src
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
10 changes: 5 additions & 5 deletions Me&tal Archives#Search by Band + Album.src
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<a href=\\\""
Expand Down Expand Up @@ -82,8 +82,8 @@ while "\"<a href" 500
# ###################################################################
# A L B U M
# ###################################################################
# debug "on" "D:\Projects\mp3tag_temp\debug_MA_Album.txt"
# debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Album_Input.txt"
debug "on" "D:\Projects\mp3tag_temp\debug_MA_Album.txt"
debugwriteinput "D:\Projects\mp3tag_temp\debug_MA_Album_Input.txt"


findline "id=\"album_sidebar\">"
Expand Down Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion Me&tal Archives#Search by Band.src
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion Me&tal Archives#Search by URL.src
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 0e46cd0

Please sign in to comment.