Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Air By Date releases #692

Open
duramato opened this issue Sep 27, 2016 · 1 comment
Open

Add support for Air By Date releases #692

duramato opened this issue Sep 27, 2016 · 1 comment
Assignees

Comments

@duramato
Copy link

Currently when searching for subs for a release with air by date numbering , subliminal just errors
Like so:

subliminal --debug download -l en Panorama.2016.06.29.Iraq.The.Final.Judgement.720p.WEB-DL.h264-OmarMateen.mkv
Collecting videos  [####################################]  100%  Panorama.2016.06.29.Iraq.The.Final.Judgement.720p.WEB-DL.h264-OmarMateen.mkvDEBUG:subliminal.cli:Collecting path Panorama.2016.06.29.Iraq.The.Final.Judgement.720p.WEB-DL.h264-OmarMateen.mkv
INFO:subliminal.core:Scanning video 'Panorama.2016.06.29.Iraq.The.Final.Judgement.720p.WEB-DL.h264-OmarMateen.mkv' in ''
ERROR:subliminal.cli:Unexpected error while collecting path Panorama.2016.06.29.Iraq.The.Final.Judgement.720p.WEB-DL.h264-OmarMateen.mkv
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/subliminal/cli.py", line 352, in download
    video = scan_video(p)
  File "/usr/local/lib/python2.7/dist-packages/subliminal/core.py", line 380, in scan_video
    video = Video.fromguess(path, guessit(path))
  File "/usr/local/lib/python2.7/dist-packages/subliminal/video.py", line 93, in fromguess
    return Episode.fromguess(name, guess)
  File "/usr/local/lib/python2.7/dist-packages/subliminal/video.py", line 166, in fromguess
    raise ValueError('Insufficient data to process the guess')
ValueError: Insufficient data to process the guess
Collecting videos  [####################################]  100%
0 video collected / 0 video ignored / 1 error

It shoud also search for them .

evuez added a commit to evuez/subliminal that referenced this issue Oct 12, 2016
This fixes Diaoul#692.

Not finding the episode number shouldn't raise an error, most of the time
it actually works without one anyway.
evuez added a commit to evuez/subliminal that referenced this issue Oct 12, 2016
This fixes Diaoul#692.

Not finding the episode number shouldn't raise an error, most of the time
it actually works without one anyway.
@ratoaq2 ratoaq2 self-assigned this Feb 21, 2019
@ratoaq2
Copy link
Collaborator

ratoaq2 commented Feb 23, 2019

This is not that simple since the providers requires episode information. Even tvdb refiner can only search episode information with the episode number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants