Kodi Community Forum
[RELEASE] OpenSubtitles OSD (Script) - 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: [RELEASE] OpenSubtitles OSD (Script) (/showthread.php?tid=56083)



- mat0738 - 2010-01-25

hi there,
I'm using xbmc for a while now and it works great. my sister would like to watch some of my movies but she doesn't understant english so I tried to install this script (first script/plugin I installed).
I extract it in .xbmc/scripts (running gentoo linux). I configured it in the scripts view, I enabled the OSD button in confluence.
I play a movie, press the 'download subtitles' button and then I barely have the time to see the opensubtile window open that xbmc crashs.

I have read/write access to everithing under .xbmc and in the videos folder. here is the log: http://pastebin.com/m39d1c0b (the end as the file was about 5Mo)

I really don't understand what happen. debugging was enable for both xbmc and the script.

thank you for your work. mathieu.


- amet - 2010-01-26

mat0738 Wrote:hi there,
I'm using xbmc for a while now and it works great. my sister would like to watch some of my movies but she doesn't understant english so I tried to install this script (first script/plugin I installed).
I extract it in .xbmc/scripts (running gentoo linux). I configured it in the scripts view, I enabled the OSD button in confluence.
I play a movie, press the 'download subtitles' button and then I barely have the time to see the opensubtile window open that xbmc crashs.

I have read/write access to everithing under .xbmc and in the videos folder. here is the log: http://pastebin.com/m39d1c0b (the end as the file was about 5Mo)

I really don't understand what happen. debugging was enable for both xbmc and the script.

thank you for your work. mathieu.

I am not 100% sure , but it could be the python 2.6 that you are using that script doesnt like.

Have you tried it with internal python?

Zeljko


- mat0738 - 2010-01-26

hum, I'm using xbmc from gentoo and I didn't know xbmc could be build with an internal python.
I don't like that much but I'll try it when I'll have some time (xbmv compilation is pretty long)

thx for the hint


- cloverfield - 2010-01-26

I have the final version of the Alaska skin which has a subtitle button and the script path in the settings.
But when I use it, I'll get an error message from the script.

I use the latest (regular) version of xbmc live (installed). What can I do?


- Hitcher - 2010-01-26

cloverfield Wrote:How did you manage to implement it in Alaska? Smile
I've added it to the latest build along with Lyrics.


- amet - 2010-01-27

cloverfield Wrote:I have the final version of the Alaska skin which has a subtitle button and the script path in the settings.
But when I use it, I'll get an error message from the script.

I use the latest (regular) version of xbmc live (installed). What can I do?

Please post the debug log


- Powdor - 2010-01-27

Hi there Amet,

I am looking for ways to add some other sites to your Subtitle OSD. I am a programmer (C#). But any other language will be no problem. Could you point me in a direction to where and how I could contribute?

I am looking for adding sites like bierdopje.com. This uses a xml-service api. Btw. does your subtitle downloader also work on TV-series?

Thanx for your help..


- amet - 2010-01-27

Powdor Wrote:Hi there Amet,

I am looking for ways to add some other sites to your Subtitle OSD. I am a programmer (C#). But any other language will be no problem. Could you point me in a direction to where and how I could contribute?

I am looking for adding sites like bierdopje.com. This uses a xml-service api. Btw. does your subtitle downloader also work on TV-series?

Thanx for your help..

ATM , it works for TV series on all three services.

as for adding more sites, the script uses three already. if you would like to add more, I wouldnt mind incorporating it as long as the existing services and features are intact.

PM me if you want to discuss this more.

Zeljko


- frater - 2010-01-27

Hi Amet,

I believe you wrote at a certain point about uploading subtitles. Was this mere speculation or were you really thinking about this? If uploading is as easy as pushing a button it means this website will soon have a lot of subtitles....


- amet - 2010-01-27

frater Wrote:Hi Amet,

I believe you wrote at a certain point about uploading subtitles. Was this mere speculation or were you really thinking about this? If uploading is as easy as pushing a button it means this website will soon have a lot of subtitles....

http://forum.xbmc.org/showpost.php?p=411800&postcount=371

I asked for whoever was interested to send me a PM for testing script, you replied than but never asked for it. still to this day you are the only person that responded with any interest Smile

I might still have the test version. it worked only on one service, not sure which one.

Zeljko


- mat0738 - 2010-01-28

Amet Wrote:I am not 100% sure , but it could be the python 2.6 that you are using that script doesnt like.

Have you tried it with internal python?

Zeljko
i just try with internal python, that works! thx

it's too bad it doesn't work with recent mainstream python. is there any plan to move to external pyhton? I didn't find any recent informations about that.

mat.


- dny238 - 2010-01-28

Amet Wrote:I have a question for everyone. How many of you would use the upload feature in the script. would anyone actually ever upload subs? If anyone is interested in beta testing the script with upload features please send me a PM.

Regards
Zeljko


i would be interested in the ability to upload

pm me instructions on downloading it.


- amet - 2010-01-28

dny238 Wrote:i would be interested in the ability to upload

pm me instructions on downloading it.

that post is 3 months old, I dont even know if I have the version with upload.

will have a look...
Zeljko


- amet - 2010-01-28

mat0738 Wrote:i just try with internal python, that works! thx

it's too bad it doesn't work with recent mainstream python. is there any plan to move to external pyhton? I didn't find any recent informations about that.

mat.

ATM the Python 2.6 is being worked on for XBMC.Look in here for more info.


Zeljko


- frater - 2010-01-28

Amet Wrote:that post is 3 months old, I dont even know if I have the version with upload.

will have a look...
Zeljko

I always write better code if I have to write something from scratch again.... Laugh