Page 1 of 1

ID3 data in media info object

Posted: 26 Apr 2013, 10:44
by jordanrynard
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!

Re: ID3 data in media info object

Posted: 26 Apr 2013, 15:04
by rednoah
You can use the format editor in the GUI and prototype things. You can also check all available media info for a given file.