Unmanic / unmanic-plugins

Official plugins for the Unmanic application
21 stars 71 forks source link

Video-File-Size-Plugin-Ignore-Non-Video-Files #356

Closed lbenedetto closed 1 year ago

lbenedetto commented 1 year ago

When running the plugin on my full library, I found two things:

  1. The plugin wastes time checking non video files. Also, surprisingly .nfo files return both an (incorrect) duration and a resolution when probed with ffprobe.
  2. I have some corrupted video files that caused the plugin to throw an exception. It still will, but it'll happen earlier and be more informative.
Josh5 commented 1 year ago

Happy to merge this regardless of the comments above. Let me know if you wanted to make any changes first, otherwise I'll merge it in and you can carry on from there.