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-08-13

gugahoi Wrote:Hi, this sounds like a great addition, but for some reason i can't get it to work. I have downloaded the latest version from the SVN repo but the skin hack is not working i guess. My skin folder is completely empty so all I have tried doing is getting the PM3.HD.zip you provided and copying the PM3.HD folder to my skin folder. But doing that completely crashes xbmc. It says

"Runtime Error!

This application has requested the Runtime to terminate it in an unusual way.
Please contact the app's support team for more info."

I'm running XP SP3 with everything running locally if that matters.

Any help would be very much appreciated.


Hi,

you need to place files from PM3.HD.zip in c:\Program Files\xbmc\skin\PM3.HD\

do not replace folders in there, just add VideoOSD.xml from 720p to 720p, and .png files from media to media.

Make sure you backup VideoOSD.xml in case anything goes wrong.

Zeljko


- gugahoi - 2009-08-13

Wow fast reply dude, appreciate it.
I was trying yo put the skin files into the "Application Data" XBMC skin folder.

But now I've run into a different problem. I get the icon alright in the OSD but when I try to run it I get:
"Error
Pyhton Script Failed:
special://home/scripts/OpenSubtitles_OSD/default.py"

cheers


- amet - 2009-08-13

gugahoi Wrote:Wow fast reply dude, appreciate it.
I was trying yo put the skin files into the "Application Data" XBMC skin folder.

But now I've run into a different problem. I get the icon alright in the OSD but when I try to run it I get:
"Error
Pyhton Script Failed:
special://home/scripts/OpenSubtitles_OSD/default.py"

cheers

can you please provide the log

Zeljko


- gugahoi - 2009-08-13

There you go.

http://pastebin.com/m60162466

thanks for the help


- amet - 2009-08-13

Added new version 1.11

version 1.1 didn't go down well with Windows users, sorry Sad
If you are on Windows please upgrade

thanks gugahoi for providing a log.


- Bram77 - 2009-08-13

Amet Wrote:I have added support for MediaStream_Redux Mod. You have to update to v1.1

Thanks for the effort, but I'm affraid version 1.11 with the skin mod doesn't fix the problem... I'm still getting the python error.


- amet - 2009-08-13

Bram77 Wrote:Thanks for the effort, but I'm affraid version 1.11 with the skin mod doesn't fix the problem... I'm still getting the python error.

Please post the log.

I need to see whats in it....

Zeljko


- Bram77 - 2009-08-13

This is the important part I think...

Code:
19:34:40 M: 10104832  NOTICE: ui = gui.GUI( "script-OpenSubtitles_OSD-main.xml", os.getcwd(), (skin))
19:34:40 M: 10104832  NOTICE: TypeError
19:34:40 M: 10104832  NOTICE: :
19:34:40 M: 10104832  NOTICE: XML File for Window is missing
19:34:40 M: 10104832   ERROR: Scriptresult: Error

The rest that's related is here -> http://pastebin.com/f52342b28


- Cosworth - 2009-08-13

v1.11 still seems to dislike smb shares.

Code:
22:23:02 T:5300 M:1792303104  NOTICE: -->Python Interpreter Initialized<--
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_filepath [\Video\Serier\Enterprise\Enterprise.2x19.judgement.xvid.avi]
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_searchstring [Star+Trek:+Enterprise+S02E19]
22:23:03 T:5300 M:1792466944   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
22:23:03 T:5300 M:1792466944   ERROR: CGUIMediaWindow::GetDirectory(?) failed

It proceeds to download but the file is never created.

I'm running Transparancy! skin and have copied the skin files as described.


- amet - 2009-08-13

Cosworth Wrote:v1.11 still seems to dislike smb shares.

Code:
22:23:02 T:5300 M:1792303104  NOTICE: -->Python Interpreter Initialized<--
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_filepath [\Video\Serier\Enterprise\Enterprise.2x19.judgement.xvid.avi]
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_searchstring [Star+Trek:+Enterprise+S02E19]
22:23:03 T:5300 M:1792466944   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
22:23:03 T:5300 M:1792466944   ERROR: CGUIMediaWindow::GetDirectory(?) failed

It proceeds to download but the file is never created.

I'm running Transparancy! skin and have copied the skin files as described.

can you please post the whole log

Zeljko


- blittan - 2009-08-14

Cosworth Wrote:v1.11 still seems to dislike smb shares.

Code:
22:23:02 T:5300 M:1792303104  NOTICE: -->Python Interpreter Initialized<--
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_filepath [\Video\Serier\Enterprise\Enterprise.2x19.judgement.xvid.avi]
22:23:03 T:5300 M:1792520192  NOTICE: INFO: set_searchstring [Star+Trek:+Enterprise+S02E19]
22:23:03 T:5300 M:1792466944   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
22:23:03 T:5300 M:1792466944   ERROR: CGUIMediaWindow::GetDirectory(?) failed
It proceeds to download but the file is never created.

I'm running Transparancy! skin and have copied the skin files as described.


Do you have write access to the share?


- Cosworth - 2009-08-14

ok here it is:

http://www.hjortskov.net/xbmc.log

I do have write access.


- gugahoi - 2009-08-14

Just a heads up,
I recently ran XBMCupdate and installed the latest build.
I realized the subOSD button wasnt there anymore so i had to do the skin hack again. Everything working flawlessly now tho.

Cheers


- amet - 2009-08-14

gugahoi Wrote:Just a heads up,
I recently ran XBMCupdate and installed the latest build.
I realized the subOSD button wasnt there anymore so i had to do the skin hack again. Everything working flawlessly now tho.

Cheers

It only happens if your skins are not in a user folder or if you are using PM3.HD that comes with Nightly Builds.

Zeljko


- johoja - 2009-08-14

It won't download to the share it'll download to speciall://temp since its an smb:// path ... do you see that line?