[PP-Script / Scan-Script] Automatically Fetch Subtitles

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
Post Reply
kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by kloaknet » 16 Aug 2014, 16:00

result after a test:

Code: Select all

info	Sat Aug 16 2014 17:40:42	Unpausing download after post-process-script
info	Sat Aug 16 2014 17:40:42	Post-process-script Subliminal.py for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION skipped
warning	Sat Aug 16 2014 17:40:41	Subliminal: No subtitles were found.
info	Sat Aug 16 2014 17:40:41	Subliminal: Connected to SQLite Database
info	Sat Aug 16 2014 17:40:41	Subliminal: Connected to SQLite Database
info	Sat Aug 16 2014 17:40:41	Subliminal: Connected to SQLite Database
info	Sat Aug 16 2014 17:40:41	Subliminal: Connected to SQLite Database
info	Sat Aug 16 2014 17:40:32	Subliminal: Using the following providers: podnapisi, opensubtitles, addic7ed, thesubdb, tvsubtitles
info	Sat Aug 16 2014 17:40:32	Subliminal: Using advanced search mode
warning	Sat Aug 16 2014 17:40:32	Subliminal: NZBParse - Skipped; lxml is not installed
info	Sat Aug 16 2014 17:40:32	Subliminal: Script Mode: POSTPROCESS
info	Sat Aug 16 2014 17:40:25	Subliminal: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sat Aug 16 2014 17:40:25	Subliminal: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:25	Subliminal: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:25	Executing post-process-script Subliminal.py for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION
info	Sat Aug 16 2014 17:40:25	Post-process-script FailureLink.py for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION skipped
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	Executing post-process-script FailureLink.py for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION
info	Sat Aug 16 2014 17:40:22	Cleanup for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION successful
while I am 100% sure the subs are there, guess it is that lsml isnt installed

l2g
Posts: 228
Joined: 27 Jun 2014, 22:13
Contact:

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by l2g » 16 Aug 2014, 21:01

kloaknet wrote:bierdopje doesn't provide subs anymore, site stopped subtitle support some time ago.
Thank you for that, i took it out of the default options.

There is just a few things that caught me off guard with your next post...
  • The constant re-establishing connections to the SQLite Database.... soemthing doesn't seem right there... If you wouldn't mind, next time can you enable 'Debug' mode? There is a bit more output on that which would help out greatly!
  • The StrictParName, ReloadPostQueue, and ReloadUrlQueue warning messages that are getting spit out all the time. I can assure you that's not coming from Subliminal.py. Perhaps when you upgraded from the beta version to the stable (v13) there are some lingering variables left in your config file that NZBGet is just rejecting verbosely? It's probably just letting you know they're no longer needed? *shrugs*... But that has nothing to do with your issue :).
Finally, I spent the last hour and loaded a copy of Microsoft Windows into a Virtual machine so I could simulate what you guys were seeing. I was able to reproduce your problem to a 'T'. I failed to download subs 'every time' and as i suspected, there were a lot of silent internal errors taking place. They were a result of 1 missing package (chardet), and some python egg packages missing; specifically the entry_point.txt files that reside inside them which a few of the dependant packages needed.

Sorry to rant so much, but the point of all of this is... i made my copy of Subliminal.py work in windows and resubmitted all the code back to git.

One thing i notice is although it appears to work fine, it seems to be flagging everything as being hearing-impaired (although i only tested with 1 TV episode, so take this comment with a grain of salt). But please to post anything unusual you see and i'll do my best to rectify it.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by hugbug » 16 Aug 2014, 21:09

l2g wrote:The StrictParName, ReloadPostQueue, and ReloadUrlQueue warning messages that are getting spit out all the time.
Does the script executes nzbget? Looks like this.

l2g
Posts: 228
Joined: 27 Jun 2014, 22:13
Contact:

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by l2g » 16 Aug 2014, 21:36

hugbug wrote:Does the script executes nzbget? Looks like this.
I think it's a general bug or something being carried over from older configuration because if you check out his logs, it gets spit out for FailureLink.py too:
kloaknet wrote:

Code: Select all

<snip>
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	FailureLink: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sat Aug 16 2014 17:40:22	Executing post-process-script FailureLink.py for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION
info	Sat Aug 16 2014 17:40:22	Cleanup for Gang.Related.S01E13.720p.HDTV.X264-DIMENSION successful

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by kloaknet » 17 Aug 2014, 06:41

just with the NZBget 13.0 version I 'installed' yesterday: http://nzbget.net/forum/viewtopic.php?f ... 8826#p8822

Code: Select all

info	Sun Aug 17 2014 05:55:46	VideoSort: Moved: /share/Download/series/Hell on Wheels/Hell.on.Wheels.S04E03.720p.HDTV.x264-IMMERSE.mkv
info	Sun Aug 17 2014 05:55:41	VideoSort: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sun Aug 17 2014 05:55:41	VideoSort: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sun Aug 17 2014 05:55:41	VideoSort: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sun Aug 17 2014 05:55:41	Executing post-process-script videosort/VideoSort.py for Hell.on.Wheels.S04E03.720p.HDTV.x264-IMMERSE
If I remember it correctly, there where more obsolete messages, but after saving the first time after install the messages disappeared.


EDIT: note that I restored the settings of a previous version with the feature in NZBget to restore old settings. Those settings were from 13.0-testing 963
Last edited by kloaknet on 17 Aug 2014, 07:12, edited 1 time in total.

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by kloaknet » 17 Aug 2014, 07:06

l2g wrote:[*]The constant re-establishing connections to the SQLite Database.... soemthing doesn't seem right there... If you wouldn't mind, next time can you enable 'Debug' mode? There is a bit more output on that which would help out greatly!
I actually turned that option directly on when going through the settings after installing nzbget again. :roll: there is nothing more in the webui or log file.
l2g wrote: Finally, I spent the last hour and loaded a copy of Microsoft Windows into a Virtual machine so I could simulate what you guys were seeing. I was able to reproduce your problem to a 'T'. I failed to download subs 'every time' and as i suspected, there were a lot of silent internal errors taking place. They were a result of 1 missing package (chardet), and some python egg packages missing; specifically the entry_point.txt files that reside inside them which a few of the dependant packages needed.
Using the update you made just some hours ago:

Code: Select all

info	Sun Aug 17 2014 08:59:06	Post-process-script Subliminal.py for Hell.on.Wheels.S04E03.720p.HDTV.x264-IMMERSE skipped
warning	Sun Aug 17 2014 08:59:04	Subliminal: No subtitles were found.
info	Sun Aug 17 2014 08:56:18	Subliminal: Connected to SQLite Database
info	Sun Aug 17 2014 08:56:10	Subliminal: Using the following providers: podnapisi, opensubtitles, addic7ed, thesubdb, tvsubtitles
info	Sun Aug 17 2014 08:56:10	Subliminal: Using advanced search mode
warning	Sun Aug 17 2014 08:56:10	Subliminal: NZBParse - Skipped; lxml is not installed
info	Sun Aug 17 2014 08:56:10	Subliminal: Script Mode: POSTPROCESS
warning	Sun Aug 17 2014 08:56:03	Subliminal: Fixing permissions for /share/Apps/NZBget/ppscripts/Subliminal.py
info	Sun Aug 17 2014 08:56:03	Subliminal: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sun Aug 17 2014 08:56:03	Subliminal: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sun Aug 17 2014 08:56:03	Subliminal: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sun Aug 17 2014 08:56:03	Executing post-process-script Subliminal.py for Hell.on.Wheels.S04E03.720p.HDTV.x264-IMMERSE
note the much longer time it took to get to the conclusion no subs were found, although the subs are there on addic7ed. The above is with the debug logging ON in subliminal

turned the debug logging OFF, and the message that no subs were found was returned within 10 sec. Turned it on ON again, same result, and NO extensive logging.


Ow and don't worry if I write down it doesn't work or whatever, I am happy to test the stuff and be a bit annoying :roll: From all what I have seen about the work you did for this I wouldn't have figured it out myself so I appreciate the stuff you are doing ;)

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by kloaknet » 17 Aug 2014, 07:34

Got a successful hit on a test:

Code: Select all

info	Sun Aug 17 2014 09:27:35	Collection Suits.S04E09.480p.HDTV.x264-REenCO added to history
info	Sun Aug 17 2014 09:27:35	Cleaning up download queue for Suits.S04E09.480p.HDTV.x264-REenCO
info	Sun Aug 17 2014 09:27:35	Unpausing download after post-process-script
info	Sun Aug 17 2014 09:27:34	Post-process-script Subliminal.py for Suits.S04E09.480p.HDTV.x264-REenCO successful
info	Sun Aug 17 2014 09:27:34	Subliminal: Successfully retrieved Suits.S04E09.480p.HDTV.x264-REenCO.srt
info	Sun Aug 17 2014 09:27:34	Subliminal: Matched 2 possible subtitle(s) for Suits.S04E09.480p.HDTV.x264-REenCO.mp4
info	Sun Aug 17 2014 09:25:15	Subliminal: Connected to SQLite Database
info	Sun Aug 17 2014 09:25:08	Subliminal: Using the following providers: podnapisi, opensubtitles, addic7ed, thesubdb, tvsubtitles
info	Sun Aug 17 2014 09:25:08	Subliminal: Using advanced search mode
warning	Sun Aug 17 2014 09:25:08	Subliminal: NZBParse - Skipped; lxml is not installed
info	Sun Aug 17 2014 09:25:08	Subliminal: Script Mode: POSTPROCESS
info	Sun Aug 17 2014 09:25:02	Subliminal: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Sun Aug 17 2014 09:25:02	Subliminal: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Sun Aug 17 2014 09:25:02	Subliminal: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Sun Aug 17 2014 09:25:02	Executing post-process-script Subliminal.py for Suits.S04E09.480p.HDTV.x264-REenCO
So maybe the script doesn't get results from addic7ed? Maybe it is an option to know from which provider the subs came?

Note that I could not find the sub anywhere on the device, and it was the only PPscript running.

l2g
Posts: 228
Joined: 27 Jun 2014, 22:13
Contact:

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by l2g » 17 Aug 2014, 14:02

kloaknet wrote:Got a successful hit on a test
Thats the output i've been getting all the time... but now you've got me scratching my head on the missed ones... Just for shits and giggles, for the ones that fail (that your quite confident have subs), can you turn on the hearing impaired option and try again?

I might have to patch subliminal (itself) again. I've found a few cases where i KNOW there are subs, but they are being flagged as being for hearing impaired and didn't download until i said so. But that switch has a downside too... if it finds subs that are not configured for hearing-impaired, and the swtich is on, then they're skipped. I'm thinking a patch to subliminal to just disreguard the switch complete in exclusive scenarios, however if both types are detected, honor the one of choice... Sound good? I can't confirm this is the bug though... Again, please test the failing ones with the hearing impaired switch.
kloaknet wrote:So maybe the script doesn't get results from addic7ed? Maybe it is an option to know from which provider the subs came?
I'll investigate this comment further and see if that is the case. What was suposed to be just a wrapper to submlininal got so drastically complicated with all the dependencies and crazy things it does. :) I should have started with a more basic script, hehe
kloaknet wrote:Note that I could not find the sub anywhere on the device, and it was the only PPscript running.
I've had similar experiences and it was related to the great work VideoSort.py does. Make sure you add .srt to the satellite extensions of it's internal configuration. That is suposed to make it move the .srt files with the show.

Also... to save yourself bandwidth, you don't need to tag a show each time you want subs... The scheduler can auto-search for you (*sighs, unless i got more bugs there), but more importantly, you can run this from your command line:

Code: Select all

# python in front if your in windows, otherwise ./Subliminal.py is fine
python Subliminal.py -f -S path/to/your/file.mkv

# consider adding a -i to test the hearing-impaired bug i ``think`` is plaguing us right now.
I'm a bit confused why the Debug switch is having no bearing whether it's set or not.... the extra logging would REALLY help me out right now... probably another bug (i'm getting used to that now) :? . I'm going to tackle that first.
Aug 17th, 2014 2:10EST EDIT:
kloaknet: Debug Logging in pynzbget has been partially perfected! :).. Please fetch the latest Subliminal and stick with plan 'A'. I'd like to see your output with debug logging in place.

kloaknet
Posts: 337
Joined: 23 Jul 2014, 08:52

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by kloaknet » 18 Aug 2014, 14:22

didn't enable subliminal, so I did a repostprocess thingy just after updating it, no corresponding subs to be found anywhere on the device:

Code: Select all

info	Mon Aug 18 2014 16:03:01	Collection Under.the.Dome.S02E07.480p.HDTV.x264-REenCO added to history
info	Mon Aug 18 2014 16:03:01	Unpausing download after post-process-script
info	Mon Aug 18 2014 16:03:01	Post-process-script Subliminal.py for Under.the.Dome.S02E07.480p.HDTV.x264-REenCO successful
info	Mon Aug 18 2014 16:03:00	Subliminal: [DEBUG] Countermeasures performed - removing extra sub: Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:03:00	Subliminal: Successfully retrieved Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:03:00	Subliminal: [DEBUG] Subtitle found at: <OpenSubtitlesSubtitle [en]>
info	Mon Aug 18 2014 16:03:00	Subliminal: [DEBUG] Subtitle found at: <TVsubtitlesSubtitle [en]>
info	Mon Aug 18 2014 16:03:00	Subliminal: Matched 2 possible subtitle(s) for Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] nzb_get(default) MOREINFO=""
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] nzb_get(default) MOVIEYEAR=""
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] nzb_get(default) EPISODENAME=""
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] nzb_get(default) PROPERNAME=""
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] Opened connection to SQLite Database: /share/Apps/NZBget/.nzbget/tmp/nzbget/nzbget.db
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] Type: series
info	Mon Aug 18 2014 16:02:15	Subliminal: }
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "type": "episode"
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "season": 2,
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "releaseGroup": "REenCO",
info	Mon Aug 18 2014 16:02:15	Subliminal: [0.50] "title": "480p",
info	Mon Aug 18 2014 16:02:15	Subliminal: [0.70] "series": "Under the Dome",
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "format": "HDTV",
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "container": "mp4",
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "videoCodec": "h264",
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "episodeNumber": 7,
info	Mon Aug 18 2014 16:02:15	Subliminal: [1.00] "mimetype": "video/mp4",
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'container': u'mp4'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'mimetype': u'video/mp4', u'container': u'mp4'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'releaseGroup': u'REenCO'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'videoCodec': u'h264'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'format': u'HDTV'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'title': u'480p'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'season': 2, u'episodeNumber': 7}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'series': u'Under the Dome'}
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] {u'type': u'episode'}
info	Mon Aug 18 2014 16:02:15	Subliminal: Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:02:15	Subliminal: TTTTTTTTTTTTTTTEEEEEEttttttffff vvvv rrrrrr ccc
info	Mon Aug 18 2014 16:02:15	Subliminal: _______________________________.____-______.___
info	Mon Aug 18 2014 16:02:15	Subliminal: 0111111
info	Mon Aug 18 2014 16:02:15	Subliminal: 000000000000000111111222222 011112222222
info	Mon Aug 18 2014 16:02:15	Subliminal: 0000000000000000000000000001111222222222222 000
info	Mon Aug 18 2014 16:02:15	Subliminal: 0000000000000000000000000000000000000000000 000
info	Mon Aug 18 2014 16:02:15	Subliminal: [DEBUG] 0000000000000000000000000000000000000000000 111
info	Mon Aug 18 2014 16:02:14	Subliminal: [DEBUG] Guessing using: Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:02:14	Subliminal: [DEBUG] Deobfuscate - split path: ['Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4']
info	Mon Aug 18 2014 16:02:14	Subliminal: [DEBUG] Deobfuscate - Stripped filename down to: Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:02:14	Subliminal: [DEBUG] get(config) TVCATEGORIES="tv, tv2"
info	Mon Aug 18 2014 16:02:07	Subliminal: [DEBUG] Scanning [advanced] using /share/Download/TV/Under.the.Dome.S02E07.480p.HDTV.x264-REenCO/Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4 lang=en
info	Mon Aug 18 2014 16:02:07	Subliminal: [DEBUG] Expecting Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:02:07	Subliminal: [DEBUG] get_files('/share/Download/TV/Under.the.Dome.S02E07.480p.HDTV.x264-REenCO') with 1 filter(s)
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) HEARINGIMPAIRED="no"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) LANGUAGES="en"
info	Mon Aug 18 2014 16:02:06	Subliminal: Using the following providers: podnapisi, opensubtitles, addic7ed, thesubdb, tvsubtitles
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) PROVIDERS="opensubtitles, tvsubtitles, podnapisi, addic7ed, thesubdb"
info	Mon Aug 18 2014 16:02:06	Subliminal: Using advanced search mode
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) SEARCHMODE="advanced"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) CACHEDIR="/share/Apps/NZBget/.nzbget/tmp/subliminal"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(system) TEMPDIR="/share/Apps/NZBget/.nzbget/tmp"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) OVERWRITE="no"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] Allowed Under.the.Dome.S02E07.480p.HDTV.x264-REenCO.mp4 (suffix)
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get_files('/share/Download/TV/Under.the.Dome.S02E07.480p.HDTV.x264-REenCO') with 11 filter(s)
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) SINGLE="yes"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(config) VIDEOEXTENSIONS=".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso"
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get(system) NZBID="81"
warning	Mon Aug 18 2014 16:02:06	Subliminal: NZBParse - Skipped; lxml is not installed
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] get_files('/opt/sybhttpd/localhost.drives/SATA_DISK/.nzb/tmp') with 1 filter(s)
info	Mon Aug 18 2014 16:02:06	Subliminal: Script Mode: POSTPROCESS
info	Mon Aug 18 2014 16:02:06	Subliminal: [DEBUG] Detecting possible script mode from: scheduler, postprocess
warning	Mon Aug 18 2014 16:01:59	Subliminal: Fixing permissions for /share/Apps/NZBget/ppscripts/Subliminal.py
info	Mon Aug 18 2014 16:01:59	Subliminal: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Mon Aug 18 2014 16:01:59	Subliminal: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Mon Aug 18 2014 16:01:59	Subliminal: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Mon Aug 18 2014 16:01:59	Executing post-process-script Subliminal.py for Under.the.Dome.S02E07.480p.HDTV.x264-REenCO
info	Mon Aug 18 2014 16:01:59	Pausing download before post-process-script
info	Mon Aug 18 2014 16:01:58	Queueing Under.the.Dome.S02E07.480p.HDTV.x264-REenCO for post-processing
info	Mon Aug 18 2014 16:01:58	Under.the.Dome.S02E07.480p.HDTV.x264-REenCO returned from history back to download queue
next test, with the script on from the start of the download, also no subs anywhere on the device

Code: Select all

info	Mon Aug 18 2014 16:16:33	Collection The.Strain.S01E05.480p.HDTV.x264-REenCO added to history
info	Mon Aug 18 2014 16:16:33	Cleaning up download queue for The.Strain.S01E05.480p.HDTV.x264-REenCO
info	Mon Aug 18 2014 16:16:33	Unpausing download after post-process-script
info	Mon Aug 18 2014 16:16:32	Post-process-script Subliminal.py for The.Strain.S01E05.480p.HDTV.x264-REenCO successful
info	Mon Aug 18 2014 16:16:32	Subliminal: [DEBUG] Countermeasures performed - removing extra sub: The.Strain.S01E05.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:16:32	Subliminal: Successfully retrieved The.Strain.S01E05.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:16:32	Subliminal: [DEBUG] Subtitle found at: <PodnapisiSubtitle [en]>
info	Mon Aug 18 2014 16:16:32	Subliminal: [DEBUG] Subtitle found at: <PodnapisiSubtitle [en]>
info	Mon Aug 18 2014 16:16:32	Subliminal: Matched 2 possible subtitle(s) for The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] nzb_get(default) MOREINFO=""
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] nzb_get(default) MOVIEYEAR=""
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] nzb_get(default) EPISODENAME=""
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] nzb_get(default) PROPERNAME=""
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] Opened connection to SQLite Database: /share/Apps/NZBget/.nzbget/tmp/nzbget/nzbget.db
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] Type: series
info	Mon Aug 18 2014 16:13:43	Subliminal: }
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "type": "episode"
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "season": 1,
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "releaseGroup": "REenCO",
info	Mon Aug 18 2014 16:13:43	Subliminal: [0.50] "title": "480p",
info	Mon Aug 18 2014 16:13:43	Subliminal: [0.70] "series": "The Strain",
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "format": "HDTV",
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "container": "mp4",
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "videoCodec": "h264",
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "episodeNumber": 5,
info	Mon Aug 18 2014 16:13:43	Subliminal: [1.00] "mimetype": "video/mp4",
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'container': u'mp4'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'mimetype': u'video/mp4', u'container': u'mp4'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'releaseGroup': u'REenCO'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'videoCodec': u'h264'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'format': u'HDTV'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'title': u'480p'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'season': 1, u'episodeNumber': 5}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'series': u'The Strain'}
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] {u'type': u'episode'}
info	Mon Aug 18 2014 16:13:43	Subliminal: The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:13:43	Subliminal: TTTTTTTTTTTEEEEEEttttttffff vvvv rrrrrr ccc
info	Mon Aug 18 2014 16:13:43	Subliminal: ___________________________.____-______.___
info	Mon Aug 18 2014 16:13:43	Subliminal: 0111111
info	Mon Aug 18 2014 16:13:43	Subliminal: 00000000000111111222222 011112222222
info	Mon Aug 18 2014 16:13:43	Subliminal: 000000000000000000000001111222222222222 000
info	Mon Aug 18 2014 16:13:43	Subliminal: 000000000000000000000000000000000000000 000
info	Mon Aug 18 2014 16:13:43	Subliminal: [DEBUG] 000000000000000000000000000000000000000 111
info	Mon Aug 18 2014 16:13:42	Subliminal: [DEBUG] Guessing using: The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:13:42	Subliminal: [DEBUG] Deobfuscate - split path: ['The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4']
info	Mon Aug 18 2014 16:13:42	Subliminal: [DEBUG] Deobfuscate - Stripped filename down to: The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4
info	Mon Aug 18 2014 16:13:42	Subliminal: [DEBUG] get(config) TVCATEGORIES="tv, tv2"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] Scanning [advanced] using /share/Download/TV/The.Strain.S01E05.480p.HDTV.x264-REenCO/The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4 lang=en
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] Expecting The.Strain.S01E05.480p.HDTV.x264-REenCO.srt
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get_files('/share/Download/TV/The.Strain.S01E05.480p.HDTV.x264-REenCO') with 1 filter(s)
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) HEARINGIMPAIRED="no"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) LANGUAGES="en"
info	Mon Aug 18 2014 16:13:35	Subliminal: Using the following providers: podnapisi, opensubtitles, addic7ed, thesubdb, tvsubtitles
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) PROVIDERS="opensubtitles, tvsubtitles, podnapisi, addic7ed, thesubdb"
info	Mon Aug 18 2014 16:13:35	Subliminal: Using advanced search mode
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) SEARCHMODE="advanced"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) CACHEDIR="/share/Apps/NZBget/.nzbget/tmp/subliminal"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(system) TEMPDIR="/share/Apps/NZBget/.nzbget/tmp"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) OVERWRITE="no"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] Allowed The.Strain.S01E05.480p.HDTV.x264-REenCO.mp4 (suffix)
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get_files('/share/Download/TV/The.Strain.S01E05.480p.HDTV.x264-REenCO') with 11 filter(s)
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) SINGLE="yes"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(config) VIDEOEXTENSIONS=".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso"
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get(system) NZBID="83"
warning	Mon Aug 18 2014 16:13:35	Subliminal: NZBParse - Skipped; lxml is not installed
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] get_files('/opt/sybhttpd/localhost.drives/SATA_DISK/.nzb/tmp') with 1 filter(s)
info	Mon Aug 18 2014 16:13:35	Subliminal: Script Mode: POSTPROCESS
info	Mon Aug 18 2014 16:13:35	Subliminal: [DEBUG] Detecting possible script mode from: scheduler, postprocess
info	Mon Aug 18 2014 16:13:27	Subliminal: nzbget.conf(914): Option "StrictParName" is obsolete, ignored
info	Mon Aug 18 2014 16:13:27	Subliminal: nzbget.conf(488): Option "ReloadPostQueue" is obsolete, ignored
info	Mon Aug 18 2014 16:13:27	Subliminal: nzbget.conf(482): Option "ReloadUrlQueue" is obsolete, ignored
info	Mon Aug 18 2014 16:13:27	Executing post-process-script Subliminal.py for The.Strain.S01E05.480p.HDTV.x264-REenCO
note that I still have HI off for the moment, no time for more tests atm.

note that I run NZBGet on a Linux based OS for the PCH C200

l2g
Posts: 228
Joined: 27 Jun 2014, 22:13
Contact:

Re: [PP-Script] Subliminal - Subtitles, faster than your tho

Post by l2g » 18 Aug 2014, 15:45

This line here is key to your problem (and mine):

Code: Select all

info   Mon Aug 18 2014 16:16:32   Subliminal: [DEBUG] Countermeasures performed - removing extra sub: The.Strain.S01E05.480p.HDTV.x264-REenCO.srt
The logs do show you fetching the content from the matched providers which is great! Just the fact the countermeasurs were being invoked means it located the SRT on your system! The problem was that the countermeasures kick in when a duplicate .srt is detected (which isn't the case for you). It would appear the countermeasures are removing the subtitle just retrieved. :? oops...

Also, from your debug logs, it would almost seem that your right in your assumption that addi7ted isn't being queried at all. I'll have to see what's up with that one. It might have to do with lxml not being installed on your system (also shown in your logs):

Code: Select all

warning   Mon Aug 18 2014 16:13:35   Subliminal: NZBParse - Skipped; lxml is not installed
I know for sure that some of the subtitle fetches require XML parsing, and subliminal just simply (gracefully) bypasses the ones it can't parse using it. It's possible addi7ted is one of these; I can't confirm this one yet though. I'll dig, the good news is, you're 99% there. fetch the latest Subliminal.py (without countermeasuers in place) and see if that helps you out.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests