Kodi Community Forum

Full Version: Option to compare TMDB/IMDB runtime against File Media Runtime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, recently i tried to ... rename some folders on my 2000+ collection, (auto rename on scrape Sad((....) and i ended up foobaring my entire setup because of some improperly labeled filenames (see thread: http://forum.kodi.tv/showthread.php?tid=...pid2448055 ), so instead of manually going through by hand trying to piece all these together again, i want to basically purge any movies that are now cut in half, my idea is to compare the tMDB runtime against the media runtime and then flag any folders that have the wrong runtime (or the runtime is some variable X% difference, flag).

Thanks for all your hard work on this project.
you could write a little export template which exports

runtime (the scraped one)
runtimeFromMediaFilesInMinutes (the sum of all runtimes from VIDEO files of your movie)

make sure you don't have the option "prefer runtime from MI" checked, this would give you the same runtime for both options from above
oohhh, i didnt even see this export option, i will research when i get some time, is there another export option to rip the foldername for mismatched time ? (im sure i can do a compare in excel...), then i can dump that into a batch file with a MV command.....

thank you for the help!, if you come up with anything else, id be very interested to hear it! i will document my workflow tonight and post if i am successful
here you will find a wiki entry for the export templates: https://github.com/tinyMediaManager/tiny...-Templates

and I am sure there are some undocumented properties.. but the path (full path incl. folder name) is available