From 6a888f02e7b1250394be487418a50c0b1755f0dc Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Thu, 3 Apr 2025 22:51:19 +0000 Subject: [PATCH] Resolve "release country issues" --- atom | 7 +++++++ lib/config/write | 3 ++- lib/setup/destination | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/atom b/atom index 11e16b7..2427e57 100755 --- a/atom +++ b/atom @@ -409,6 +409,7 @@ echo ' tags.genre, tags.performer, tags.rate, + tags.releasecountry, tags.replaygain_alb, tags.replaygain_trk, tags.title, @@ -478,6 +479,8 @@ do rest=${rest#*::AtOM:SQL:Sep::} rate=${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::*} rest=${rest#*::AtOM:SQL:Sep::} replaygain_trk=${rest%%::AtOM:SQL:Sep::*} @@ -529,6 +532,7 @@ do mimetype \ performer \ rate \ + releasecountry \ replaygain_alb \ replaygain_trk \ rest \ @@ -805,6 +809,7 @@ do tags.disc, tags.genre, tags.performer, + tags.releasecountry, tags.title, tags.track, tags.year @@ -873,6 +878,8 @@ do rest=${rest#*::AtOM:SQL:Sep::} performer=${rest%%::AtOM:SQL:Sep::*} rest=${rest#*::AtOM:SQL:Sep::} + releasecountry=${rest%%::AtOM:SQL:Sep::*} + rest=${rest#*::AtOM:SQL:Sep::} title=${rest%%::AtOM:SQL:Sep::*} rest=${rest#*::AtOM:SQL:Sep::} track=${rest%%::AtOM:SQL:Sep::*} diff --git a/lib/config/write b/lib/config/write index 7da7b3a..4db01ed 100644 --- a/lib/config/write +++ b/lib/config/write @@ -60,7 +60,7 @@ path $sourcepath # Common 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 # * path: Where files will be written @@ -144,6 +144,7 @@ bitrate ${destinationquality["$destination"]} # %{artist}, # %{disc}, # %{genre}, +# %{releasecountry}, # %{title}, # %{track}, # %{year}. diff --git a/lib/setup/destination b/lib/setup/destination index c6ea323..fcf214e 100644 --- a/lib/setup/destination +++ b/lib/setup/destination @@ -251,6 +251,7 @@ setupDestination() { %{artist}, %{disc}, %{genre}, + %{releasecountry}, %{title}, %{track}, %{year}.