Closed seizedengine closed 5 years ago
Thanks, and first time I've heard about this problem
Updated my misc.py with the new one and reran the export on level 666. Confirmed that it worked with my hashless movies. Four movies total, not counting one I deleted and readded as a test. Very weird.
Thank you for the quick fix!
Thanks for the detailed report, as well as confirming it, since all my medias worked, so no way of testing ;)
Bringing this up as an issue even though I acknowledge that the cause is outside of ExportTools itself. This also only happens on level 666 (in this case for my movies library only). ExportTools v2.0.0.4.
Running ExportTools on my Movies library results in an exception:
Checking the movies that cause this error using a direct URL (https://server:32400/library/metadata/103540/tree?checkFiles=1&includeExtras=1&includeBandwidths=1&X-Plex-Token=redacted) returns the XML of the movie which has a blank hash value (hash="").
I have found at least two movies without a hash in my library. Optimizing the library or trying other actions like refreshing that movies medadata or analyzing the media does not create the hash value. These movies play fine without it. Deleting then readding the movie creates the missing hash and fixes things.
Since this only happens on level 666 and I dont specifically need that value I can work around it but thought it worthy of bringing up. Maybe a specific version of Plex didnt create these hash values or there is some other factor. There isnt anything odd/different about these movies vs others though, at least not obviously.
Probably the best fix is for ExportTools to fail gracefully wthout the hash and just write some error in the output file field.