Added a couple of scripts to do with music

This commit is contained in:
2025-06-27 20:54:54 +01:00
parent ee895d81eb
commit f7c5e68860
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# These are the settings I think are appropriate - I did use to use --ignore-times, I can't remember why
# I note I'm still getting some errors on this, but I think that could be because some of the music files are owned by root
rsync --archive --no-perms --no-owner --no-group --recursive --verbose /home/arthurr/Music/* arthurr@truenas.local:/mnt/Bertha/Music

View File

@@ -0,0 +1,3 @@
$if2(%albumartist%,%artist%)/
$if(%albumartist%,$if(%date%,$replace(%date%,-,.) - )%album%/,)
$if($gt(%totaldiscs%,1),$if($gt(%totaldiscs%,9),$num(%discnumber%,2),%discnumber%)-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title%