Board index   FAQ   Search  
  Login

PLEASE VISIT OUR NEW FORUMS FOR FUTURE POSTING. THIS FORUM REMAINS ONLINE FOR ARCHIVE PURPOSES ONLY.

Board index <dev>GENERAL</dev>

Movie Title OSD

This is or all devs of all types. For devs, by devs.

Re: Movie Title OSD

Postby Bstrdsmkr » Thu Mar 01, 2012 11:04 pm

Convert them to plugin:// urls and handle the wait times and etc there
Bstrdsmkr
XBMC HUB TEAM
 
Posts: 1876
Joined: Mon Jan 16, 2012 10:30 pm

Re: Movie Title OSD

Postby k_zeon » Fri Mar 02, 2012 3:21 am

Bstrdsmkr wrote:Convert them to plugin:// urls and handle the wait times and etc there


I have no idea how to do this, is there another addon that does this that i can use as an example or can you give me an example

tks
k_zeon
INVOLVED USER
 
Posts: 147
Joined: Wed Jan 25, 2012 9:10 am

Re: Movie Title OSD

Postby Bstrdsmkr » Fri Mar 02, 2012 4:15 am

I mean setup a Play_url() function in your addon. Then use the url to that function to handle any wait times and etc. So the url you set on your listitem would be something like:

Code: Select all
plugin://script.video.1channel/?url=http://www.example.com&title=Title_to_be_shown&other_random_parameter=some_other_information_you_need


Edit: I think this explains it better: http://forum.xbmc.org/showthread.php?t=118083
Bstrdsmkr
XBMC HUB TEAM
 
Posts: 1876
Joined: Mon Jan 16, 2012 10:30 pm

Re: Movie Title OSD

Postby k_zeon » Fri Mar 02, 2012 8:34 am

I have a working script that get host names ie Putlocker etc from a page from 1 to (no diff hosts)
as i get each one i load a page that get the host url and then build my menu with the Host name and the correct url.
This can take some time as some list up to 50 host links.


What i have now done is scrape the 1st page only so dont load each page to get host url
and then when selecting play get the host url then.

I have this working, however once some pages are loaded the movie can have multiple parts
and will only know it has parts once the play button is pressed.

My question is how can i let the user know before hand if a movie has parts or do i just stick with loading each page and getting details as i build the menu

tks
k_zeon
INVOLVED USER
 
Posts: 147
Joined: Wed Jan 25, 2012 9:10 am

Re: Movie Title OSD

Postby Bstrdsmkr » Fri Mar 02, 2012 3:38 pm

Check for multiple parts when you make that last page call. If it finds multiple parts, pop another selection box instead of playing. Then when they select a part, go through playing. You can get really fancy and have an option to not show the second dialog and just add all the parts to the playlist too
Bstrdsmkr
XBMC HUB TEAM
 
Posts: 1876
Joined: Mon Jan 16, 2012 10:30 pm

Re: Movie Title OSD

Postby Eldorado » Fri Mar 02, 2012 3:42 pm

Yep, I would take that route too.. actually I did once :)

Check out my Red Letter Media for a visual of what Bstrdsmkr is describing
User avatar
Eldorado
DEV
 
Posts: 816
Joined: Wed Jan 04, 2012 12:15 pm

Previous

Return to <dev>GENERAL</dev>



Who is online

Users browsing this forum: No registered users and 1 guest