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)



- t0mmyK - 2009-09-14

Hi Everyone,

Is someone able to support me to get opensubtitles_osd running on Aeon Hitched? I'm using W7 as OS and each time I start the script I get an error.

Here is my xbmc.log file:

Quote:14:19:58 T:4384 M:1411289088 NOTICE: -----------------------------------------------------------------------
14:19:58 T:4384 M:1411268608 NOTICE: Starting XBMC, Platform: Windows build 7100. Built on Jun 2 2009 (SVN:20672, compiler 1500)
14:19:58 T:4384 M:1411268608 NOTICE: Intel® Core™2 Duo CPU P8400 @ 2.26GHz
14:19:58 T:4384 M:1411268608 NOTICE: Desktop Resolution: 1280x1024 32Bit at 60Hz
14:19:58 T:4384 M:1411268608 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
14:19:58 T:4384 M:1411268608 NOTICE: special://masterprofile/ is mapped to: C:\Users\TKaledki\AppData\Roaming\XBMC\userdata
14:19:58 T:4384 M:1411268608 NOTICE: special://home/ is mapped to: C:\Users\TKaledki\AppData\Roaming\XBMC
14:19:58 T:4384 M:1411268608 NOTICE: special://temp/ is mapped to: C:\Users\TKaledki\AppData\Roaming\XBMC\cache
14:19:58 T:4384 M:1411268608 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
14:19:58 T:4384 M:1411268608 NOTICE: Log File is located: C:\Users\TKaledki\AppData\Roaming\XBMC\xbmc.log
14:19:58 T:4384 M:1411268608 NOTICE: -----------------------------------------------------------------------
14:19:58 T:4384 M:1411248128 NOTICE: Setup SDL
14:19:58 T:4384 M:1409421312 NOTICE: load settings...
14:19:58 T:4384 M:1409413120 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:19:58 T:4384 M:1409409024 NOTICE: loading special://masterprofile/guisettings.xml
14:19:58 T:4384 M:1409318912 NOTICE: Getting hardware information now...
14:19:58 T:4384 M:1409323008 NOTICE: Checking resolution 10
14:19:58 T:4384 M:1409323008 NOTICE: Setting autoresolution mode 12
14:19:58 T:4384 M:1409306624 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
14:19:58 T:4384 M:1409306624 NOTICE: Default DVD Player: dvdplayer
14:19:58 T:4384 M:1409306624 NOTICE: Default Video Player: dvdplayer
14:19:58 T:4384 M:1409306624 NOTICE: Default Audio Player: paplayer
14:19:58 T:4384 M:1409302528 NOTICE: special://masterprofile/sources.xml
14:19:59 T:4384 M:1399771136 NOTICE: GL_VENDOR = Intel
14:19:59 T:4384 M:1399779328 NOTICE: GL_RENDERER = Mobile Intel® 4 Series Express Chipset Family
14:19:59 T:4384 M:1399779328 NOTICE: GL_VERSION = 2.1.0 - Build 8.15.10.1808
14:19:59 T:4384 M:1399779328 NOTICE: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_abgr GL_EXT_texture3D GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_SGIS_texture_edge_clamp GL_SGIS_generate_mipmap GL_EXT_draw_range_elements GL_SGIS_texture_lod GL_EXT_rescale_normal GL_EXT_packed_pixels GL_EXT_separate_specular_color GL_ARB_multitexture GL_EXT_texture_env_combine GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_secondary_color GL_EXT_fog_coord GL_EXT_texture_env_add GL_ARB_texture_cube_map GL_ARB_transpose_matrix GL_ARB_texture_env_add GL_IBM_texture_mirrored_repeat GL_EXT_multi_draw_arrays GL_NV_blend_square GL_ARB_texture_compression GL_3DFX_texture_compression_FXT1 GL_EXT_texture_filter_anisotropic GL_ARB_texture_border_clamp GL_ARB_point_parameters GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_EXT_texture_compression_s3tc GL_ARB_shadow GL_ARB_window_pos GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_ARB_vertex_program GL_EXT_texture_rectangle GL_ARB_fragment_program GL_EXT_stencil_two_side GL_ATI_separate_stencil GL_ARB_vertex_buffer_object GL_EXT_texture_lod_bias GL_ARB_occlusion_query GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_non_power_of_two GL_ARB_vertex_shader GL_NV_texgen_reflection GL_ARB_point_sprite GL_EXT_blend_equation_separate GL_ARB_depth_texture GL_ARB_texture_rectangle GL_ARB_draw_buffers GL_ARB_pixel_buffer_object GL_WIN_swap_hint GL_EXT_framebuffer_object GL_EXT_texture_sRGB GL_ARB_color_buffer_float GL_ARB_half_float_pixel GL_ARB_texture_float GL_NV_conditional_render GL_EXT_texture_swizzle
14:20:00 T:4384 M:1332449280 NOTICE: start dvd mediatype detection
14:20:00 T:4384 M:1331974144 NOTICE: initializing playlistplayer
14:20:00 T:4384 M:1331429376 NOTICE: DONE initializing playlistplayer
14:20:00 T:4384 M:1331421184 NOTICE: load default skin:[Aeon Hitched]
14:20:00 T:4384 M:1329590272 WARNING: file doesnt have <fontset> with name 'Default', defaulting to first fontset
14:20:00 T:4384 M:1315393536 NOTICE: initialize done
14:20:00 T:4384 M:1315393536 NOTICE: Running the application...
14:20:01 T:4384 M:1311612928 NOTICE: ES: Starting event server
14:20:01 T:3488 M:1310064640 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
14:20:01 T:3488 M:1310060544 NOTICE: UDP: Listening on port 9777
14:20:02 T:4384 M:1305718784 ERROR: CGUIWrappingListContainer::SelectItemFromPoint: Speed 0.507143
....
14:20:54 T:4384 M:1294995456 ERROR: PICTURE: Error loading image special://skin/media/backdrops/default_scripts/default.png
14:20:54 T:4384 M:1294995456 ERROR: Texture manager unable to load file: special://skin/media/backdrops/default_scripts/default.png
14:20:57 T:2692 M:1253187584 NOTICE: -->Python Interpreter Initialized<--
14:20:57 T:2692 M:1253187584 NOTICE:
14:20:57 T:2692 M:1252364288 NOTICE: Traceback (most recent call last):
14:20:57 T:2692 M:1252364288 NOTICE: File "C:\Users\TKaledki\AppData\Roaming\XBMC\scripts\OpenSubtitles_OSD\default.py", line 22, in ?
14:20:57 T:2692 M:1252364288 NOTICE:
14:20:57 T:2692 M:1252364288 NOTICE: __settings__ = xbmc.Settings( path=os.getcwd() )
14:20:57 T:2692 M:1252364288 NOTICE: AttributeError
14:20:57 T:2692 M:1252364288 NOTICE: :
14:20:57 T:2692 M:1252364288 NOTICE: 'module' object has no attribute 'Settings'
14:20:57 T:2692 M:1252364288 NOTICE:
14:20:57 T:2692 M:1252364288 ERROR: Scriptresult: Error
14:21:07 T:4384 M:1302241280 NOTICE: Storing total System Uptime
14:21:07 T:4384 M:1302241280 NOTICE: Saving settings
14:21:07 T:4384 M:1302237184 NOTICE: stop all
14:21:07 T:4384 M:1302237184 NOTICE: ES: Stopping event server
14:21:08 T:3488 M:1302278144 NOTICE: ES: UDP Event server stopped
14:21:08 T:4384 M:1302290432 NOTICE: stop dvd detect media
14:21:08 T:4384 M:1302302720 NOTICE: stop sap announcement listener
14:21:08 T:4384 M:1302298624 NOTICE: clean cached files!
14:21:08 T:4384 M:1302306816 NOTICE: unload skin
14:21:08 T:4384 M:1321947136 NOTICE: stop python
14:21:08 T:4384 M:1321947136 NOTICE: stopped
14:21:08 T:4384 M:1321947136 NOTICE: destroy
14:21:08 T:4384 M:1323360256 NOTICE: unload sections

Help much appreciated.


- amet - 2009-09-14

t0mmyK Wrote:Hi Everyone,

Is someone able to support me to get opensubtitles_osd running on Aeon Hitched? I'm using W7 as OS and each time I start the script I get an error.

Here is my xbmc.log file:



Help much appreciated.

your version of XBMC is too old. You need a newer version of XBMC or use OpenSubtitles_OSD v1.28

read http://www.xbmc.org/forum/showpost.php?p=401422&postcount=259 on how to solve it.


Zeljko


- t0mmyK - 2009-09-14

Installed that SVN version however now when I'm trying to play any movie I get the following error:

Quote:15:33:08 T:4484 M:1017167872 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
15:33:08 T:3584 M:1017155584 NOTICE: Creating InputStream
15:33:08 T:3584 M:1017040896 NOTICE: Creating Demuxer
15:33:08 T:3584 M:1014272000 ERROR: Win32DllLoader::Load: Unable to load special://xbmc/system/players/dvdplayer/avformat-52.dll (127)
15:33:08 T:3584 M:1014272000 ERROR: CDVDDemuxFFmpeg::Open - failed to load ffmpeg libraries
15:33:08 T:3584 M:1014263808 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
15:33:08 T:3584 M:1014263808 NOTICE: CDVDPlayer::OnExit()
15:33:08 T:3584 M:1014263808 NOTICE: CDVDPlayer::OnExit() deleting input stream



- amet - 2009-09-14

t0mmyK Wrote:Installed that SVN version however now when I'm trying to play any movie I get the following error:

are you using the full windows installer?

Zeljko


- t0mmyK - 2009-09-14

I tried version from your link as well as latest SVN installer build. Both the same Sad


- amet - 2009-09-14

t0mmyK Wrote:I tried version from your link as well as latest SVN installer build. Both the same Sad

dont use the latest, use http://www.sshcs.com/xbmc/?mode=BuildsDownloadCounter&FN=PCInstaller&BN=22514

maybe remove it completely and reinstall, restart?


Zeljko


- t0mmyK - 2009-09-14

1. Removed SVN installation
2. Restarted OS
3. Installed Build 22514 and it's the same:
Quote:16:02:55 T:5344 M:1749032960 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
16:02:55 T:5900 M:1749032960 NOTICE: Creating InputStream
16:02:55 T:5900 M:1749020672 NOTICE: Creating Demuxer
16:02:55 T:5900 M:1748955136 ERROR: Win32DllLoader::Load: Unable to load special://xbmc/system/players/dvdplayer/avutil-50.dll (126)
16:02:55 T:5900 M:1748955136 ERROR: CDVDDemuxFFmpeg::Open - failed to load ffmpeg libraries
16:02:55 T:5900 M:1748955136 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
16:02:55 T:5900 M:1748955136 NOTICE: CDVDPlayer::OnExit()
16:02:55 T:5900 M:1748955136 NOTICE: CDVDPlayer::OnExit() deleting input stream

Any other ideas?


- amet - 2009-09-14

t0mmyK Wrote:1. Removed SVN installation
2. Restarted OS
3. Installed Build 22514 and it's the same:


Any other ideas?

install the one you had before and see if that works. http://forum.xbmc.org/showthread.php?tid=52701 is the closest I could google....

if you go to stable release you can use v1.28

Let me know

Zeljko


- t0mmyK - 2009-09-14

I really would like to get 1.33 as it has podnapisi support, do you know how/where I can get prevoius builds to try them?


- amet - 2009-09-14

t0mmyK Wrote:I really would like to get 1.33 as it has podnapisi support, do you know how/where I can get prevoius builds to try them?

http://www.sshcs.com/xbmc/?mode=Notes on the bottom choose win32 installer and then take your pick. Do not use anything higher r22528.

Zeljko


- t0mmyK - 2009-09-14

Ok, build 21829 is playing my video files...
Now I get the following error when I'm trying to start the script while my movie is playing...

Quote:17:14:05 T:6112 M:1491992576 NOTICE: -->Python Interpreter Initialized<--
17:14:05 T:6112 M:1491513344 NOTICE: OpenSubtitles_OSD version[ 1.33 ]
17:14:05 T:6112 M:1491513344 NOTICE: Skin Folder: [aeon hitched]
17:14:05 T:6112 M:1491513344 NOTICE: OpenSubtitles_OSD skin XML: [Aeon]
17:14:06 T:6112 M:1491341312 NOTICE: 10% complete
17:14:06 T:6112 M:1491329024 NOTICE: 20% complete
17:14:06 T:6112 M:1491329024 NOTICE: 30% complete
17:14:06 T:6112 M:1491324928 NOTICE: 40% complete
17:14:06 T:6112 M:1491324928 NOTICE: 50% complete
17:14:06 T:6112 M:1491324928 NOTICE: 60% complete
17:14:06 T:6112 M:1491312640 NOTICE: 70% complete
17:14:06 T:6112 M:1491300352 NOTICE: 80% complete
17:14:06 T:6112 M:1491177472 NOTICE: 90% complete
17:14:06 T:6112 M:1491177472 NOTICE: 100% complete
17:14:07 T:6112 M:1489272832 NOTICE: C:\Users\TKaledki\AppData\Roaming\XBMC\scripts\OpenSubtitles_OSD\resources\lib\osdb.py:448: SyntaxWarning: import * only allowed at module level
def searchsubtitlesbyname_pod( self, name, lang1,lang2,year ):
17:14:09 T:6112 M:1444352000 NOTICE: Traceback (most recent call last):
17:14:09 T:6112 M:1444352000 NOTICE: File "C:\Users\TKaledki\AppData\Roaming\XBMC\scripts\OpenSubtitles_OSD\default.py", line 133, in ?
17:14:09 T:6112 M:1441132544 NOTICE: ui = gui.GUI( "script-OpenSubtitles_OSD-"+ skin +".xml" , os.getcwd(), "Default")
17:14:09 T:6112 M:1441132544 NOTICE: TypeError
17:14:09 T:6112 M:1441132544 NOTICE: :
17:14:09 T:6112 M:1441132544 NOTICE: XML File for Window is missing
17:14:09 T:6112 M:1441132544 ERROR: Scriptresult: Error
17:14:29 T:4012 M:1441845248 WARNING: Skin has invalid include: textcolorwhite



- amet - 2009-09-14

t0mmyK Wrote:Ok, build 21829 is playing my video files...
Now I get the following error when I'm trying to start the script while my movie is playing...


are you running in portability mode?

please try copying the script-OpenSubtitles_OSD-Aeon.xml from OpenSubtitles_OSD/720p to /Skin/Aeon/720p and all the files from OpenSubtitles_OSD/media to /Skin/Aeon/media .... do not replace folders just copy files from folder to folder.


Let me know

Zeljko


- t0mmyK - 2009-09-14

... getting closer...
It works somehow however I can only see subtitles downloaded from sublight.si. How to list other services, how to get to settings menu?


- amet - 2009-09-14

t0mmyK Wrote:... getting closer...
It works somehow however I can only see subtitles downloaded from sublight.si. How to list other services, how to get to settings menu?

in aeon enable scripts under skin settings, go to scripts from home menu, highlight OpenSubtitles_OSD and hit "c" on keyboard select script settings.

dont forget you are going to need the password for Podnapisi.

Zeljko


- t0mmyK - 2009-09-14

Amet, thanks for your support! Everything works well now.
That plugin really does the job! Keep up good work.
Is it planned to implement other subtitles databases as well?