What if XBMC could... (add Netflix/Hulu/Whatever-you-want to the library)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bradvido88 Offline
Donor
Posts: 800
Joined: Nov 2008
Reputation: 9
Location: MN
Post: #1
Demonstration: http://www.youtube.com/watch?v=UH8YmxsHNWQ&hd=1

Having online content in XBMC's library has always been a dream for me. Other media centers are focused on this (Boxee for example), but no other media center is a stable, fast, and sexy as XBMC, so I want to stick with it Smile

XBMC currently has no native support for this. Plugins are your only option. But I hate how slow it is to navigate to and through them. I want all of my media in my library!
So I've been slowly developing a program that lets you add anything to your library.

My goal is that any source that you can add to XBMC (such as upnp, plugins, http, ftp, etc) should be able to be scanned to the library.

In development, I've had success adding content from these sources:
  • PlayOn (inludes Netflix/Hulu/CBS/Vevo, and more)
  • Bluecop's Hulu plugin
  • Yahoo music video's plugin
I've only tested these sources, but in theory, it should work with any source.

If others have considerable interest in this, I will release it to the public once it is stable.

Let me know your thoughts.

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
(This post was last modified: 2011-03-17 15:05 by bradvido88.)
find quote
thedeadman Offline
Skilled Skinner
Posts: 372
Joined: Dec 2010
Reputation: 7
Location: U.K
Post: #2
You beat me to it - definitely on my list of must haves...

A big thumbs up from me :-)

theDeadMan
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,221
Joined: Oct 2003
Reputation: 178
Post: #3
The main problem with this (as I'm sure you've discovered in your travels) is ensuring that the URLs are stable. For UPnP this is in general not the case, and I suspect for many addons it's not the case either.

Reason is that in the online world, very few URLs are stable, and hence, you often need to manufacture a "stable" URL that is basically a wrapper on a search function that finds the URL_at_time_of_play (if it exists). Essentially you need a unique identifier that you can use.

The way I see this occurring would be a way for addons to supply XBMC with said unique identifiers, and a way for XBMC then to ask the addon for the actual URL when required. It would also need to have a way of telling XBMC when those unique identifiers are no longer valid.

XBMC would then have to handle multiple identifiers for the same piece of content (as you could have multiple sources for the same episode for instance) and allow the user to choose (in addition to auto-selection based on quality or previous selection etc.)

I'm not convinced that using the existing addon API is appropriate for this, or whether it's better to define a new interface that more clearly differentiates between browsing the addon and "scanning" the addon.

Cheers,
Jonathan

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.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
Robotica Offline
Posting Freak
Posts: 1,202
Joined: Aug 2010
Reputation: 5
Post: #4
jmarshall Wrote:The main problem with this (as I'm sure you've discovered in your travels) is ensuring that the URLs are stable. For UPnP this is in general not the case, and I suspect for many addons it's not the case either.

Reason is that in the online world, very few URLs are stable, and hence, you often need to manufacture a "stable" URL that is basically a wrapper on a search function that finds the URL_at_time_of_play (if it exists). Essentially you need a unique identifier that you can use.

The way I see this occurring would be a way for addons to supply XBMC with said unique identifiers, and a way for XBMC then to ask the addon for the actual URL when required. It would also need to have a way of telling XBMC when those unique identifiers are no longer valid.

XBMC would then have to handle multiple identifiers for the same piece of content (as you could have multiple sources for the same episode for instance) and allow the user to choose (in addition to auto-selection based on quality or previous selection etc.)

I'm not convinced that using the existing addon API is appropriate for this, or whether it's better to define a new interface that more clearly differentiates between browsing the addon and "scanning" the addon.

Cheers,
Jonathan

This topic is trying to resolve this in a uniform way: http://forum.xbmc.org/showthread.php?tid=95417
find quote
pkscout Offline
Posting Freak
Posts: 1,143
Joined: Jan 2011
Reputation: 23
Location: Honolulu, HI
Post: #5
bradvido88 Wrote:If others have considerable interest in this, I will release it to the public once it is stable.

Let me know your thoughts.

I'd definitely be interested in this. I watch a few things via plugins, but I mostly forget to watch them. If there were references in my main library that would be great. Most specifically I'm interested in The Daily Show and Colbert Report, but I could imagine some others too.
find quote
bradvido88 Offline
Donor
Posts: 800
Joined: Nov 2008
Reputation: 9
Location: MN
Post: #6
To get around any changing URLs, my program automatically updates a URL when it changes in the source.

There are still a few quirks I have to work out... but it's definitely increased the WAF in my household.

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
find quote
Aenima99x Offline
Donor
Posts: 1,129
Joined: Aug 2007
Reputation: 8
Location: California
Post: #7
Looking forward to this.
find quote
gugahoi Offline
Fan
Posts: 723
Joined: Aug 2009
Reputation: 5
Post: #8
This is a great idea, keep up the good work
find quote
loki131 Offline
Senior Member
Posts: 115
Joined: Dec 2010
Reputation: 0
Thumbs Up   
Post: #9
This is the only thing I miss from boxee! Thanks for the hard work, I look forward to trying it out! Big Grin
find quote
RaNaMaster Offline
Member
Posts: 97
Joined: Oct 2010
Reputation: 0
Post: #10
why woudnt we =)
find quote
Cool_bombom Offline
Senior Member
Posts: 111
Joined: Oct 2008
Reputation: 1
Post: #11
I would love to see this feature implemented in XBMC too!!

+1 from me!!

cheers
C_bb
find quote
anarchintosh Offline
Senior Member
Posts: 279
Joined: Jul 2010
Reputation: 4
Post: #12
there is a patch that has been written by tiben20 that uses a file as a cache (streaming actually saves the file to xbmc/temp) to avoid intermittent 'Buffering'.

this has the side benefit of saving the actual video file. its not yet complete, and it may not be accepted into xbmc trunk, but it works.

also, you might want to check out the icefilms addon, which lets you download videos straight to library, if the download paths are set up right.
find quote
patm95 Offline
Senior Member
Posts: 124
Joined: May 2010
Reputation: 0
Post: #13
Sounds awesome. Look forward to updates on this!
find quote
bradvido88 Offline
Donor
Posts: 800
Joined: Nov 2008
Reputation: 9
Location: MN
Post: #14
anarchintosh Wrote:there is a patch that has been written by tiben20 that uses a file as a cache (streaming actually saves the file to xbmc/temp) to avoid intermittent 'Buffering'.

this has the side benefit of saving the actual video file. its not yet complete, and it may not be accepted into xbmc trunk, but it works.

Can you give me a link to more info on this? I'd like to try it out.
Thanks,
BradVido

XBMC.MyLibrary (add anything to the library)
ForTheLibrary (Argus TV & XBMC Library PVR Integration)
SageTV & XBMC PVR Integration
find quote
icky Offline
Senior Member
Posts: 155
Joined: Aug 2008
Reputation: 5
Post: #15
@bradvido88,

i would love to test what you have made so far and see if i can help bring the dev along Smile
find quote
Post Reply