abbi031892 / periscope

Automatically exported from code.google.com/p/periscope
0 stars 0 forks source link

Downloaded not most suitable subtitle from Addic7ed #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.enable Addic7ed plugin
2.Create a file Nikita.S02E10.720p.HDTV.x264-2HD.mkv
3.Run periscope

What is the expected output? What do you see instead?
There are 2 version of 2HD subtitle on Addic7ed:
1. sd
2. 720p
you can see in log, that periscope retrieve list [720p, 2hd], but still 
downloading the first most updated file from link 
http://www.addic7ed.com/updated/1/56249/0, but not downloading most suitable 
file from link http://www.addic7ed.com/original/56249/2

What version of the product are you using? On what operating system?
I'm using periscope 0.2.4, on QNAP NAS (linux)

Please provide any additional information below.
some logs (hope it will help:
DEBUG:root:[Addic7ed] Team from website: set(['2hd'])
DEBUG:root:[Addic7ed] Team from file: set([u'x264', u'hdtv', u'720p', u'2hd'])
DEBUG:root:[Addic7ed] match ? True
DEBUG:root:[Addic7ed] Team from website: set(['720p', '2hd'])
DEBUG:root:[Addic7ed] Team from file: set([u'x264', u'hdtv', u'720p', u'2hd'])
DEBUG:root:[Addic7ed] match ? True

DEBUG:periscope.periscope:[{'lang': 'en', 'plugin': 
<periscope.plugins.Addic7ed.Addic7ed object at 0x3da750>, 'filename': 
'/share/MD0_DATA/RSS/Nikita.S02E10.720p.HDTV.x264-2HD.mkv', 'link': 
u'http://www.addic7ed.com/updated/1/56249/0', 'release': u'Nikita.S02E10.2hd', 
'page': u'http://www.addic7ed.com/serie/nikita/2/10/nikita'}, {'lang': 'en', 
'plugin': <periscope.plugins.Addic7ed.Addic7ed object at 0x3da750>, 'filename': 
'/share/MD0_DATA/RSS/Nikita.S02E10.720p.HDTV.x264-2HD.mkv', 'link': 
u'http://www.addic7ed.com/original/56249/2', 'release': 
u'Nikita.S02E10.720p.2hd', 'page': 
u'http://www.addic7ed.com/serie/nikita/2/10/nikita'}, {'lang': 'en', 'plugin': 
<periscope.plugins.Addic7ed.Addic7ed object at 0x3da750>, 'filename': 
'/share/MD0_DATA/RSS/Nikita.S02E10.720p.HDTV.x264-2HD.mkv', 'link': 
u'http://www.addic7ed.com/original/56249/1', 'release': u'Nikita.S02E10.2hd', 
'page': u'http://www.addic7ed.com/serie/nikita/2/10/nikita'}, {'lang': 'en', 
'plugin': <periscope.plugins.Addic7ed.Addic7ed object at 0x3da750>, 'filename': 
'/share/MD0_DATA/RSS/Nikita.S02E10.720p.HDTV.x264-2HD.mkv', 'link': 
u'http://www.addic7ed.com/original/56249/3', 'release': 
u'Nikita.S02E10.720p.2hd', 'page': 
u'http://www.addic7ed.com/serie/nikita/2/10/nikita'}]
INFO:periscope.periscope:Trying to download subtitle: 
http://www.addic7ed.com/updated/1/56249/0
DEBUG:root:Download finished to file 
/share/MD0_DATA/RSS/Nikita.S02E10.720p.HDTV.x264-2HD.srt. Size : 45571

Original issue reported on code.google.com by dima...@gmail.com on 8 Dec 2011 at 9:23