ID3 data in media info object

All about user-defined episode / movie format expressions
Post Reply
Posts: 1
Joined: 26 Apr 2013, 10:38

ID3 data in media info object

Post by jordanrynard » 26 Apr 2013, 10:44

Hey everyone,

I'm trying to use a custom naming scheme for my music (via the CLI) but I'm having trouble accessing one piece of data.

I know you can access ID3 Data via the vars, but I can't figure out how to retrieve the ID3 Year data. Is this possible? Either through the media info object or some other method?

My example string: "musicFormat=Music/{n.ascii()}/{media.Album.ascii()} ({media.Year})/{media.TrackPosition.pad(2)} - {n.ascii()} - {t.ascii()}"

'media.Year' doesn't hold a value; that's the one I'm trying to get...

I've ensured that the ID3 data exists for the files being renamed.


User avatar
The Source
Posts: 18646
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: ID3 data in media info object

Post by rednoah » 26 Apr 2013, 15:04

You can use the format editor in the GUI and prototype things. You can also check all available media info for a given file.
:idea: Please read the FAQ and How to Request Help.

Post Reply