I don't know if it's just me, but I never get any hits from the opensubtitle provider although there are suitable subtitles found on the website itself. Other providers work fine btw.
Code: Select all
admin@NAS:/volume1/.@plugins/AppCentral/nzbget/nzbget/scripts $ ./Subliminal.py -f -l nl -k -p opensubtitles -D -S /volume1/Series/Lucifer/Season\ 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG\[rarbg\].mkv
[INFO] [DEBUG] Script mode forced off.
2016-03-20 02:10:49,653 - 27428 - DEBUG - set(config) SKIPEMBEDDED="True"
2016-03-20 02:10:49,653 - 27428 - DEBUG - set(environment) SKIPEMBEDDED="1"
2016-03-20 02:10:49,654 - 27428 - DEBUG - set(config) FORCE="True"
2016-03-20 02:10:49,654 - 27428 - DEBUG - set(environment) FORCE="1"
2016-03-20 02:10:49,655 - 27428 - DEBUG - set(config) PROVIDERS="opensubtitles"
2016-03-20 02:10:49,655 - 27428 - DEBUG - set(environment) PROVIDERS="opensubtitles"
2016-03-20 02:10:49,656 - 27428 - DEBUG - set(config) LANGUAGES="nl"
2016-03-20 02:10:49,656 - 27428 - DEBUG - set(environment) LANGUAGES="nl"
2016-03-20 02:10:49,657 - 27428 - DEBUG - get(default) SCANDIRECTORIES=None
2016-03-20 02:10:49,657 - 27428 - DEBUG - set(config) MAXAGE="24"
2016-03-20 02:10:49,657 - 27428 - DEBUG - set(environment) MAXAGE="24"
2016-03-20 02:10:49,658 - 27428 - DEBUG - set(config) MINSIZE="150"
2016-03-20 02:10:49,658 - 27428 - DEBUG - set(environment) MINSIZE="150"
2016-03-20 02:10:49,659 - 27428 - DEBUG - set(config) MINSCORE="20"
2016-03-20 02:10:49,659 - 27428 - DEBUG - set(environment) MINSCORE="20"
2016-03-20 02:10:49,660 - 27428 - DEBUG - set(config) SYSTEMENCODING="UTF-8"
2016-03-20 02:10:49,660 - 27428 - DEBUG - set(environment) SYSTEMENCODING="UTF-8"
2016-03-20 02:10:49,661 - 27428 - DEBUG - set(config) FETCHMODE="BestScore"
2016-03-20 02:10:49,661 - 27428 - DEBUG - set(environment) FETCHMODE="BestScore"
2016-03-20 02:10:49,662 - 27428 - DEBUG - set(config) VIDEOEXTENSIONS=".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso"
2016-03-20 02:10:49,662 - 27428 - DEBUG - set(environment) VIDEOEXTENSIONS=".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso"
2016-03-20 02:10:49,663 - 27428 - DEBUG - set(config) SCANDIRECTORIES="/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv"
2016-03-20 02:10:49,663 - 27428 - DEBUG - set(environment) SCANDIRECTORIES="/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv"
2016-03-20 02:10:49,664 - 27428 - DEBUG - get(config) SCANDIRECTORIES="/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv"
2016-03-20 02:10:49,664 - 27428 - DEBUG - get(config) VIDEOEXTENSIONS=".mkv,.avi,.divx,.xvid,.mov,.wmv,.mp4,.mpg,.mpeg,.vob,.iso"
2016-03-20 02:10:49,665 - 27428 - DEBUG - get(config) MAXAGE="24"
2016-03-20 02:10:49,665 - 27428 - DEBUG - get(config) MINSIZE="150"
2016-03-20 02:10:49,666 - 27428 - DEBUG - get(config) FORCE="True"
2016-03-20 02:10:49,666 - 27428 - DEBUG - get(config) SCANDIRECTORIES="/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv"
2016-03-20 02:10:49,675 - 27428 - DEBUG - get(default) XREFPATHS=None
2016-03-20 02:10:49,675 - 27428 - DEBUG - get(default) SINGLE="False"
2016-03-20 02:10:49,677 - 27428 - DEBUG - get_files('/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv') with 11 filter(s)
2016-03-20 02:10:49,678 - 27428 - DEBUG - Allowed Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv (suffix)
2016-03-20 02:10:49,678 - 27428 - INFO - Found 1 matched file(s).
2016-03-20 02:10:49,679 - 27428 - DEBUG - Scanning "/volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv" (1684.88 MB)
2016-03-20 02:10:49,679 - 27428 - DEBUG - get(system) TEMPDIR="/tmp/nzbget-admin"
2016-03-20 02:10:49,680 - 27428 - DEBUG - get(default) CACHEDIR="/tmp/nzbget-admin"
2016-03-20 02:10:49,680 - 27428 - DEBUG - get(default) FORCEENCODING="None"
2016-03-20 02:10:49,681 - 27428 - DEBUG - get(config) MINSCORE="20"
2016-03-20 02:10:49,681 - 27428 - DEBUG - get(config) SKIPEMBEDDED="True"
2016-03-20 02:10:49,682 - 27428 - DEBUG - get(default) SEARCHMODE="advanced"
2016-03-20 02:10:49,682 - 27428 - INFO - Using advanced search mode
2016-03-20 02:10:49,683 - 27428 - DEBUG - get(default) MOVIEPROVIDERS=""
2016-03-20 02:10:49,683 - 27428 - DEBUG - get(config) PROVIDERS="opensubtitles"
2016-03-20 02:10:49,684 - 27428 - DEBUG - get(default) TVSHOWPROVIDERS=""
2016-03-20 02:10:49,684 - 27428 - DEBUG - get(config) PROVIDERS="opensubtitles"
2016-03-20 02:10:49,685 - 27428 - DEBUG - Using the following movie providers: opensubtitles
2016-03-20 02:10:49,685 - 27428 - DEBUG - Using the following tv show providers: opensubtitles
2016-03-20 02:10:49,686 - 27428 - DEBUG - get(config) LANGUAGES="nl"
2016-03-20 02:10:49,686 - 27428 - DEBUG - get(config) FETCHMODE="BestScore"
2016-03-20 02:10:49,687 - 27428 - DEBUG - Fetch Mode: BestScore
2016-03-20 02:10:49,763 - 27428 - DEBUG - get(config) SYSTEMENCODING="UTF-8"
2016-03-20 02:10:49,808 - 27428 - DEBUG - get_files('/volume1/Series/Lucifer/Season 1') with 1 filter(s)
2016-03-20 02:10:49,812 - 27428 - DEBUG - Scanning [advanced] using /volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv lang=nl
2016-03-20 02:10:49,813 - 27428 - DEBUG - get(default) TVCATEGORIES="[]"
2016-03-20 02:10:49,814 - 27428 - DEBUG - Guessing using: /volume1/Series/Lucifer/Season 1/Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv
2016-03-20 02:10:51,320 - 27428 - DEBUG - Type: series
2016-03-20 02:10:51,321 - 27428 - INFO - Scanning video 'Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv' in '/volume1/Series/Lucifer/Season 1'
2016-03-20 02:10:51,322 - 27428 - DEBUG - Size is 1766728682
2016-03-20 02:10:51,455 - 27428 - DEBUG - Computed hashes {u'opensubtitles': u'8c049c7ee8922ffc', u'thesubdb': u'360d5d02b0c34b3b0dfb97b93995d469'}
2016-03-20 02:10:51,456 - 27428 - DEBUG - Found subtitles set([])
2016-03-20 02:10:51,588 - 27428 - DEBUG - Found video_codec h264 with enzyme
2016-03-20 02:10:51,589 - 27428 - DEBUG - Found audio_codec AC3 with enzyme
2016-03-20 02:10:51,825 - 27428 - DEBUG - Skipping provider 'thesubdb': not in the list
2016-03-20 02:10:51,827 - 27428 - DEBUG - Skipping provider 'podnapisi': not in the list
2016-03-20 02:10:51,828 - 27428 - DEBUG - Skipping provider 'addic7ed': not in the list
2016-03-20 02:10:51,830 - 27428 - DEBUG - Skipping provider 'tvsubtitles': not in the list
2016-03-20 02:10:51,831 - 27428 - INFO - Listing subtitles with provider 'opensubtitles' for video <Episode [u'Lucifer', 1x8]> with languages set([<Language [nl]>])
2016-03-20 02:10:51,833 - 27428 - DEBUG - Searching subtitles [{u'moviebytesize': '1766728682', u'sublanguageid': u'dut', u'moviehash': u'8c049c7ee8922ffc'}]
2016-03-20 02:10:51,890 - 27428 - DEBUG - No subtitle found
2016-03-20 02:10:51,891 - 27428 - INFO - Found 0 subtitle(s) on opensubtitles
2016-03-20 02:10:51,946 - 27428 - WARNING - No subtitles were found for Lucifer.S01E08.1080p.WEB-DL.DD5.1.H264-RARBG[rarbg].mkv
edit: I came to the conclusion that in my case it is probably better to just use the subliminal package direcly on my NAS and use a cronjob for full automation instead of doing it through nzbget. Since I'm really a Linux novice I tried to find the easiest solution for subtitle automation, but after i saw that your script didn't work the way I wanted I had to find another solution. I got subliminal to work now on my asustor NAS and learned a lot more about Linux in the process so I thank you for that!