Merge branch '24-release-country-issues' into 'master'

Resolve "release country issues"

Closes #19, #21, #22, and #24

See merge request atom/AtOM!25
This commit is contained in:
Vincent Riquer 2025-04-03 22:51:20 +00:00
commit f7522e5f34
3 changed files with 10 additions and 1 deletions

7
atom
View File

@ -409,6 +409,7 @@ echo '
tags.genre, tags.genre,
tags.performer, tags.performer,
tags.rate, tags.rate,
tags.releasecountry,
tags.replaygain_alb, tags.replaygain_alb,
tags.replaygain_trk, tags.replaygain_trk,
tags.title, tags.title,
@ -478,6 +479,8 @@ do
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
rate=${rest%%::AtOM:SQL:Sep::*} rate=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
releasecountry=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
replaygain_alb=${rest%%::AtOM:SQL:Sep::*} replaygain_alb=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
replaygain_trk=${rest%%::AtOM:SQL:Sep::*} replaygain_trk=${rest%%::AtOM:SQL:Sep::*}
@ -529,6 +532,7 @@ do
mimetype \ mimetype \
performer \ performer \
rate \ rate \
releasecountry \
replaygain_alb \ replaygain_alb \
replaygain_trk \ replaygain_trk \
rest \ rest \
@ -805,6 +809,7 @@ do
tags.disc, tags.disc,
tags.genre, tags.genre,
tags.performer, tags.performer,
tags.releasecountry,
tags.title, tags.title,
tags.track, tags.track,
tags.year tags.year
@ -873,6 +878,8 @@ do
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
performer=${rest%%::AtOM:SQL:Sep::*} performer=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
releasecountry=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
title=${rest%%::AtOM:SQL:Sep::*} title=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::} rest=${rest#*::AtOM:SQL:Sep::}
track=${rest%%::AtOM:SQL:Sep::*} track=${rest%%::AtOM:SQL:Sep::*}

View File

@ -60,7 +60,7 @@ path $sourcepath
# Common parameters: # Common parameters:
# Mandatory parameters: # Mandatory parameters:
# * enabled: Whether or not to treat this destination (1=tue/0=false) # * enabled: Whether or not to treat this destination (1=true/0=false)
enabled 1 enabled 1
# * path: Where files will be written # * path: Where files will be written
@ -144,6 +144,7 @@ bitrate ${destinationquality["$destination"]}
# %{artist}, # %{artist},
# %{disc}, # %{disc},
# %{genre}, # %{genre},
# %{releasecountry},
# %{title}, # %{title},
# %{track}, # %{track},
# %{year}. # %{year}.

View File

@ -251,6 +251,7 @@ setupDestination() {
%{artist}, %{artist},
%{disc}, %{disc},
%{genre}, %{genre},
%{releasecountry},
%{title}, %{title},
%{track}, %{track},
%{year}. %{year}.