Skip to content

Instantly share code, notes, and snippets.

@OothecaPickle
Forked from robpataki/xld_filename.md
Last active October 17, 2025 04:01
Show Gist options
  • Select an option

  • Save OothecaPickle/0226d7f0c139c8c9a3ef2884480167c4 to your computer and use it in GitHub Desktop.

Select an option

Save OothecaPickle/0226d7f0c139c8c9a3ef2884480167c4 to your computer and use it in GitHub Desktop.
File naming convention for XLD encoding

IDs

as per: https://sourceforge.net/p/xld/code/HEAD/tree/trunk/XLD/XLDController.m

%n: track number
%D: disc number
%t: title
%a: artist
%T: album title
%A: album artist
%c: composer
%y: year
%g: genre
%i: isrc
%m: mcn (media catalog number)
%I: discid
%f: format

Alternate IDs (no longer used(?))

from: https://sourceforge.net/p/xld/code/HEAD/tree/trunk/XLD/XLDMetadataTextParser.m

%n: track
%N: total tracks
%d: disc
%D: total discs
%y: year
%t: title
%T: album
%a: artist
%A: album artist
%g: genre
%G: group
%c: composer
%C: comment
%o: original filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment