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)



- amet - 2009-09-13

Burke Wrote:Hi,

I tried installing latest ver. 1.32. But I get error mesage:

Python script failed:
Special://home/scripts/opensubtitles_osd/default.py

I run XBMC on WinXP Sp3, SVN R2121

Pls help thx

I need to see the log file.

Zeljko


- Burke - 2009-09-13

Here it is, I hope, never done this before Eek

http://pastebin.com/m734917d1


- Ramshackles - 2009-09-13

Amet Wrote:Thanks,


I have tried replicating the problem on my side, and its working fine. Not sure whats causing it to fail on your side.

Is it happening with all the files or just some of them? I can see that this one is "rar". are any of the other rar files working?



Zeljko

Mine did it on other files aswell atleast, dont have any rar files. plenty of .iso and .mkv Smile

want me to update again and post my logs aswell?


- amet - 2009-09-13

Burke Wrote:Here it is, I hope, never done this before Eek

http://pastebin.com/m734917d1

your version of XBMC is too old Sad

You can try using OpenSubtitles_OSD v1.28 or update the XBMC.

to get newer XBMC go to http://www.sshcs.com/xbmc/?mode=BuildsDownloadCounter&FN=PCInstaller&BN=22528, and for OpenSubtitles_OSD v1.28 go here

let me know.

Srećno Smile

Željko


- amet - 2009-09-13

Ramshackles Wrote:Mine did it on other files aswell atleast, dont have any rar files. plenty of .iso and .mkv Smile

want me to update again and post my logs aswell?

You are running the 1.32? maybe just for the safety sake update again, and post the log. I have a lot of mkv files and dont have a problem with it. I dont have any iso files and that could be the issue.


Let me see the log and I can possibly send you the test version.

Zeljko


- Burke - 2009-09-13

Thanx for quick replay! Great work

Iskreno Hvala Big Grin


- amet - 2009-09-13

Burke Wrote:Thanx for quick replay! Great work

Iskreno Hvala Big Grin

NP Smile

I would suggest you use the updated version of XBMC as it has better features. Media flagging is one, and some of the latest skins require the newer version as well.

Ako treba nesto cimni na PM

Pozz
Zeljko


- LinarSavion - 2009-09-13

Amet Wrote:Thanks,


I have tried replicating the problem on my side, and its working fine. Not sure whats causing it to fail on your side.

Is it happening with all the files or just some of them? I can see that this one is "rar". are any of the other rar files working?



Zeljko

FIXED: switched to previous rev (22516) and now works like a charm.. probably due to breakage...


- psaac - 2009-09-13

Hi !

I've just discovered your script which sounds very attractive !

But, I can't make it work...

Using xbmc pre-9.10 built r22899 :
- Using Transparency! (2.0) I get :
Code:
18:59:29 T:2996820880 M:1648799744  NOTICE: Traceback (most recent call last):
18:59:29 T:2996820880 M:1648799744  NOTICE:   File "/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py", line 127, in ?
18:59:29 T:2996820880 M:1648799744  NOTICE: service_present = ui.set_allparam ( movieFullPath,search_string,temp,sub_folder, year )
18:59:29 T:2996820880 M:1648799744  NOTICE: NameError
18:59:29 T:2996820880 M:1648799744  NOTICE: :
18:59:29 T:2996820880 M:1648799744  NOTICE: name 'year' is not defined
18:59:29 T:2996820880 M:1648799744   ERROR: Scriptresult: Error
18:59:29 T:2996820880 M:1648799744    INFO: Loading skin file: DialogOK.xml
18:59:29 T:2996820880 M:1648799744   DEBUG: Load DialogOK.xml: 11,32ms

- Using uptodate Aeon Hitched I get :
Code:
19:07:44 T:3017800592 M:1633153024    INFO: Loading skin includes from /home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/resources/skins/Default/PAL/includes.xml
19:07:44 T:3017800592 M:1633153024  NOTICE: Traceback (most recent call last):
19:07:44 T:3017800592 M:1633153024  NOTICE:   File "/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py", line 126, in ?
19:07:44 T:3017800592 M:1633153024  NOTICE: ui = gui.GUI( "script-OpenSubtitles_OSD-"+ skin +".xml" , os.getcwd(), "Default")
19:07:44 T:3017800592 M:1633153024  NOTICE: TypeError
19:07:44 T:3017800592 M:1633153024  NOTICE: :
19:07:44 T:3017800592 M:1633153024  NOTICE: XML File for Window is missing
19:07:44 T:3017800592 M:1633153024   ERROR: Scriptresult: Error
19:07:44 T:3017800592 M:1633153024    INFO: Loading skin file: DialogOK.xml
19:07:44 T:3017800592 M:1633153024   DEBUG: Load DialogOK.xml: 2,45ms

Any clues ?


- amet - 2009-09-13

psaac Wrote:Hi !

I've just discovered your script which sounds very attractive !

But, I can't make it work...

Using xbmc pre-9.10 built r22899 :
- Using Transparency! (2.0) I get :
Code:
18:59:29 T:2996820880 M:1648799744  NOTICE: Traceback (most recent call last):
18:59:29 T:2996820880 M:1648799744  NOTICE:   File "/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py", line 127, in ?
18:59:29 T:2996820880 M:1648799744  NOTICE: service_present = ui.set_allparam ( movieFullPath,search_string,temp,sub_folder, year )
18:59:29 T:2996820880 M:1648799744  NOTICE: NameError
18:59:29 T:2996820880 M:1648799744  NOTICE: :
18:59:29 T:2996820880 M:1648799744  NOTICE: name 'year' is not defined
18:59:29 T:2996820880 M:1648799744   ERROR: Scriptresult: Error
18:59:29 T:2996820880 M:1648799744    INFO: Loading skin file: DialogOK.xml
18:59:29 T:2996820880 M:1648799744   DEBUG: Load DialogOK.xml: 11,32ms

Yes, read the post above yours, something is wrong with the latest builds.

According to LinarSavion, rev (22516) works correctly.

psaac Wrote:- Using uptodate Aeon Hitched I get :
Code:
19:07:44 T:3017800592 M:1633153024    INFO: Loading skin includes from /home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/resources/skins/Default/PAL/includes.xml
19:07:44 T:3017800592 M:1633153024  NOTICE: Traceback (most recent call last):
19:07:44 T:3017800592 M:1633153024  NOTICE:   File "/home/xbmc/.xbmc/scripts/OpenSubtitles_OSD/default.py", line 126, in ?
19:07:44 T:3017800592 M:1633153024  NOTICE: ui = gui.GUI( "script-OpenSubtitles_OSD-"+ skin +".xml" , os.getcwd(), "Default")
19:07:44 T:3017800592 M:1633153024  NOTICE: TypeError
19:07:44 T:3017800592 M:1633153024  NOTICE: :
19:07:44 T:3017800592 M:1633153024  NOTICE: XML File for Window is missing
19:07:44 T:3017800592 M:1633153024   ERROR: Scriptresult: Error
19:07:44 T:3017800592 M:1633153024    INFO: Loading skin file: DialogOK.xml
19:07:44 T:3017800592 M:1633153024   DEBUG: Load DialogOK.xml: 2,45ms

Any clues ?

You are using the PAL resolution and I really haven't added any support for it. You can try and copy all xml files from OpenSubtitles_OSD/720p folder to OpenSubtitles_OSD/PAL folder and see if that works. If its not looking good take a screen shot and post it here and I will see if i can fix it. I dont have a PAL TV to test with. Sad

Zeljko


- Ramshackles - 2009-09-13

Hi Amet, mine is probably related to latest svn xbmc build aswell then Sad


- amet - 2009-09-13

Ramshackles Wrote:Hi Amet, mine is probably related to latest svn xbmc build aswell then Sad

It does sound like it... Sad, you can always just downgrade from http://www.sshcs.com/xbmc/

you dont need to go far back, I am using 22514 on mac and its running like a champ.

Zeljko


- psaac - 2009-09-13

Thanks for the quick answer,

I'll give a try asap.


- mindweaver - 2009-09-14

Just upgraded to osOSD 1.33 and my Aeon skin textures is gone. I can only see the osOSD text items. What could be wrong?


- amet - 2009-09-14

mindweaver Wrote:Just upgraded to osOSD 1.33 and my Aeon skin textures is gone. I can only see the osOSD text items. What could be wrong?

Can you post the log?

How did you upgrade?

Zeljko