Skip to content

Instantly share code, notes, and snippets.

@BobbyWibowo
Last active Nov 22, 2019
Embed
What would you like to do?
Puddletag functions cheatsheet

Tag to Dir

Music/%albumartist%/%album%
Music/$if(%albumartist%,%albumartist%,%artist%)/%album%

Parent dir should already default to $HOME.

Examples

$HOME/Music/Panic! at the Disco/Pray for the Wicked/

$HOME/Music/Various Artists/Hatsune Miku Magical Mirai 2014 OFFICIAL ALBUM/

Tag to filename

$if($isdigit(%discnumber%),%discnumber%-,)$num(%track%,2) %title%

Examples

If discnumber tag exists:

2-01 キャットフード Cat Food.flac

Otherwise:

10 Tears River.flac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment