Closed GoogleCodeExporter closed 9 years ago
nou .. what I thought is not valid for all
today: perception, 7 times announced / notified (mail send so I can see how
much time it is processed. )
where swubs of covert affairs (s03e04) and Necessary Roughness (s02E03) are
announced just once.
is there a way to see the downloadqueue? and wantedqueue
I see that 1 hour before the sub was found but not yet downloaded. Could it be
that every check before the actual download is added to the wantedqueue?
and autosub does not see it is already in the wantedqueue?
Original comment by aroundmyroom
on 6 Aug 2012 at 1:52
at least somewhere found a bug
if there is a sub found through the RSS but or the api calls are empty or maybe
by default the sub is added to the wantedqueue, so far so good, but from this
wanted queue there is no DownloadSub action
If than there is a normal subcheck, than the same sub can and will be found
again. the existing sub in the wantedqueue is ignored and a new sub will be
added
in log form;
2012-08-10 18:16:33,444 INFO checkRss: Got a match, matching file is:
Anger.Management.S01E08.720p.HDTV.x264-IMMERSE
2012-08-10 18:16:33,444 DEBUG checkRss: Dumping downloadlink for debug
purpose:
http://www.bierdopje.com/downloads/sub/100594/Anger.Management.S01E08.720p.HDTV.
x264-IMMERSE.srt/apikey/BB442Exxx
2012-08-10 18:16:33,444 INFO checkRSS: The episode Anger Management - Season
01 Episode 08 has a matching subtitle on the RSSFeed, adding to toDownloadQueue
2012-08-10 18:16:33,733 DEBUG checkRSS: Removed item from the wantedQueue at
index 79
2012-08-10 18:16:33,733 DEBUG checkRSS: Finished round of RSS checking
2012-08-10 18:23:04,374 ERROR downloadSubs: out of api calls
Above you see the sub is found and added to the wantedqueue
But than ..
012-08-10 18:28:48,310 DEBUG scanDir: File Anger Management - S01E08 - 720p
HDTV x264-IMMERSE.mkv is missing a subtitle
2012-08-10 18:28:48,310 DEBUG ProcessFileName: Dumping show_info dict for
debug {'season': u'01', 'title': u'Anger Management', 'episode': u'08',
'extra_info': u'720p HDTV x264-IMMERSE'}
2012-08-10 18:28:48,310 DEBUG ProcessFileName: Dumping dict for debug
{'episode': u'08', 'title': u'Anger Management', 'season': u'01', 'releasegrp':
u'immerse', 'source': u'hdtv', 'codec': u'h26$
2012-08-10 18:28:48,311 INFO scanDir: Dutch subtitle wanted for Anger
Management - S01E08 - 720p HDTV x264-IMMERSE.mkv and added to wantedQueue
And here number 2 is added
As I am debugging the log of the DownloadQueue I see an index 0 and 1
and yes..
the log is showing it
012-08-10 18:33:09,826 DEBUG checking what WAS in THE downloadqueue
downloadsubs.py file
2012-08-10 18:29:52,931 DEBUG
[{'lang': [], 'episode': u'08', 'title': u'Anger Management',
'season': u'01', 'downloadLink':
u'http://www.bierdopje.com/downloads/sub/100594/Anger.Management.S01E08.720p.HDT
V.x264-IMMERSE.srt/apikey/BB442E7744E9B541/',
'releasegrp': u'immerse', 'source': u'hdtv', 'codec': u'h264',
'originalFileLocationOnDisk': u'/media/usenet/TV/Anger Management/Season
1/Anger Management - S01E08 - 720p HDTV x264-IMMERSE.mkv', 'downlang': 'nl',
'destinationFileLocationOnDisk': u'/media/usenet/TV/Anger Management/Season
1/Anger Management - S01E08 - 720p HDTV x264-IMMERSE.srt',
'quality': u'720p'},
012-08-10 18:33:09,825 DEBUG checking what WAS in THE downloadqueue
downloadsubs.py file
{'lang': [], 'episode': u'08', 'title': u'Anger Management',
'season': u'01', 'downloadLink':
u'http://www.bierdopje.com/downloads/sub/100594/Anger.Management.S01E08.720p.HDT
V.x264-IMMERSE/apikey/BB442E7744E9B541',
'releasegrp': u'immerse', 'source': u'hdtv', 'codec': u'h264',
'originalFileLocationOnDisk': u'/media/usenet/TV/Anger Management/Season
1/Anger Management - S01E08 - 720p HDTV x264-IMMERSE.mkv', 'downlang': 'nl',
'destinationFileLocationOnDisk': u'/media/usenet/TV/Anger Management/Season
1/Anger Management - S01E08 - 720p HDTV x264-IMMERSE.srt',
'quality': u'720p'}]
So, one of the issues is that after the RSS check the download is not directly
started causing a duplicate sub to be added to the downloadqueue.
Original comment by aroundmyroom
on 10 Aug 2012 at 5:25
Denk dat ik er wel uit ben ..
Ik heb voor het debuggen de API even erg opgehoogd om zo even geen problemen te
hebben.
En wat zie ik: gewoon na de RSS check komt de downloadsubs script in actie, dus
geen issue met geen beschikbare API, dus dat betekent dat de bug de volgende is:
wanneer er geen API calls meer zijn en er zijn tijdens de RSS check (of bijv.
de normale scan) wel nieuwe subs gevonden, dan zullen deze gevraagde subs in de
downloadqueue blijven zitten. Echter wanneer dan de API weer gereset wordt en
er een nieuwe scan volgt (RSS of download) dan worden de gevraagde subs gewoon
extra in de downloadqueue gezet.
Wat er zou moeten gebeuren is dat wanneer de API calls op zijn, de
downloadqueue leeggemaakt moet worden en wanneer er weer API calls beschikbaar
zijn dan kunnen ze gewoon weer gedownload worden alvorens verwijderd.
Of je gaat checken wat er al in de dowloadqueue staat en als er iets nieuws bij
moet komen dan zorg je ervoor dat er geen duplicaat mag zijn.
Ik hou eea nog in de gaten dit weekend om te zien of dit juist is. (ophogen API
calls kan ook maar dat wil je denk ik niet).
Original comment by aroundmyroom
on 11 Aug 2012 at 7:23
Mee eens, voor me zelf:
Leeg download queue wanneer er geen API calls zijn.
Original comment by romke.va...@gmail.com
on 30 Aug 2012 at 7:48
Original comment by romke.va...@gmail.com
on 30 Aug 2012 at 7:48
Original comment by romke.va...@gmail.com
on 4 Oct 2012 at 1:43
Original issue reported on code.google.com by
aroundmyroom
on 5 Aug 2012 at 5:16