Page 1 of 1

Can Filebot get correct filename from somewhere else if the downloaded filename is wrong

Posted: 04 Jul 2019, 09:21
by xuewy
For example, if the media file name should be "Avatar 2009" , but the file I downloaded is totally different like "Star Wars 2008“, can Filebot use some way to get the correct filename, e.g using -mediainfo, not sure if some parameters contain the orginal file info or description.

Re: Can Filebot get correct filename from somewhere else if the downloaded filename is wrong

Posted: 04 Jul 2019, 09:26
by rednoah
There might be. You can check:
viewtopic.php?f=5&t=4285

If you're lucky, assuming that the file in question contains embedded metadata, with the media title property set, then this should work:

Code: Select all

{mediaTitle}

Re: Can Filebot get correct filename from somewhere else if the downloaded filename is wrong

Posted: 05 Jul 2019, 09:33
by xuewy
Do you mean to use command below:

Code: Select all

filebot -mediainfo . --format {mediaTitle}
Tried some files, it's not working, result returned as below:

Code: Select all

Expression yields empty value: Binding "General[0][Title, Movie]": undefined
It seems that media title property not set or not choose the right media parameter.

Re: Can Filebot get correct filename from somewhere else if the downloaded filename is wrong

Posted: 05 Jul 2019, 09:45
by rednoah
Probably out of luck then, if the file just doesn't contain the information we want.

You can double-check via the MediaInfo Inspector and see all properties:
viewtopic.php?f=5&t=4285