Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
gregoo
Posts: 2
Joined: Fri Jan 12, 2024 5:04 pm

Opensubtitles in Enigma2

Fri Jan 12, 2024 5:07 pm

Hi, used always opensubtitles in my enigma2 devices without problems. since a week I get error messages "invalid subtitles format". I would like to make it work and of course i would pay but how to start with it? i dont have an option to login in my enigma2 device to opensubtitles...

would love if someone could help out!

User avatar
oss
Site Admin
Posts: 5923
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Opensubtitles in Enigma2

Sat Jan 13, 2024 10:03 pm

the best would be contact enigma guys. In short, we need request, response, urls, status codes - something like debug log.
if enigma is using old api, then we contacted all app developers long time ago couple of times about upcoming changes.

fordpause
Posts: 1
Joined: Wed Jan 17, 2024 1:18 pm
Contact: Website

Re: Opensubtitles in Enigma2

Wed Jan 17, 2024 1:21 pm

the best would be contact enigma guys. In short, we need request, response, urls, status codes - something like debug log.
if enigma is using old api, then we contacted all app developers long time ago couple of times about upcoming changes.
well. Hope to receive good news as soon as possible in the future

User avatar
oss
Site Admin
Posts: 5923
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Opensubtitles in Enigma2

Wed Jan 17, 2024 2:00 pm

everybody who want subtitles on enigma2 have to contact them about this issue. We are not doing any action from our side.

gregoo
Posts: 2
Joined: Fri Jan 12, 2024 5:04 pm

Re: Opensubtitles in Enigma2

Fri Jan 19, 2024 12:04 am

I contacted some guys who are working for E2 devices but did not get any reply for now... So still waiting for something.

There is a log from one member, see here:

recieved options: {u'search': {u'episode': u'', u'filepath': None, u'season': u'', u'providers': [u'subscene', u'podnapisi', u'titlovi.com'], u'year': u'', u'timeout': 10.0, u'tvshow': u'', u'title': u'The Crusades', u'langs': [u'tr', u'en', u'de']}, u'settings': {u'itasa': {u'ITuser': u'', u'enabled': True, u'ITpass': u''}, u'titulky.com': {u'Titulkypass': u'', u'Titulkyuser': u'', u'enabled': True}, u'titlovi.com': {u'enabled': True}, u'edna.cz': {u'enabled': True}, u'subtitles.gr': {u'enabled': True}, u'opensubtitles': {u'enabled': False, u'user_agent': u'subssupportuseragent'}, u'subscene': {u'enabled': True}, u'serialzone.cz': {u'enabled': True}, u'podnapisi': {u'PNuser': u'', u'enabled': True, u'PNmatch': u'false', u'PNpass': u''}}}
[SubsSeeker][info] getting subtitles list - title: The Crusades, filepath: None, year: , tvshow: , season: , episode:
[SubsceneSeeker][info] search - title: The Crusades, filepath: None, langs: [u'tr', u'en', u'de'], season: , episode: , tvshow: , year:
[SubsceneSeeker][info] using langs Turkish English German
[PodnapisiSeeker][info] search - title: The Crusades, filepath: None, langs: [u'tr', u'en', u'de'], season: , episode: , tvshow: , year:
[PodnapisiSeeker][info] using langs Turkish English German
[TitloviSeeker][info] search - title: The Crusades, filepath: None, langs: [u'tr', u'en', u'de'], season: , episode: , tvshow: , year:
[TitloviSeeker][info] this language is not supported by this provider - "Turkish"!
[TitloviSeeker][info] this language is not supported by this provider - "German"!
[TitloviSeeker][info] using langs English English English
[TitloviSeeker][error] unknown search error occured: undefined entity: line 69, column 48
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seek.py", line 305, in _searchSubtitles
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/lates ... l-warnings
InsecureRequestWarning,
subtitles = seeker.search(title, filepath, langs, season, episode, tvshow, year)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seekers/seeker.py", line 146, in search
raise err
SubtitlesSearchError: titlovi.com - undefined entity: line 69, column 48
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 754, in run
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seek.py", line 311, in _searchSubtitles
updateCB(seeker.id, False, e)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/searchsubs.py", line 52, in updateCB
send(Messages.MESSAGE_UPDATE_CALLBACK, args)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/searchsubs.py", line 27, in send
dump = json.dumps({'message': mtype, 'value': m})
File "/usr/lib/python2.7/json/__init__.py", line 244, in dumps
File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
File "/usr/lib/python2.7/json/encoder.py", line 184, in default
TypeError: SubtitlesSearchError() is not JSON serializable

res.status_code 403
('Download error', '403 Client Error: Forbidden for url: https://subscene.com/subtitles/searchby ... rusades&l=')
true url https://subscene.com/subtitles/The%2BCrusades
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/lates ... l-warnings
InsecureRequestWarning,
res.status_code 403
('Download error', '403 Client Error: Forbidden for url: https://subscene.com/subtitles/The%2BCrusades')
content
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seek.py", line 305, in _searchSubtitles
subtitles = seeker.search(title, filepath, langs, season, episode, tvshow, year)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seekers/seeker.py", line 158, in search
self.log.info("search finished, found %d subtitles in %.2fs" % (len(subtitles['list']), subtitles['time']))
TypeError: object of type 'NoneType' has no len()
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/python2.7/threading.py", line 754, in run
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/seek.py", line 311, in _searchSubtitles
updateCB(seeker.id, False, e)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/searchsubs.py", line 52, in updateCB
send(Messages.MESSAGE_UPDATE_CALLBACK, args)
File "/usr/lib/enigma2/python/Plugins/Extensions/SubsSupport/searchsubs.py", line 27, in send
dump = json.dumps({'message': mtype, 'value': m})
File "/usr/lib/python2.7/json/__init__.py", line 244, in dumps
File "/usr/lib/python2.7/json/encoder.py", line 207, in encode
File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode
File "/usr/lib/python2.7/json/encoder.py", line 184, in default
TypeError: TypeError("object of type 'NoneType' has no len()",) is not JSON serializable

[PodnapisiSeeker][info] search finished, found 0 subtitles in 1.24s

User avatar
oss
Site Admin
Posts: 5923
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Opensubtitles in Enigma2

Wed Jan 31, 2024 6:34 pm

yeah as you can see, there is a lot of error. If I have contact directly to Enigma2 guys, maybe we can sort out something. Until then, it is impossible - they need to upgrade their script or have to pay for service.

If community member who use Enigma2 will crowdfund this feature is also possible.

Return to “Off-topic talk”

Who is online

Users browsing this forum: No registered users and 1 guest