PDA

View Full Version : Trouble adding RSS feed manually. (Hulu queue problem potentially solved)


justinaugust
October 21st, 2008, 10:39 PM
So I figured out how to add my Hulu queue to Boxee (hopefully). Each user's queue has it's own RSS feed (ie: feed://www.hulu.com/feed/queue/2334030). So I enter it in to Boxee with the following info:

Name: Hulu Queue
Source: rss://www.hulu.com/feed/queue/2334030
Type: Video

I get the following error: "Failed to read RSS Feed" (http://dl.getdropbox.com/u/33928/Screenshots/Picture%205.PNG) (see attached screenshot)
Can anyone help me figure out why this isn't reading the rss feed?

wyopistachio
October 21st, 2008, 11:40 PM
So I figured out how to add my Hulu queue to Boxee (hopefully). Each user's queue has it's own RSS feed (ie: feed://www.hulu.com/feed/queue/2334030). So I enter it in to Boxee with the following info:

Name: Hulu Queue
Source: rss://www.hulu.com/feed/queue/2334030
Type: Video

I get the following error: "Failed to read RSS Feed" (http://dl.getdropbox.com/u/33928/Screenshots/Picture%205.PNG) (see attached screenshot)
Can anyone help me figure out why this isn't reading the rss feed?

I am guessing it is because the RSS of your queue only has links to the show address on hulu, while video podcasts have links to the files or attachments to download and play. I'm guessing that boxee uses the embed code to pull hulu in, but it won't parse the flash out of the feeds with the shows embedded (checking the "embed" box at http://www.hulu.com/feed).

The manual add for RSS works like a podcatcher like Miro or iTunes, except it must start playing the download as it comes in. Hulu and the rest work differently. Feel free to correct me if I have it wrong. :)

justinaugust
October 21st, 2008, 11:59 PM
Interesting. If I change the url to rss://www.hulu.com/feed/queue/2334030?enclosures=1 then I get the enclosures in the feed but it still gives me the same error.

Interestingly enough if I add the feed for Recently Added Videos via this url: rss://www.hulu.com/feed/recent/videos?enclosures=1 it errors out, although you can obviously add this feed in Boxee, but via a Boxee.tv URL.

wyopistachio
October 22nd, 2008, 12:17 AM
Interesting. If I change the url to rss://www.hulu.com/feed/queue/2334030?enclosures=1 then I get the enclosures in the feed but it still gives me the same error.

Interestingly enough if I add the feed for Recently Added Videos via this url: rss://www.hulu.com/feed/recent/videos?enclosures=1 it errors out, although you can obviously add this feed in Boxee, but via a Boxee.tv URL.

Thanks for the idea of adding to the end of the queue URL. It doesn't do anything for Boxee, but it makes my Queue twice as handy on my google home page :) All my "always sunny in Philadelphia"'s embedded right next to the weather and stocks.

justinaugust
October 22nd, 2008, 12:37 AM
Thanks for the idea of adding to the end of the queue URL. It doesn't do anything for Boxee, but it makes my Queue twice as handy on my google home page :) All my "always sunny in Philadelphia"'s embedded right next to the weather and stocks.
I know. I feel like I'm so close...I wonder if Boxee has to scrape each user's Hulu Queue RSS Feed to get it to work with it...

agentlame
October 22nd, 2008, 08:55 AM
boxee uses a custom protocol type called flash:// .. the rss from their site is customized for boxee.

here is an example:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:boxee="http://boxee.tv/rss" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Feature Films</title>
<link>rss://dir.boxee.tv/hulu/feature-films.xml</link>
<description>Feature Films</description>
<language>en-us</language>
<item>
<title>28 Days Later</title>
<description>Survivors try to stay a step ahead of vicious, virus-infected humans that have overrun London.</description>
<link>flash://www.hulu.com/src=http%3A%2F%2Fwww.hulu.com%2Fplayer.swf%3Fconte nt_id%3Dm1ptc2qf&width=790&height=368&bx-croptop=0&bx-cropleft=75&bx-cropright=75&bx-cropbottom=8&bx-ourl=http%3A%2F%2Fwww.hulu.com%2Fwatch%2F14177%2F2 8-days-later</link>
<media:category scheme="urn:boxee:title-type">movie</media:category>
<media:category scheme="urn:boxee:media-type">Feature Film</media:category>
<media:credit role="Actor">Alexander Delamere</media:credit>
<media:credit role="Actor">Brendan Gleeson</media:credit>
<media:credit role="Actor">Christopher Dunne</media:credit>
<media:credit role="Actor">Christopher Eccleston</media:credit>
<media:credit role="Actor">Cillian Murphy</media:credit>
<media:credit role="Actor">Emma Hitching</media:credit>
<media:credit role="Actor">Junior Laniyan</media:credit>
<media:credit role="Actor">Justin Hackney</media:credit>
<media:credit role="Actor">Kim McGarrity</media:credit>
<media:credit role="Actor">Leo Bill</media:credit>
<media:credit role="Actor">Luke Mably</media:credit>
<media:credit role="Actor">Marvin Campbell</media:credit>
<media:credit role="Actor">Megan Burns</media:credit>
<media:credit role="Actor">Naomie Harris</media:credit>
<media:credit role="Actor">Noah Huntley</media:credit>
<media:credit role="Actor">Ray Panthaki</media:credit>
<media:credit role="Actor">Ricci Harnett</media:credit>
<media:credit role="Actor">Sanjay Rambaruth</media:credit>
<media:credit role="Actor">Stuart McQuarrie</media:credit>
<media:credit role="Actor">Toby Sedgwick</media:credit>
<media:credit role="Director">Danny Boyle</media:credit>
<media:credit role="Producer">Andrew Macdonald</media:credit>
<media:credit role="Writer">Alex Garland</media:credit>
<media:category scheme="urn:boxee:genre">Horror and Thriller</media:category>
<boxee:image>http://assets.hulu.com/shows/show_thumbnail_28_days_later.jpg</boxee:image>
<media:copyright>Twentieth Century Fox</media:copyright>
<boxee:release-date>June 27, 2003</boxee:release-date>
<media:rating schema="urn:mpaa">R</media:rating>
<boxee:runtime>1:53:11</boxee:runtime>
</item>
</channel>
</rss>

justinaugust
October 22nd, 2008, 09:52 AM
So is there a way to get our user queues filtered through whatever boxee does to create an acceptable RSS feed?

agentlame
October 22nd, 2008, 12:31 PM
not at the moment.

danb
October 22nd, 2008, 04:48 PM
boxee uses a custom protocol type called flash:// .. the rss from their site is customized for boxee.

here is an example:
[/code]

do you know how much of that feed is required? what's the bare minimum I need in order to add an rss feed that will work?

I think I have the link urls transforming correctly in this feed (http://forum.boxee.tv/showthread.php?t=1123) but I'm still getting an invalid feed error so I'm missing something...

justinaugust
October 22nd, 2008, 07:19 PM
not at the moment.

Sounds like a good enough reason to write my own PHP or Python script to do it.

agentlame
October 22nd, 2008, 07:56 PM
do you know how much of that feed is required? what's the bare minimum I need in order to add an rss feed that will work?

I think I have the link urls transforming correctly in this feed (http://feedfool.com/feedfool/feed/huluRss?feedUrl=http%3A%2F%2Fwww.hulu.com%2Ffeed%2 Fqueue%2F3857413%3Fenclosures%3D1) but I'm still getting an invalid feed error so I'm missing something...

i can't say without testing... your best bet is to take the one i posted and remove items until it stops working.

justinaugust
October 22nd, 2008, 08:08 PM
do you know how much of that feed is required? what's the bare minimum I need in order to add an rss feed that will work?

I think I have the link urls transforming correctly in this feed (http://feedfool.com/feedfool/feed/huluRss?feedUrl=http%3A%2F%2Fwww.hulu.com%2Ffeed%2 Fqueue%2F3857413%3Fenclosures%3D1) but I'm still getting an invalid feed error so I'm missing something...
THat worked totally perfectly, 100% in mine.

I could kiss you.

justinaugust
October 22nd, 2008, 08:12 PM
Confirmed it with my Queue. I am so fucking stoked.
my queue's feed (rss://feedfool.com/feedfool/feed/huluRss?feedUrl=http%3A%2F%2Fwww.hulu.com%2Ffeed%2 Fqueue%2F2334030%3Fenclosures%3D1)

danb
October 22nd, 2008, 08:39 PM
THat worked totally perfectly, 100% in mine.

I could kiss you.

wtf? I made it and I can't get it to work! how did you add it to boxee?

thanks, btw :)

agentlame
October 22nd, 2008, 09:14 PM
wtf? I made it and I can't get it to work! how did you add it to boxee?

thanks, btw :)

by editing sources.xml directly:
http://forum.boxee.tv/showthread.php?t=730&highlight=sources.xml

justinaugust
October 22nd, 2008, 09:23 PM
wtf? I made it and I can't get it to work! how did you add it to boxee?

thanks, btw :)

Yaaaar.
It plays the intro video, the ad so to speak, and then nothing!!! NOOOOTHHHIIING!

danb
October 22nd, 2008, 09:27 PM
Yaaaar.
It plays the intro video, the ad so to speak, and then nothing!!! NOOOOTHHHIIING!

well.. I did use eid instead of content_id... because I couldn't figure out how to derive content_id from the rss... if someone knew how to do that, I could probably provide a better url... I'm not sure if that's actually the source of the problem... as I still haven't tried this on my own appletv/boxee box...

danb
October 22nd, 2008, 09:28 PM
by editing sources.xml directly:
http://forum.boxee.tv/showthread.php?t=730&highlight=sources.xml

I just found that... thanks! as soon as we finish watching the daily show, I'll start testing this out a bit.

agentlame
October 22nd, 2008, 09:30 PM
no, that's not the issue...

@boxee via twitter:
boxee: we're currently having trouble playing some of the hulu streams. working on a solution.

danb
October 22nd, 2008, 09:38 PM
no, that's not the issue...

@boxee via twitter:

thanks again, agent!

do you happen to have any insight into the difference between content_id and eid? I spent a while looking for a good way to derive the content_id as that's what's in your sample... eid seems to work.. but I'm not clear on the why or how at all.

agentlame
October 22nd, 2008, 09:51 PM
thanks again, agent!

do you happen to have any insight into the difference between content_id and eid? I spent a while looking for a good way to derive the content_id as that's what's in your sample... eid seems to work.. but I'm not clear on the why or how at all.

i'm not clear on what you're referring to... i don't see any tags by those names, in the xml sample i posted.

danb
October 22nd, 2008, 10:02 PM
i'm not clear on what you're referring to... i don't see any tags by those names, in the xml sample i posted.

sorry.. it's in the link element... part of the flash:// url used by boxee

justinaugust
October 22nd, 2008, 10:02 PM
I was about to post that none of my Hulu was working.... Looks like I am late.

danb
October 23rd, 2008, 09:06 PM
I evolved this a bit.. here's a new thread: http://forum.boxee.tv/showthread.php?t=1123

justinaugust
October 23rd, 2008, 10:00 PM
Sweetness.