2016-03-17, 14:24
OK thanks , can you please tell me which fields suppose to be identical so Kodi would recognize it as 1 album ...
$if2(%albumartist%,%artist%)/$replace($if2(%albumartist%,%artist%)-%album%-CD-FLAC-$if(%date%,$left(%date%,4))-PICARD, ,_)/$lower($if($gt(%totaldiscs%,1),%discnumber%,)$if($ne(%albumartist%,),$num(%tracknumber%,2),)$replace(-%artist%-%title%, ,_))
(2016-05-11, 21:20)zag Wrote: Nice rename script to change any picard albums to this format.
ARTIST\ARTIST-ALBUM-CD-FLAC-YEAR-PICARD
You just need to tick the "move" and "rename" options, and add this in the rename script box:
Code:$if2(%albumartist%,%artist%)/$replace($if2(%albumartist%,%artist%)-%album%-CD-FLAC-$if(%date%,$left(%date%,4))-PICARD, ,_)/$lower($if($gt(%totaldiscs%,1),%discnumber%,)$if($ne(%albumartist%,),$num(%tracknumber%,2),)$replace(-%artist%-%title%, ,_))
(2016-05-11, 21:20)zag Wrote: Nice rename script to change any picard albums to this format.
ARTIST\ARTIST-ALBUM-CD-FLAC-YEAR-PICARD
You just need to tick the "move" and "rename" options, and add this in the rename script box:
Code:$if2(%albumartist%,%artist%)/$replace($if2(%albumartist%,%artist%)-%album%-CD-FLAC-$if(%date%,$left(%date%,4))-PICARD, ,_)/$lower($if($gt(%totaldiscs%,1),%discnumber%,)$if($ne(%albumartist%,),$num(%tracknumber%,2),)$replace(-%artist%-%title%, ,_))
$rreplace($if2(%albumartist%,%artist%)/$replace($if2(%albumartist%,%artist%)-%album%-CD-FLAC-$if(%date%,$left(%date%,4))-PiCARD, ,_)/$lower($if($gt(%totaldiscs%,1),%discnumber%,)$if($ne(%albumartist%,),$num(%tracknumber%,2),)$replace(-%artist%-%title%, ,_)),['"],)