Get current title

MKV playback, recompression, remuxing, codec packs, players, howtos, etc.
Post Reply
ldoodle
Posts: 69
Joined: Sun Sep 20, 2009 5:09 pm

Get current title

Post by ldoodle » Fri Sep 25, 2015 8:22 pm

Hey,

I'm writing a batch file that loops through a given directory, updating any MKV files title tag to match the file name, minus the extension.

I'm using mkvpropedit to set the title. I'd like to only update files where the title is not currently the same as the file name, so I need to get the current title and compare it.

How/can I do that? Shame mkvpropedit doesn't have a 'get' option.

Thanks

Woodstock
Posts: 7555
Joined: Sun Jul 24, 2011 11:21 pm

Re: Get current title

Post by Woodstock » Fri Sep 25, 2015 10:31 pm

mkvinfo from the mkvtoolnix programs?
How to aid in finding the answer to your problem: https://www.makemkv.com/faq/item/8

ldoodle
Posts: 69
Joined: Sun Sep 20, 2009 5:09 pm

Re: Get current title

Post by ldoodle » Sun Sep 27, 2015 5:40 pm

Thanks, sorted it.

Was a bit of a faff as there's no argument for mkvinfo.exe to get just the required tag, in my case the title. Had to return the whole lot then extract the line with title in, then format it to get rid of the '| + ' prefix!

Post Reply