Closed cellentano closed 3 years ago
@athoik Now the issue is as cellentano mentioned (nothing can be download it)
Not an issue with quote..
from twisted.web.client import getPage
from twisted.internet import reactor
from urllib2 import quote
queryString = "DARK SKIES"
url = "http://www.opensubtitles.org/libs/suggest.php?format=json2&SubLanguageID=null&MovieName=" + quote(queryString)
def print_and_stop(output):
print output
if reactor.running:
reactor.stop()
if __name__ == '__main__':
print 'fetching', url
d = getPage(url)
d.addCallback(print_and_stop)
reactor.run()
fetching http://www.opensubtitles.org/libs/suggest.php?format=json2&SubLanguageID=null&MovieName=DARK%20SKIES
{"result":[{"name":"Dark Skies","year":"2013","total":"140","id":148758},{"name":"Dark Skies","year":"1996","total":"100","id":45997}]}
It is ok ... The problem not from plugin .. from (Subtitles download path) should be in correct path .. . .
root@dm920:~# ls /ba/ddsubt The.lord.of.the.rings.the.fellowp.of.the.ring.2001.1080p.bluray.srt
So no problem in plugin works just fine ... Thank you
But need to update some Prefered site such as (Subscene, subtitles GR)
There is no problem to search for subtitles. But some of them can be downloaded and open, some of them gives error. My download folder is /tmp/ and it doesnt contain subtitles files.
btw, I tried it on 3 different receivers with same result
The best way use your save file on usb or hdd .. Create new folder on usb or hdd and from plugin settings select and set the new path ... Then try again ... /tmp directory on some image some time have some problem ...
Changed to hdd and also temporary folder and same result.
remove it .. reboot device and install again .. On my DM920 works just fine only two Preferred doesn't work (Subscene, subtitles GR).
Did as first step. No success. Maybe it is related to titulky.com and OpenSubtitles.
Vyhladavanie titulkov funguje, ale vacsina sa neda stiahnut - "not enough arguments for format string". Problem je na Titulky.com aj Opensubtitles. subssupport.log