JasonMillward / Autorippr

Rip discs automatically using a blend of Python, MakeMKV and HandBrake
MIT License
239 stars 60 forks source link

KeyError: 'stream_size' #144

Open CoyoteRay opened 6 years ago

CoyoteRay commented 6 years ago

Getting the error "KeyError: 'stream_size'" when trying to match autorippr against a BluRay for movie Twister. Autorippr was used to rip and compress the movie, it just fails the extra functions.

$ python autorippr.py --debug --skip-compress --extra --force_db=movie 2018-02-11 19:05:43 - Skip compress - DEBUG - Looking for videos to skip compression 2018-02-11 19:05:43 - Extras - INFO - Attempting to discover foreign subtitle for Twister Na. Traceback (most recent call last): File "autorippr.py", line 467, in extras(config) File "autorippr.py", line 355, in extras track = forced.discover_forcedsubs(dbvideo) File "/opt/Autorippr/classes/mediainfo.py", line 79, in discover_forcedsubs subs.sort(key=lambda sub: sub['stream_size'], reverse = True) File "/opt/Autorippr/classes/mediainfo.py", line 79, in subs.sort(key=lambda sub: sub['stream_size'], reverse = True) KeyError: 'stream_size'