Skip to content

Instantly share code, notes, and snippets.

@rassie
Created November 2, 2009 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rassie/224476 to your computer and use it in GitHub Desktop.
Save rassie/224476 to your computer and use it in GitHub Desktop.
$if(
$or(
$eq(%releasetype%,audiobook),
$eq(%releasetype%,spokenword)
),
Hörbücher,
Musik
)/
$if(
$ne(
$matchedtracks(),
%totaltracks%
),
%artist%/%title%
$if(
$eq(%releasetype%,live),
\(live\),
),
$if(
$eq(%releasetype%,soundtrack),
%album%,
$if2(%albumartist%,%artist%)
/
$if(
%date%,
\($left(%date%,4)\)
)
%album%
$if(
$eq(%releasetype%,live),
\(live\)
)
)
$if(
%discnumber%,
$if(
%discsubtitle%,
/$num(%discnumber%,2). %discsubtitle%,
/Disc %discnumber%
)
)
/$num(%tracknumber%,2).
$if(
$or(
$eq(%albumartist%,Various Artists),
$ne(%artist%,%albumartist%)
),
%artist% --
)
%title%
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment