I've written a small program to help stream Sirius satellite radio to my MP101. I'd like to release the application, but I really need to get some issues fixed first.
Basically behind the scenes, uSirius logs into Sirius, fetchs the channels, and generates RSS feeds. (I used the TVersity one as an example)
Inside the feed, it contains links back to my uSirius application. When a item is fetched, it redirects to the correct Sirius stream url. Here is an example of my xml:
- Code: Select all
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
- <channel>
<title>uSirius Channel Feed</title>
<link>http://http://192.168.1.101:811/feed?type=asx&r=1166594895</link>
<guid>http://http://192.168.1.101:811/feed?type=asx&r=1166594895</guid>
<description>English</description>
<language>en-us</language>
- <item>
<title>1 - SIRIUS Hits 1</title>
<link>http://192.168.1.101:811/stream?channel=1&stream=siriushits1&genre=pop&category=music&type=asx&r=1166594895</link>
<description>The songs at the top of the charts and the latest pop hits.</description>
<media:content url="http://192.168.1.101:811/stream?channel=1&stream=siriushits1&genre=pop&category=music&type=asx&r=1166594895" type="video/x-ms-asf" medium="audio" />
<language>English</language>
<upnp:region>United States</upnp:region>
</item>
I really wanted the feed to just contain urls as an mms link, but the embedded web server I'm using (GoAhead) gets totally crazy and pretty much locks the machine up if something other than an HTTP request hits it.
Anyway, if I enter the url of the stream as an Audio URL in TVersity, I have no problems. Everything works as expected. If I try to use the XML feed, since they're not mms links, TVersity tries to fetch each one, one by one. What's also weird is that it fetchs the feed more than once as well.
Here are my logs:
- Code: Select all
01:15:45 - Incoming request for uSirius Channel Feed
01:15:45 - Incoming request completed.
01:15:45 - Incoming request for uSirius Channel Feed
01:15:45 - Incoming request completed.
01:15:45 - Incoming request for uSirius Channel Feed
01:15:45 - Incoming request completed.
01:15:45 - Incoming request for uSirius Channel Feed
01:15:45 - Incoming request completed.
01:15:45 - Incoming request for asx
01:15:45 - 1 - SIRIUS Hits 1: The songs at the top of the charts and the latest pop hits.
01:15:46 - Incoming request for asx
01:15:46 - 2 - StarLite: Contemporary lite songs from the brightest stars in pop music.
01:15:48 - Incoming request for asx
01:15:48 - 3 - SIRIUS Love: Romantic ballads and soft pop music, featuring lyrics of love.
01:15:50 - Incoming request for asx
01:15:50 - 4 - Movin' Easy: Soft and easy favorites all day and all night.
01:15:51 - Incoming request for asx
01:15:51 - 5 - SIRIUS Gold: The roots of rock roll, from the late '50s and early '60s.
01:15:53 - Incoming request for asx
01:15:53 - 6 - '60s Vibrations: Relive the musical revolution of the '60s and early '70s.
01:15:55 - Incoming request for asx
01:15:55 - 7 - Totally '70s: The most popular music from the '70s.
01:15:57 - Incoming request for asx
01:15:57 - 8 - Big '80s: The defining hit music of the '80s.
01:15:58 - Incoming request for asx
01:15:58 - 9 - The Pulse: From pop to rock, this is the '90s Now.
Normally, I wouldn't care that it's trying to fetch each URL, but in this situation I really do. Behind the scenes I'm connecting to Sirius, playing with cookies, etc. I really want to access their site as least as possible.
Finally, I think TVersity seems to cache the transcoding. If I play the same channel again, it will be what I heard before. Is there some option in the feed I can use to force the url not to cache?
Sorry for all the questions. I'd appreciate any help I can get. I'm so close to being finished.
TVersity certainly has breathed new life into my MP101.
Thanks,
-- Jason
