From 0fc31733dcccdee45be9c7e43316e586357fad47 Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 19 Aug 2022 04:45:12 +0200 Subject: [PATCH] picard: script for audiobooks --- wiki/picard.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wiki/picard.md b/wiki/picard.md index 9825ff9..f5bb800 100644 --- a/wiki/picard.md +++ b/wiki/picard.md @@ -25,6 +25,23 @@ $num(%tracknumber%,$if($gt($len(%totaltracks%),2),$len(%totaltracks%),2))._ %title%), ,_) ``` +Another Script is mainly used for audiobooks, where the title is not part of +the filename to avoid confusion. +The files are renamed with the scheme +`[.].__-__` +all in lower case. +Both discnumber and tracknumber are handled in the same way as in the previous +script. + +``` +$replace($lower( +$if($gt(%totaldiscs%,1),$num(%discnumber%,$len(%totaldiscs%)).,) +$num(%tracknumber%,$if($gt($len(%totaltracks%),2),$len(%totaltracks%),2))._ +%artist%_-_ +%album%), ,_)_ +$num(%tracknumber%,$if($gt($len(%totaltracks%),2),$len(%totaltracks%),2)) +``` + ## Tagging The following explains the most general tags in short.