ID3 data in media info object

All about user-defined episode / movie format expressions
Post Reply
jordanrynard
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 media.xxx 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.

Thanks!

User avatar
rednoah
The Source
Posts: 16303
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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