write rating to database

This commit is contained in:
Vincent Riquer 2026-04-05 19:31:57 +02:00 committed by ScriptFanix
parent e8370d989a
commit 8ef25e1eba

View File

@ -20,6 +20,7 @@ updateTags() {
tags.disc,
tags.genre,
tags.performer,
tags.rating,
tags.releasecountry,
tags.replaygain_alb,
tags.replaygain_trk,
@ -86,6 +87,8 @@ echo '
rest=${rest#*::AtOM:SQL:Sep::}
oldperformer=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
oldrating=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
oldreleasecountry=${rest%%::AtOM:SQL:Sep::*}
rest=${rest#*::AtOM:SQL:Sep::}
oldreplaygain_alb=${rest%%::AtOM:SQL:Sep::*}
@ -139,6 +142,8 @@ echo '
${udi:+disc "${disc:-NULL}"} \
${uge:+genre "${genre:-NULL}"} \
${upe:+performer "${performer:+::AtOM:FT::}${performer:-NULL}"}\
${urr:+rating "${rating:+::AtOM:FT::}${rating:-NULL}"}\
${urc:+releasecountry "${releasecountry:+::AtOM:FT::}${releasecountry:-NULL}"}\
${urc:+releasecountry "${releasecountry:+::AtOM:FT::}${releasecountry:-NULL}"}\
${urpa:+replaygain_alb "${replaygain_alb:-NULL}"}\
${urpt:+replaygain_trk "${replaygain_trk:-NULL}"}\
@ -161,6 +166,7 @@ echo '
title \
composer \
performer \
rating \
releasecountry \
replaygain_alb \
replaygain_trk \
@ -178,6 +184,7 @@ echo '
oldtitle \
oldcomposer \
oldperformer \
oldrating \
oldreleasecountry \
oldreplaygain_alb \
oldreplaygain_trk \
@ -193,6 +200,7 @@ echo '
udi \
uge \
upe \
urr \
urc \
urpa \
urpt \