• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 22
Release [service.subtitles.opensubtitles]
#91
Only manually search works! Anybody knows how to fix?
Reply
#92
It's not working anymore ... please fix this this is ALL XBMC !
Reply
#93
(2014-10-16, 16:53)tnuc Wrote: Remove temp/ folder from service.subtitles.opensubtitles

This only works once, then you have to do it again Sad
Reply
#94
+1 i've the same problem. opensubtitle can's search and podenapsi can search but not dowload
Reply
#95
same problem here, kodi beta 1
Reply
#96
I updated to latest nightly and the problem is gone.
There's no substitute for experience
Reply
#97
(2014-11-10, 00:06)bluechris Wrote: I updated to latest nightly and the problem is gone.

Just did that and the problem isn't fixed Sad
Reply
#98
(2014-11-10, 00:06)bluechris Wrote: I updated to latest nightly and the problem is gone.

Where did you the nightly of Opensubtitles?
Reply
#99
Not open subtitles nightly but kodi nightly.... you think is a coincidence? I will check again when i go home in a few hours guys.
There's no substitute for experience
Reply
I am a bit surprised that everybody got problems now with this add-on and Amet is not responding......give us some light here please
Reply
Ok no guys is not working for me either.. i dont get it.. i swear yesterday i watched a movie and worked...
There's no substitute for experience
Reply
Becouse (at least for me) opensubtitles works fine with movies on the hard drive, but there is an error when I try to use it with Genesis addon. Didn't try with different video addons. Can you confirm?

Btw. Hi guys. I'm new here Smile
Reply
Hi, I may have a quick fix for this, totally unofficial and only slightly tested... (backup the original file, please)

Edit the file .xbmc/addons/service.subtitles.opensubtitles/resources/lib/OSUtilities.py
Where you see:
Code:
if item['mansearch']:
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
      else:
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
    else:
      searchlist = [{'sublanguageid':",".join(item['3let_language']),
                     'query'        :OS_search_string
                       }]
            search = self.server.SearchSubtitles( self.osdb_token, searchlist )
            if search["data"]:
            return search["data"]
replace with:
Code:
if item['mansearch']:
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
      else:
        try:
            search = self.server.SearchSubtitles( self.osdb_token, searchlist )
            if search["data"]:
            return search["data"]
        except: pass
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
Be mindful of spaces/tabs, since python is very particular about it (it seems to be mostly 2 spaces indentation, but there are some tabs in the mix).

Basically, it's just wrapping the SearchSubtitles() call in the "else" in a "try: except". I guess the service now throws an exception whereas it did not before?
I honestly haven't looked at anything else, I just wanted the damn subtitles to work!

It seems to be working in plugins (like icefilms) as well as local files.

I apologize in advance if anyone manages to break something trying to follow these directions...
Reply
(2014-11-10, 22:50)misa Wrote: I am a bit surprised that everybody got problems now with this add-on and Amet is not responding......give us some light here please

http://forum.kodi.tv/showthread.php?tid=...pid1832038

Debug Log maybe? If it can't be reproduced it can't be fixed.

Edit: looks like other addons have same issues http://forum.kodi.tv/showthread.php?tid=193829
Reply
(2014-11-11, 01:43)pedror Wrote: Hi, I may have a quick fix for this, totally unofficial and only slightly tested... (backup the original file, please)

Edit the file .xbmc/addons/service.subtitles.opensubtitles/resources/lib/OSUtilities.py
Where you see:
Code:
if item['mansearch']:
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
      else:
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
    else:
      searchlist = [{'sublanguageid':",".join(item['3let_language']),
                     'query'        :OS_search_string
                       }]
            search = self.server.SearchSubtitles( self.osdb_token, searchlist )
            if search["data"]:
            return search["data"]
replace with:
Code:
if item['mansearch']:
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
      else:
        try:
            search = self.server.SearchSubtitles( self.osdb_token, searchlist )
            if search["data"]:
            return search["data"]
        except: pass
          searchlist = [{'sublanguageid':",".join(item['3let_language']),
                       'query'        :OS_search_string
                     }]
          search = self.server.SearchSubtitles( self.osdb_token, searchlist )
          if search["data"]:
          return search["data"]
Be mindful of spaces/tabs, since python is very particular about it (it seems to be mostly 2 spaces indentation, but there are some tabs in the mix).

Basically, it's just wrapping the SearchSubtitles() call in the "else" in a "try: except". I guess the service now throws an exception whereas it did not before?
I honestly haven't looked at anything else, I just wanted the damn subtitles to work!

It seems to be working in plugins (like icefilms) as well as local files.

I apologize in advance if anyone manages to break something trying to follow these directions...

I couldn't find this line.
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 22

Logout Mark Read Team Forum Stats Members Help
[service.subtitles.opensubtitles]2