Skip to content

Instantly share code, notes, and snippets.

@robpataki
Last active August 25, 2023 11:38
Show Gist options
  • Save robpataki/511ddb6df55ebe089ba2 to your computer and use it in GitHub Desktop.
Save robpataki/511ddb6df55ebe089ba2 to your computer and use it in GitHub Desktop.
File naming convention for XLD encoding

Compilations:

%A - %T  -  %n - %a - %t

Albums by 1 artist

%A - %T  -  %n - %t
%n: Track number
%N: Total tracks
%d: Disc number
%D: Total discs
%t: Title
%T: Album title
%a: Artist
%A: Album artist
%g: Genre
%G: Grouping
%c: Composer
%C: Comment
%I: DiscID
%y: Year
%f: Format
%i: ISRC
%m: MSCN
%o: Original file name
@ramuster
Copy link

ramuster commented Feb 7, 2018

Very helpful, thanks.

@robpataki
Copy link
Author

I'm glad you find it useful @ramuster :)

@sjogro
Copy link

sjogro commented Mar 3, 2021

Is there also an Id for the total Disc count ?
Schermafbeelding 2021-03-03 om 10 36 35

@robpataki
Copy link
Author

Apologies @sjogro I did not get a notification about your question - so 2 years later, please let me answer :) According to the MetaDataEditor file you can use %D to access the total disc count. I updated the gist to include this and some more.

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