[RELEASE] OpenSubtitles OSD (Script)

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #31
darknior Wrote:Woaw, fantastic work Big Grin
It is a very good idea ... i love it Wink

Do you will to add it to XBMC SVN for we can see and update it by XBMC SVN UPDATE SCRIPT ?
I think it is a good idea for everybody can know your work and allways have the last version Big Grin

Bye

Hi,

I am glad you like it. Smile

I will look into the XBMC svn option. It can only be used for the script , you will still need to manually replace skin specific files.

Zeljko
(This post was last modified: 2009-08-11 11:02 by amet.)
find
Batemann Offline
Aeon Group
Posts: 323
Joined: Oct 2007
Location: Amsterdam
Post: #32
Amet Wrote:I will see what I can do... give me a day.

Will post if and when its done

Edit:
Support for Aeon added. Please check the first post.


Cheers

Zeljko


Jeez you are fast. Great man! I Will test tonight when I get home!

[Image: widget]
[Image: widget]
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #33
Batemann Wrote:Jeez you are fast. Great man! I Will test tonight when I get home!

No problems, let me know if all is Ok.
find
Meez Offline
Member
Posts: 71
Joined: Feb 2009
Reputation: 0
Post: #34
Amet Wrote:Hi,

here is the fix for a window PM3.HD.zip

Please let me know so that I can include it in a next version.

The subtitles are saved in the same folder where the movie is.
sometimes when the website is down or having problems the downloaded file isn't actually a zip as it should be, its an error page 500 or similar.



Zeljko

new window looks and works great in PMIII now!

only thing is, its still not downloading the subtitles even though it says it did. also, when i try to load the script a second time, it freezes everything. i have to power off/on the xbox.
(This post was last modified: 2010-05-03 10:19 by amet.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #35
Meez Wrote:new window looks and works great in PMIII now!

only thing is, its still not downloading the subtitles even though it says it did. also, when i try to load the script a second time, it freezes everything. i have to power off/on the xbox.

Please post the Log file. I know that the website is having some issues now.



Zeljko
(This post was last modified: 2009-08-11 17:44 by amet.)
find
Jaco2k Offline
Senior Member
Posts: 112
Joined: Mar 2009
Reputation: 0
Post: #36
In case no one yet confirmed - tried and working under Linux.

Thank you for a great plugin and I wonder why no one had done it before. This integration doesn't disrupt the movie watching experience Smile
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #37
darknior Wrote:Woaw, fantastic work Big Grin
It is a very good idea ... i love it Wink

Do you will to add it to XBMC SVN for we can see and update it by XBMC SVN UPDATE SCRIPT ?
I think it is a good idea for everybody can know your work and allways have the last version Big Grin

Bye

I have added version 1.07 to the XBMC addon svn

Check the first post

Thanks a lot for the idea. Smile

Zeljko
find
Meez Offline
Member
Posts: 71
Joined: Feb 2009
Reputation: 0
Post: #38
Amet Wrote:Please post the Log file. I know that the website is having some issues now.



Zeljko

here's the debug log.

Code:
15:49:40 M: 24211456   DEBUG: CApplication::OnMessage : Translating RunScript(special://home/scripts/OpenSubtitles_OSD/default.py, [MOVIE]$INFO[VideoPlayer.Title][/MOVIE])
15:49:40 M: 24211456   DEBUG: CApplication::OnMessage : To RunScript(special://home/scripts/OpenSubtitles_OSD/default.py, [MOVIE]A Christmas Story[/MOVIE])
15:49:40 M: 24211456    INFO: initializing python engine.
15:49:40 M: 24211456   DEBUG: LoadLibraryA('python24.dll')
15:49:40 M: 23089152   DEBUG: LoadLibrary('python24.dll') returning: 008D6440
15:49:40 M: 23089152   DEBUG: dllGetProcAddress(00812D00(kernel32.dll), 'InterlockedCompareExchange') => 000D1404
15:49:40 M: 22822912   DEBUG: GetModuleFileNameA(00000000, 1E102490, 256) => 'xbmc.xbe'
15:49:40 M: 22822912   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
15:49:40 M: 22822912   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
15:49:40 M: 22765568   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:40 M: 22765568   DEBUG: LoadLibraryA('zlib.pyd')
15:49:40 M: 22695936   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:40 M: 22695936   DEBUG: LoadLibrary('zlib.pyd') returning: 008DE780
15:49:40 M: 22695936   DEBUG: dllGetProcAddress(1E1B0000(zlib.pyd), 'initzlib') => 1E1B2150
15:49:40 M: 21807104  NOTICE: -->Python Initialized<--
15:49:40 M: 21807104  NOTICE:
15:49:40 M: 21807104   DEBUG: new python thread created. id=2
15:49:40 M: 21282816   DEBUG: Python thread: start processing
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/OpenSubtitles_OSD/default.py
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - Setting the Python path to Q:\scripts\OpenSubtitles_OSD;Q:\system\python\python24.zlib;Q:\system\python\DLL​s;Q:\system\python\Lib;Q:\system\python\spyce
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - Entering source directory Q:\scripts\OpenSubtitles_OSD
15:49:41 M: 19935232   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19935232   DEBUG: LoadLibraryA('pyexpat.pyd')
15:49:41 M: 19795968   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19795968   DEBUG: LoadLibrary('pyexpat.pyd') returning: 00883C00
15:49:41 M: 19795968   DEBUG: dllGetProcAddress(1D100000(pyexpat.pyd), 'initpyexpat') => 1D102350
15:49:41 M: 19791872   DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
15:49:41 M: 19734528   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19734528   DEBUG: LoadLibraryA('_socket.pyd')
15:49:41 M: 19685376   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19685376   DEBUG: LoadLibrary('_socket.pyd') returning: 00C1DB20
15:49:41 M: 19685376   DEBUG: dllGetProcAddress(1E1D0000(_socket.pyd), 'init_socket') => 1E1D4BF0
15:49:41 M: 19660800   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19660800   DEBUG: LoadLibraryA('_ssl.pyd')
15:49:41 M: 19161088   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19161088   DEBUG: LoadLibrary('_ssl.pyd') returning: 00D658E0
15:49:41 M: 19161088   DEBUG: dllGetProcAddress(02570000(_ssl.pyd), 'init_ssl') => 02571820
15:49:42 M: 18710528   DEBUG: dllGetProcAddress(00813588(advapi32.dll), 'CryptAcquireContextA') => 002412DD
15:49:42 M: 18710528   DEBUG: dllGetProcAddress(00813588(advapi32.dll), 'CryptGenRandom') => 0023E72A
15:49:42 M: 18710528   DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
15:49:42 M: 17993728  NOTICE: INFO: set_filepath [F:\Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRi​p.XviD.avi]
15:49:42 M: 17993728  NOTICE: INFO: set_searchstring [A+Christmas+Story]
15:49:42 M: 17993728    INFO: Loading skin file: Q:\skin\Project Mayhem III\PAL\script-OpenSubtitles_OSD-main.xml
15:49:42 M: 17936384   DEBUG: Load Q:\skin\Project Mayhem III\PAL\script-OpenSubtitles_OSD-main.xml: 62.33ms
15:49:42 M: 17870848   DEBUG: Alloc resources: 93.79ms (62.73 ms skin load, 0.00 ms preload)
15:49:42 M: 17870848   DEBUG: CGUIMediaWindow::GetDirectory (?)
15:49:42 M: 17870848   DEBUG:   ParentPath = []
15:49:42 M: 17870848   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
15:49:42 M: 17870848   ERROR: CGUIMediaWindow::GetDirectory(?) failed
15:49:42 M: 17858560  NOTICE: INFO: onInit
15:49:42 M: 17858560  NOTICE: INFO: set_filepath [F:\Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRi​p.XviD.avi]
15:49:42 M: 16146432  NOTICE: INFO: Connecting to server http://www.opensubtitles.org/xml-rpc...
15:49:42 M: 16146432   DEBUG: LoadLibraryA('ws2_32')
15:49:42 M: 16146432   DEBUG: LoadLibrary('ws2_32.dll') returning: 00812CD8
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getaddrinfo') => 0023E705
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getaddrinfo') => 0023E705
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getnameinfo') => 0023DE03
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'freeaddrinfo') => 0023D977
15:49:43 M: 16146432  NOTICE: INFO: Logging in anonymously...
15:49:44 M: 16146432  NOTICE: INFO: Connected
15:49:44 M: 16146432  NOTICE: INFO: Retrieve subtitle languages...
15:49:45 M: 16142336  NOTICE: INFO: Retrieved subtitle languages
15:49:45 M: 16142336  NOTICE: INFO: Searching subtitles A.Christmas.Story.1983.DVDRip.XviD.avi
15:49:45 M: 16060416  NOTICE: INFO: set_filehash [97d143c1d7aebdd8]
15:49:45 M: 16060416  NOTICE: INFO: set_filesize [873864960]
15:49:45 M: 16060416  NOTICE: INFO: Searching subtitles by hash for \Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRip.​XviD.avi
15:49:47 M: 16056320  NOTICE: INFO: No subtitles found
15:49:47 M: 16056320  NOTICE: INFO: No subtitles found
15:49:47 M: 16056320  NOTICE: INFO: Searching subtitles A+Christmas+Story
15:49:47 M: 16056320  NOTICE: INFO: Searching subtitles by name for A+Christmas+Story
15:49:47 M: 16056320  NOTICE: INFO: http://www.opensubtitles.com/en/search/sublanguageid-all/moviename-A+Christmas+Story/simplexml
15:49:50 M: 15675392  NOTICE: INFO: 25 subtitles found
15:49:50 M: 15654912  NOTICE: INFO: 25 subtitles found
15:49:51 M: 15900672   DEBUG: CApplication::OnKey: 271 pressed, action is 4
15:49:51 M: 15900672   DEBUG: CApplication::OnKey: 256 pressed, action is 7
15:49:51 M: 15888384  NOTICE: INFO: download_subtitles
15:49:51 M: 15888384    INFO: Loading skin file: DialogProgress.xml
15:49:51 M: 15876096   DEBUG: Load DialogProgress.xml: 31.70ms
15:49:51 M: 15814656   DEBUG: Alloc resources: 36.71ms (0.00 ms skin load, 0.00 ms preload)
15:49:52 M: 15437824  NOTICE: ERROR: Error! [Errno 2] No such file or directory: 'F:\\Videos\\Movies\\A.Christmas.Story.1983.DVDRip.XviD\\Christmas Story, A (1983).zip'
15:49:52 M: 15437824  NOTICE: INFO: extract_subtitles
15:49:52 M: 15437824  NOTICE: ERROR: Error! [Errno 2] No such file or directory: 'F:\\Videos\\Movies\\A.Christmas.Story.1983.DVDRip.XviD\\Christmas Story, A (1983).zip'
15:49:56 M: 15863808   DEBUG: CApplication::OnKey: 275 pressed, action is 10
15:49:56 M: 17137664    INFO: Scriptresult: Succes
15:49:56 M: 17137664   ERROR: CThread::staticThread : Access violation at 0x1e04a115: Reading location 0x00000028
15:49:57 M: 17670144   DEBUG: CApplication::OnKey: 270 pressed, action is 3
15:49:58 M: 17670144   DEBUG: CApplication::OnKey: 256 pressed, action is 7
15:49:58 M: 17657856   DEBUG: CApplication::OnMessage : Translating XBMC.ActivateWindow(124)
15:49:58 M: 17657856   DEBUG: CApplication::OnMessage : To XBMC.ActivateWindow(124)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #39
Meez Wrote:here's the debug log.

Code:
15:49:40 M: 24211456   DEBUG: CApplication::OnMessage : Translating RunScript(special://home/scripts/OpenSubtitles_OSD/default.py, [MOVIE]$INFO[VideoPlayer.Title][/MOVIE])
15:49:40 M: 24211456   DEBUG: CApplication::OnMessage : To RunScript(special://home/scripts/OpenSubtitles_OSD/default.py, [MOVIE]A Christmas Story[/MOVIE])
15:49:40 M: 24211456    INFO: initializing python engine.
15:49:40 M: 24211456   DEBUG: LoadLibraryA('python24.dll')
15:49:40 M: 23089152   DEBUG: LoadLibrary('python24.dll') returning: 008D6440
15:49:40 M: 23089152   DEBUG: dllGetProcAddress(00812D00(kernel32.dll), 'InterlockedCompareExchange') => 000D1404
15:49:40 M: 22822912   DEBUG: GetModuleFileNameA(00000000, 1E102490, 256) => 'xbmc.xbe'
15:49:40 M: 22822912   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
15:49:40 M: 22822912   DEBUG: advapi32.dll fake function RegQueryInfoKeyA called
15:49:40 M: 22765568   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:40 M: 22765568   DEBUG: LoadLibraryA('zlib.pyd')
15:49:40 M: 22695936   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:40 M: 22695936   DEBUG: LoadLibrary('zlib.pyd') returning: 008DE780
15:49:40 M: 22695936   DEBUG: dllGetProcAddress(1E1B0000(zlib.pyd), 'initzlib') => 1E1B2150
15:49:40 M: 21807104  NOTICE: -->Python Initialized<--
15:49:40 M: 21807104  NOTICE:
15:49:40 M: 21807104   DEBUG: new python thread created. id=2
15:49:40 M: 21282816   DEBUG: Python thread: start processing
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - The source file to load is special://home/scripts/OpenSubtitles_OSD/default.py
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - Setting the Python path to Q:\scripts\OpenSubtitles_OSD;Q:\system\python\python24.zlib;Q:\system\python\DLL​s;Q:\system\python\Lib;Q:\system\python\spyce
15:49:40 M: 21295104   DEBUG: XBPyThread::Process - Entering source directory Q:\scripts\OpenSubtitles_OSD
15:49:41 M: 19935232   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19935232   DEBUG: LoadLibraryA('pyexpat.pyd')
15:49:41 M: 19795968   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19795968   DEBUG: LoadLibrary('pyexpat.pyd') returning: 00883C00
15:49:41 M: 19795968   DEBUG: dllGetProcAddress(1D100000(pyexpat.pyd), 'initpyexpat') => 1D102350
15:49:41 M: 19791872   DEBUG: kernel32.dll fake function SetConsoleCtrlHandler called
15:49:41 M: 19734528   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19734528   DEBUG: LoadLibraryA('_socket.pyd')
15:49:41 M: 19685376   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19685376   DEBUG: LoadLibrary('_socket.pyd') returning: 00C1DB20
15:49:41 M: 19685376   DEBUG: dllGetProcAddress(1E1D0000(_socket.pyd), 'init_socket') => 1E1D4BF0
15:49:41 M: 19660800   DEBUG: LoadLibraryExA called with flags:
                              - LOAD_WITH_ALTERED_SEARCH_PATH
15:49:41 M: 19660800   DEBUG: LoadLibraryA('_ssl.pyd')
15:49:41 M: 19161088   DEBUG: kernel32.dll fake function DisableThreadLibraryCalls called
15:49:41 M: 19161088   DEBUG: LoadLibrary('_ssl.pyd') returning: 00D658E0
15:49:41 M: 19161088   DEBUG: dllGetProcAddress(02570000(_ssl.pyd), 'init_ssl') => 02571820
15:49:42 M: 18710528   DEBUG: dllGetProcAddress(00813588(advapi32.dll), 'CryptAcquireContextA') => 002412DD
15:49:42 M: 18710528   DEBUG: dllGetProcAddress(00813588(advapi32.dll), 'CryptGenRandom') => 0023E72A
15:49:42 M: 18710528   DEBUG: advapi32.dll fake function dllCryptAcquireContext() called
15:49:42 M: 17993728  NOTICE: INFO: set_filepath [F:\Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRi​p.XviD.avi]
15:49:42 M: 17993728  NOTICE: INFO: set_searchstring [A+Christmas+Story]
15:49:42 M: 17993728    INFO: Loading skin file: Q:\skin\Project Mayhem III\PAL\script-OpenSubtitles_OSD-main.xml
15:49:42 M: 17936384   DEBUG: Load Q:\skin\Project Mayhem III\PAL\script-OpenSubtitles_OSD-main.xml: 62.33ms
15:49:42 M: 17870848   DEBUG: Alloc resources: 93.79ms (62.73 ms skin load, 0.00 ms preload)
15:49:42 M: 17870848   DEBUG: CGUIMediaWindow::GetDirectory (?)
15:49:42 M: 17870848   DEBUG:   ParentPath = []
15:49:42 M: 17870848   ERROR: DIRECTORY::CDirectory::GetDirectory - Error getting ?
15:49:42 M: 17870848   ERROR: CGUIMediaWindow::GetDirectory(?) failed
15:49:42 M: 17858560  NOTICE: INFO: onInit
15:49:42 M: 17858560  NOTICE: INFO: set_filepath [F:\Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRi​p.XviD.avi]
15:49:42 M: 16146432  NOTICE: INFO: Connecting to server http://www.opensubtitles.org/xml-rpc...
15:49:42 M: 16146432   DEBUG: LoadLibraryA('ws2_32')
15:49:42 M: 16146432   DEBUG: LoadLibrary('ws2_32.dll') returning: 00812CD8
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getaddrinfo') => 0023E705
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getaddrinfo') => 0023E705
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'getnameinfo') => 0023DE03
15:49:42 M: 16146432   DEBUG: dllGetProcAddress(00812C98(ws2_32.dll), 'freeaddrinfo') => 0023D977
15:49:43 M: 16146432  NOTICE: INFO: Logging in anonymously...
15:49:44 M: 16146432  NOTICE: INFO: Connected
15:49:44 M: 16146432  NOTICE: INFO: Retrieve subtitle languages...
15:49:45 M: 16142336  NOTICE: INFO: Retrieved subtitle languages
15:49:45 M: 16142336  NOTICE: INFO: Searching subtitles A.Christmas.Story.1983.DVDRip.XviD.avi
15:49:45 M: 16060416  NOTICE: INFO: set_filehash [97d143c1d7aebdd8]
15:49:45 M: 16060416  NOTICE: INFO: set_filesize [873864960]
15:49:45 M: 16060416  NOTICE: INFO: Searching subtitles by hash for \Videos\Movies\A.Christmas.Story.1983.DVDRip.XviD\A.Christmas.Story.1983.DVDRip.​XviD.avi
15:49:47 M: 16056320  NOTICE: INFO: No subtitles found
15:49:47 M: 16056320  NOTICE: INFO: No subtitles found
15:49:47 M: 16056320  NOTICE: INFO: Searching subtitles A+Christmas+Story
15:49:47 M: 16056320  NOTICE: INFO: Searching subtitles by name for A+Christmas+Story
15:49:47 M: 16056320  NOTICE: INFO: http://www.opensubtitles.com/en/search/sublanguageid-all/moviename-A+Christmas+Story/simplexml
15:49:50 M: 15675392  NOTICE: INFO: 25 subtitles found
15:49:50 M: 15654912  NOTICE: INFO: 25 subtitles found
15:49:51 M: 15900672   DEBUG: CApplication::OnKey: 271 pressed, action is 4
15:49:51 M: 15900672   DEBUG: CApplication::OnKey: 256 pressed, action is 7
15:49:51 M: 15888384  NOTICE: INFO: download_subtitles
15:49:51 M: 15888384    INFO: Loading skin file: DialogProgress.xml
15:49:51 M: 15876096   DEBUG: Load DialogProgress.xml: 31.70ms
15:49:51 M: 15814656   DEBUG: Alloc resources: 36.71ms (0.00 ms skin load, 0.00 ms preload)
15:49:52 M: 15437824  NOTICE: ERROR: Error! [Errno 2] No such file or directory: 'F:\\Videos\\Movies\\A.Christmas.Story.1983.DVDRip.XviD\\Christmas Story, A (1983).zip'
15:49:52 M: 15437824  NOTICE: INFO: extract_subtitles
15:49:52 M: 15437824  NOTICE: ERROR: Error! [Errno 2] No such file or directory: 'F:\\Videos\\Movies\\A.Christmas.Story.1983.DVDRip.XviD\\Christmas Story, A (1983).zip'
15:49:56 M: 15863808   DEBUG: CApplication::OnKey: 275 pressed, action is 10
15:49:56 M: 17137664    INFO: Scriptresult: Succes
15:49:56 M: 17137664   ERROR: CThread::staticThread : Access violation at 0x1e04a115: Reading location 0x00000028
15:49:57 M: 17670144   DEBUG: CApplication::OnKey: 270 pressed, action is 3
15:49:58 M: 17670144   DEBUG: CApplication::OnKey: 256 pressed, action is 7
15:49:58 M: 17657856   DEBUG: CApplication::OnMessage : Translating XBMC.ActivateWindow(124)
15:49:58 M: 17657856   DEBUG: CApplication::OnMessage : To XBMC.ActivateWindow(124)

did you by any chance do the hack mentioned earlier in this thread? the one that enables downloading subtitles for streaming files?

you have the wrong zip file name.... Unless you did that hack it is very strange.

maybe try updating to the latest version 1.07, You can do it from XBMC repo installer.


Zeljko
find
Bram77 Offline
Skilled Python Coder
Posts: 1,373
Joined: Feb 2008
Reputation: 32
Location: Netherlands
Post: #40
The script is not working on the XBOX (probably mentioned before) the path to the script is incorrect. It's looking for default.py in "special://home/scripts/OpenSubtitles_OSD" which should be .... "special://scripts/OpenSubtitles_OSD" if I'm correct...

I've been hoping for this plugin for ages...great job Smile
Would you consider integrating the SubLight database to? -> http://www.sublight.si/
The developer has asked for integration on the forums and his app and database are great! Rapidly growing, fast and stable and he is willing to help (documentation about the api is available on his website).

Thanks for this great addition!

[Image: widget]

Please add to my reputation if you find my posts usefull (+/- button below posts)
Ubuntu 12.10 minimal XBMC auto-install script :: XBMControl :: Xbmc XBOX Skins :: XBMControl for Android :: Owner of Sudo Systems
(This post was last modified: 2009-08-12 00:11 by Bram77.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #41
Bram77 Wrote:The script is not working on the XBOX (probably mentioned before) the path to the script is incorrect. It's looking for default.py in "special://home/scripts/OpenSubtitles_OSD" which should be .... "special://scripts/OpenSubtitles_OSD" if I'm correct...

Its working on my side. I think there has been at least one person confirming it working on XBOX.

all the documentation I found points that special://home/scripts/ is correct


If you do the skin hack and then install it from XBMC repo installer it should work.

Quote:Would you consider integrating the SubLight database to? -> http://www.sublight.si/
The developer has asked for integration on the forums and his app and database are great! Rapidly growing, fast and stable and he is willing to help (documentation about the api is available on his website).

This is a next step. It shouldn't be so difficult, but I want to sort out all the bugs for this one first before taking it to a next level.

I am glad you find it useful, I thought I was the only one missing this feature Smile

Zeljko
(This post was last modified: 2009-08-12 00:32 by amet.)
find
blittan Offline
Team-XBMC Handyman
Posts: 1,747
Joined: Jun 2004
Reputation: 11
Location: Sweden
Post: #42
special://xbmc/scripts are more accurate

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
If you don't have the time to read them, please don't take the time to post in this forum!
For troubleshooting and bug reporting please make sure you read this first.
find
Meez Offline
Member
Posts: 71
Joined: Feb 2009
Reputation: 0
Post: #43
it does work on xbox, i can now confirm. i use it with the PMIII skin. i was able to download a subtitle, finally, but it was for a different movie than the one i tested before. must be a problem with subtitles/zip files of the first movie i tried.

one request for a feature is to auto-extract the zip and rename the .srt/.sub to match the filename of the movie. when i downloaded the subtitle, it was in a zip and i had to browse into the zip to load the .srt.
find
johoja Offline
Fan
Posts: 567
Joined: Aug 2009
Reputation: 0
Post: #44
The renaming would be an awesome addition.
(This post was last modified: 2009-08-12 07:45 by johoja.)
find
amet Offline
Retired Team-Kodi Member
Posts: 4,090
Joined: Jul 2009
Reputation: 41
Location: Novi Sad / Dubai
Post: #45
Meez Wrote:it does work on xbox, i can now confirm. i use it with the PMIII skin. i was able to download a subtitle, finally, but it was for a different movie than the one i tested before. must be a problem with subtitles/zip files of the first movie i tried.

one request for a feature is to auto-extract the zip and rename the .srt/.sub to match the filename of the movie. when i downloaded the subtitle, it was in a zip and i had to browse into the zip to load the .srt.

It does auto-extract and rename to the name of the movie + language name at the end

ie: Seven Pounds.avi
Seven Pounds.en.srt

If Seven Pounds.en.srt exists in a folder it will rename it to Seven Pounds.en1.srt

Nixa sugested a mod to allow sub downloads for streaming video,

Quote:For those who is interested, here is what you need to do. There are only 2 files you need to modify.

(1) default.py - you need to replace the "xbmc.Player().getPlayingFile()" with xbmc.getInfoLabel("listitem.filename")
(2) gui.py - you need to replace the "xbmc.Player().getPlayingFile()" with xbmc.getInfoLabel("listitem.filename")

If you do that it gets the wrong name for the original file, and when it starts renaming the subtitles it goes wrong.


Please update to the latest version and post your log file.




Zeljko
(This post was last modified: 2009-08-12 08:31 by amet.)
find
Thread Closed