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