Interesting question
#1
here are the sys requirements for xm radio online:

----------
to optimize your xm radio online listening experience, we suggest the following system configuration:

windows media player 9.0 or higher
microsoft® windows millennium edition, windows 2000, or windows xp
internet explorer 6.0 or higher
macromedia flash 6.0 or higher
pentium®-class processor
128 mb of ram
internet connection (broadband recommended)
sound card and powered speakers (or headphones)
--------------

i have an account and would love to be able to listen to my xm-radio through xbmc.  is this at all possible?  i am a programmer and would be willing to help on this even though i don't have much experience programming for the xbox.  let me know because this would be a huge addition!
Reply
#2
well give us the direct link to the mediafile (no playlist) and we'll give it a shot
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
Reply
#3
here's what i was able to get so far

http://www.xmradio.com/xstream....eed=low



i doubt that's really what you need.

here is the flash file: http://www.xmradio.com/xstream/service/p...player.swf

and here is the link directly to the radio. i don't know if you can get in w/o a username/password but i would be 100% willing to hand over my username/password to a serious developer(as you obviously are pike) if someone would be willing to see if it can be decoded.

thanks again...lemme know if you need more
Reply
#4
they obviosuly dont want people to access the streams in any other way than using their webpage, or they wouldnt go to all the trouble of "masqing" it so well. seen this many times before and i even tried several times to find the true link. problem is, the javascript parser is embedded in either windows or windows mediaplayer (as far as i can tell).

adding support for such things will probably never happen i'm afraid. there exists several "streamrippers", but i doubt anyone supports this way of masqing yet. Sad
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
Reply
#5
but it is possible to get the real stream url i think.
only xm file i could test was http://www.xmradio.com/oanda/oa.wax since your first link leads me to the xm order page only and the second one to the flashfile, but it keeps restarting whenever it managed to list the genres (instant loop).

if wmp starts this .wax file it gets this data:

Quote:000000  3c 41 53 58 20 76 65 72  73 69 6f 6e 20 3d 20 22  <asx version = "
000010  33 2e 30 22 3e 0a 3c 21  2d 2d 20 58 4d 53 52 20  3.0">.<!-- xmsr
000020  63 6f 6f 6c 53 74 72 65  61 6d 20 76 33 2e 30 2e  coolstream v3.0.
000030  31 20 2d 2d 3e 0a 20 20  20 3c 54 69 74 6c 65 3e  1 -->.   <title>
000040  4f 70 69 65 20 61 6e 64  20 41 6e 74 68 6f 6e 79  opie and anthony
000050  20 2d 20 55 6e 67 61 67  67 65 64 3c 2f 54 69 74   - ungagged</tit
000060  6c 65 3e 0a 20 20 20 3c  41 75 74 68 6f 72 3e 58  le>.   <author>x
000070  4d 20 53 61 74 65 6c 6c  69 74 65 20 52 61 64 69  m satellite radi
000080  6f 3c 2f 41 75 74 68 6f  72 3e 0a 20 20 20 3c 45  o</author>.   <e
000090  6e 74 72 79 20 43 6c 69  65 6e 74 53 6b 69 70 3d  ntry clientskip=
0000a0  22 6e 6f 22 3e 20 20 20  20 20 20 20 0a 20 20 20  "no">       .  
0000b0  20 20 20 20 3c 52 65 66  20 68 72 65 66 3d 22 6d      <ref href="m
0000c0  6d 73 3a 2f 2f 61 31 35  35 37 2e 76 35 30 35 32  ms://a1557.v5052
0000d0  65 2e 63 35 30 35 32 2e  67 2e 76 6d 2e 61 6b 61  e.c5052.g.vm.aka
0000e0  6d 61 69 73 74 72 65 61  6d 2e 6e 65 74 2f 37 2f  maistream.net/7/
0000f0  31 35 35 37 2f 35 30 35  32 2f 34 31 35 62 31 61  1557/5052/415b1a
000100  33 63 2f 78 6d 72 61 64  69 6f 2e 64 6f 77 6e 6c  3c/xmradio.downl
000110  6f 61 64 2e 61 6b 61 6d  61 69 2e 63 6f 6d 2f 35  oad.akamai.com/5
000120  30 35 32 2f 77 6d 65 64  69 61 2f 6f 61 2f 4f 41  052/wmedia/oa/oa
000130  5f 70 61 72 74 31 2e 77  6d 61 22 2f 3e 0a 20 20  _part1.wma"/>.  
000140  20 3c 2f 45 6e 74 72 79  3e 20 20 20 0a 20 20 20   </entry>   .  
000150  3c 45 6e 74 72 79 20 43  6c 69 65 6e 74 53 6b 69  <entry clientski
000160  70 3d 22 6e 6f 22 3e 0a  20 20 20 20 20 20 20 3c  p="no">.       <
000170  52 65 66 20 68 72 65 66  3d 22 6d 6d 73 3a 2f 2f  ref href="mms://
000180  61 35 38 35 2e 76 35 30  35 32 33 2e 63 35 30 35  a585.v50523.c505
000190  32 2e 67 2e 76 6d 2e 61  6b 61 6d 61 69 73 74 72  2.g.vm.akamaistr
0001a0  65 61 6d 2e 6e 65 74 2f  37 2f 35 38 35 2f 35 30  eam.net/7/585/50
0001b0  35 32 2f 34 31 35 62 31  61 35 64 2f 78 6d 72 61  52/415b1a5d/xmra
0001c0  64 69 6f 2e 64 6f 77 6e  6c 6f 61 64 2e 61 6b 61  dio.download.aka
0001d0  6d 61 69 2e 63 6f 6d 2f  35 30 35 32 2f 77 6d 65  mai.com/5052/wme
0001e0  64 69 61 2f 6f 61 2f 4f  41 5f 70 61 72 74 32 2e  dia/oa/oa_part2.
0001f0  77 6d 61 22 2f 3e 0a 20  20 20 3c 2f 45 6e 74 72  wma"/>.   </entr
000200  79 3e 20 20 20 0a 3c 2f  41 53 58 3e 0a           y>   .</asx>.

so wmp gets a asx playlist with the following entrys:
mms://a1557.v5052e.c5052.g.vm.akamaistream.net/7/1557/5052/415b1a3c/xmradio.download.akamai.com/5052/wmedia/oa/oa_part1.wma
and
mms://a1557.v5052e.c5052.g.vm.akamaistream.net/7/1557/5052/415b1a3c/xmradio.download.akamai.com/5052/wmedia/oa/oa_part1.wma

but i don't know if the same system is used for the pay accounts.

if so it should be possible to write a script, that will fetch the file from xm and extract the mms urls.



read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#6
Sad   thanks a lot for at least attempting to look at this issue.  i mean clearly they do not want anyone accessing it through anything but their website but it's just so frustrating because i want to be able to listen to xm on my main stereo system in my common room! and i don't want to sopend $100+ on a receiver and another $10/month on an account. i have a $4 online account and that would be perfect!

well, once again thanks a lot for at least entertaining the idea for a little.  have a great one!
Reply
#7
i spent about an hour tinkering with this idea when i first signed up for xm radio online. the flash interface obscuresa lot, however i think it wouldn't be too terribly hard to write something. here is what i've found.

1. they use a cookie after login to their site that expires.
2. once you have the cookie, you can access the content on their site which includes the xml containing channels and currently playing tracks.
3. when you select a channel and a stream, they pass down a asx file which links you to akmai streaming.
4. the link to akmai contains a key which is apparently rotated every few days as the link i found in the asx was good for a few days before it died.

anyone willing to take this further? i am a legit subscriber and would definately like to play it on xbmc.

chris green
Reply

Logout Mark Read Team Forum Stats Members Help
Interesting question0