[RELEASE] OpenSubtitles OSD (Script)

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
amet Offline
I wave my private parts at your aunties!
Posts: 3,481
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #11
greatant1337 Wrote:Thanks for this!

Testing on win32 and xbox now.


Great, let me know how it goes.


Thanks a lot

Zeljko
find
nixa Offline
Skilled Python Coder
Posts: 215
Joined: Apr 2009
Reputation: 0
Location: Japan
Post: #12
beautifully done dude.

this script works for movie streaming (internet) too?
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,481
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #13
nixa Wrote:beautifully done dude.

this script works for movie streaming (internet) too?

No, I am afraid not, as it needs to be called from Video OSD.

Sorry
find
nixa Offline
Skilled Python Coder
Posts: 215
Joined: Apr 2009
Reputation: 0
Location: Japan
Post: #14
Amet, your hard work is much appreciated.

Yeah, as you said, the script is not meant for internet streaming as Ive tested on my apple tv.

However, I did some modification of your script and now its working for internet streaming as well. And you can get the modified version in my google page. latest: from v.1.09 internet streaming is included

note: i rarely download movies, thus this 'modified' script meant for those who only streams movie Wink

successfully tested video plugins: watchnewfilms.com, greatstufftv.com, movics.org, albavid.com and vidlcs.com
(This post was last modified: 2009-08-13 16:50 by nixa.)
find
ultrabrutal Offline
Posting Freak
Posts: 954
Joined: Feb 2005
Reputation: 0
Location: South of Heaven
Post: #15
does it use file name for searching or what about the length of the subtitles? I often find that they don't match the video and is out of sync
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,481
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #16
ultrabrutal Wrote:does it use file name for searching or what about the length of the subtitles? I often find that they don't match the video and is out of sync

it uses search by hash and by file name.



Zeljko
(This post was last modified: 2009-08-10 16:37 by amet.)
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,481
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #17
nixa Wrote:Amet, your hard work is much appreciated.

Yeah, as you said, the script is not meant for internet streaming as Ive tested on my apple tv. However, I did some modification of your script and now its working for internet streaming as well. Wink

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")

and you're done. Remember to browse your downloaded subtitle in /Volumes/Applications and make sure you tick the "Search for subtitles in RAR" in the XBMC video settings.

Okay now, to start with, you can download my watchnewfilms video plugin. I updated the plugin to remove brackets & genres as these could 'disturb' the search-string.

p/s:but if you feel dont hv time to replace the strings, you can get the modified script on my googlecode pg. (OpenSubtitles_OSD).

Credit goes to developers of those 3 scripts and Amet.

Hope to hear feedbacks on any issue arises.

great work,

I will have a look and maybe I can add it in the next update if it doesnt break the original script functionality.

What are you using for streaming?

Zeljko
find
Meez Offline
Member
Posts: 71
Joined: Feb 2009
Reputation: 0
Post: #18
trying to get this to work with PMIII (SDTV) on xbox. i get this error,

Code:
10:39:27 M: 22257664  NOTICE: -->Python Initialized<--
10:39:27 M: 22237184  NOTICE:
10:39:30 M: 17915904  NOTICE: Traceback (most recent call last):
10:39:30 M: 17915904  NOTICE:   File "Q:\scripts\OpenSubtitles_OSD\default.py", line 68, in ?
10:39:30 M: 17915904  NOTICE:
10:39:30 M: 17915904  NOTICE: ui = gui.GUI( "script-%s-%s.xml" % ( __scriptname__.replace( " ", "_" ), window, ), os.getcwd(), (skin))
10:39:30 M: 17915904  NOTICE: TypeError
10:39:30 M: 17915904  NOTICE: :
10:39:30 M: 17915904  NOTICE: XML File for Window is missing
10:39:30 M: 17915904  NOTICE:
10:39:30 M: 17915904   ERROR: Scriptresult: Error

how do i get this to work on PMIII?

thanks!!
find
nixa Offline
Skilled Python Coder
Posts: 215
Joined: Apr 2009
Reputation: 0
Location: Japan
Post: #19
i use watchnewfilms. yeah, you could integrate if it doesnt break the local streaming.
(This post was last modified: 2009-08-13 16:51 by nixa.)
find
amet Offline
I wave my private parts at your aunties!
Posts: 3,481
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #20
Meez Wrote:trying to get this to work with PMIII (SDTV) on xbox. i get this error,

Code:
10:39:27 M: 22257664  NOTICE: -->Python Initialized<--
10:39:27 M: 22237184  NOTICE:
10:39:30 M: 17915904  NOTICE: Traceback (most recent call last):
10:39:30 M: 17915904  NOTICE:   File "Q:\scripts\OpenSubtitles_OSD\default.py", line 68, in ?
10:39:30 M: 17915904  NOTICE:
10:39:30 M: 17915904  NOTICE: ui = gui.GUI( "script-%s-%s.xml" % ( __scriptname__.replace( " ", "_" ), window, ), os.getcwd(), (skin))
10:39:30 M: 17915904  NOTICE: TypeError
10:39:30 M: 17915904  NOTICE: :
10:39:30 M: 17915904  NOTICE: XML File for Window is missing
10:39:30 M: 17915904  NOTICE:
10:39:30 M: 17915904   ERROR: Scriptresult: Error

how do i get this to work on PMIII?

thanks!!

Use the version 1.02 from the first post Smile

Let me know if it works.

Zeljko
find
Thread Closed