Kodi Community Forum
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143)
+---- Thread: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437)



- amet - 2010-10-31

okay, the issue with crashing Addon while searching on Podnapisi and OpenSubtitles is due to the hash function hanging on smb:// paths

since the function works with smb:// on Win and OSX and fails on some linux systems I will leave it in there as is, if you are having issues with those two services crashing the addon, please select "Disable hash search" in addon settings.

Thanks rvrutten for testing!

Cheers,
Zeljko


- idioteque - 2010-10-31

I love the plugin,

Could it be possible to highlight the sub in the list that is the closest match to the filename ?


- amet - 2010-11-01

idioteque Wrote:I love the plugin,

Could it be possible to highlight the sub in the list that is the closest match to the filename ?

That's what the "sync" icon is for.


- mobious - 2010-11-02

Searching on podnapisi seems to be hit and miss these days, although the subtitles are obviously there on the site the script isn't finding them. Any idea as to why? The movie I am specifically referencing is Scott Pilgrim vs the world.


- amet - 2010-11-02

mobious Wrote:Searching on podnapisi seems to be hit and miss these days, although the subtitles are obviously there on the site the script isn't finding them. Any idea as to why? The movie I am specifically referencing is Scott Pilgrim vs the world.

log please


- mobious - 2010-11-02

Amet Wrote:log please

Will post as soon as I am back home. That was quite a quick reply Tongue


- mobious - 2010-11-02

Alright here is the log.

http://mysql.paste-bin.com/view/66a2250b


- deraaij - 2010-11-02

Amet,

Hi since the update the plugin isn't working anymore due to "Non-ASCII character ' see: http://paste.pocoo.org/show/285141/

After deleting line 162 (as a test) of script.xbmc.subtitles/resources/lib/utilities.py it works again.

Don't know if it's linux specific but maybe you can look at it.

Regards,

Mark


- Mithos - 2010-11-02

Is it possible to change somewhere so subtitles are downloaded and placed in:

<MOVIEFOLDER>\subs\moviesubs.en.srt
<MOVIEFOLDER>\subs\moviesubs.sv.srt

and so on?


- amet - 2010-11-02

Mithos Wrote:Is it possible to change somewhere so subtitles are downloaded and placed in:

<MOVIEFOLDER>\subs\moviesubs.en.srt
<MOVIEFOLDER>\subs\moviesubs.sv.srt

and so on?

Sure, will look into it


- amet - 2010-11-02

deraaij Wrote:Amet,

Hi since the update the plugin isn't working anymore due to "Non-ASCII character ' see: http://paste.pocoo.org/show/285141/

After deleting line 162 (as a test) of script.xbmc.subtitles/resources/lib/utilities.py it works again.

Don't know if it's linux specific but maybe you can look at it.

Regards,

Mark

would adding # -*- coding: utf-8 -*- to the top of the utilities.py file help?


- amet - 2010-11-02

mobious Wrote:Alright here is the log.

http://mysql.paste-bin.com/view/66a2250b

that search should have returned 11 hits, is that what you got?

I will check it more tomorrow.

Cheers,
Zeljko


- deraaij - 2010-11-02

Amet,

Amet Wrote:would adding # -*- coding: utf-8 -*- to the top of the utilities.py file help?

Works like a charm Smile


- mobious - 2010-11-02

Amet Wrote:that search should have returned 11 hits, is that what you got?

I will check it more tomorrow.

Cheers,
Zeljko

Nothing displays and all it says it says is 0 subtitles found.


- amet - 2010-11-03

deraaij Wrote:Amet,
Works like a charm Smile

mobious Wrote:Nothing displays and all it says it says is 0 subtitles found.

both issues fixed in 2.0.8

Code:
2.0.8
- fix: Arabic had incorrect two letter code(would crash podnapisi search)
- added: "# -*- coding: utf-8 -*-" for Python 2.5+ compatibility

thanks for the report.
Zeljko