Skip to content

KeyError: 'stream_size' #144

Description

@CoyoteRay

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions