Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 8 123 ... LastLast
Results 1 to 10 of 73
  1. #1
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    Sirius WMA stream works via SoftSqueeze but not on hardware player

    I went ahead and started working on a Sirius plugin. I am able to get it to play a WMA stream when using SoftSqueeze, however, for some reason the stream will not play on my SB2. The display says it is playing the stream, but there's no audio. The server is running 6.5beta. Any ideas???

    I enabled d_directstream debugging and here's some of the output:
    2006-02-05 22:19:37.2656 SiriusRadio: Token:BLAH
    2006-02-05 22:19:37.7703 SiriusRadio: Login Successful.
    2006-02-05 22:19:37.9614 SiriusRadio: Hash Key:BLAH
    2006-02-05 22:19:38.1076 SiriusRadio: StreamURL:mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0
    2006-02-05 22:19:55.8725 This player supports direct streaming for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 as mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0, let's do it.
    2006-02-05 22:19:55.9323 setting up direct stream (3423088900:80) autostart: 3.
    2006-02-05 22:19:55.9334 request string: GET /wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 HTTP/1.0
    Accept: */*
    User-Agent: NSPlayer/4.1.0.3856
    Host: wmbcast.siriusradio2-secure.speedera.net
    Pragma: xClientGUID={d6c8484b-21e8-eb67-085c-911f3257809f}
    Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0
    Connection: Close


    2006-02-05 22:19:56.9961 processing headers for direct streaming
    2006-02-05 22:19:56.9968 $VAR1 = 'HTTP/1.0 200 OK
    Content-Type: application/vnd.ms.wms-hdr.asfv1
    Server: Cougar/9.00.00.3380
    Content-Length: 806
    Date: Mon, 06 Feb 2006 04:19:55 GMT
    Pragma: no-cache, client-id=3022753366, xResetStrm=1, features="broadcast"
    Cache-Control: no-cache, x-wms-stream-type="broadcast"
    Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT
    Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache

    ';
    2006-02-05 22:19:56.9984 Backtrace:

    frame 0: Slim::Player::Squeezebox2::directHeaders (/PerlApp/Slim/Networking/Slimproto.pm line 380)
    frame 1: Slim::Networking::Slimproto::_http_response_handle r (/PerlApp/Slim/Networking/Slimproto.pm line 287)
    frame 2: Slim::Networking::Slimproto::client_readable (/PerlApp/Slim/Networking/Select.pm line 117)
    frame 3: Slim::Networking::Select::select (slimserver.pl line 626)
    frame 4: main::idle (slimserver.pl line 562)
    frame 5: main::main (slimserver.pl line 59)
    frame 6: PerlSvc::Interactive (perlsvc.pl line 1485)
    frame 7: PerlSvc::_interactive (slimserver.pl line 0)
    frame 8: (eval) (slimserver.pl line 0)

    2006-02-05 22:19:56.0004 processing 8 headers
    2006-02-05 22:19:56.0006 header: Content-Type: application/vnd.ms.wms-hdr.asfv1
    2006-02-05 22:19:56.0008 header: Server: Cougar/9.00.00.3380
    2006-02-05 22:19:56.0009 header: Content-Length: 806
    2006-02-05 22:19:56.0011 header: Date: Mon, 06 Feb 2006 04:19:55 GMT
    2006-02-05 22:19:56.0013 header: Pragma: no-cache, client-id=3022753366, xResetStrm=1, features="broadcast"
    2006-02-05 22:19:56.0016 header: Cache-Control: no-cache, x-wms-stream-type="broadcast"
    2006-02-05 22:19:56.0018 header: Last-Modified: Sat, 30 Dec 1899 00:00:00 GMT
    2006-02-05 22:19:56.0020 header: Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache
    2006-02-05 22:19:56.0023 it looks like a WMA file
    2006-02-05 22:19:56.0078 got a stream type:: wma bitrate: title:
    2006-02-05 22:19:56.0083 Direct stream is list, get body to explode
    2006-02-05 22:19:56.0101 got some body from the player, length 806: $H" "0&uŽf٪bl3&uŽf٪bl,u{?F? ‚`—ɢ&\b ܫŒGŽ Seh|5mJB|KXm?v 
    ??ˆ_.Ž Se.ӫŽ Se‘ܷŽ Ser@žiM[€_\D+Pÿ?a‹ xa} 
    ˆ‘ܷŽ SeNYY HW U[€_\D+x@— ^PŒWMFSDKVersion7.01.00.3055WMFSDKNeeded0.0 .0.0000@R†1 H–AR†1 HWindows Media Audio V8 32 kbps, 32 kHz, stereoa6&uŽf٪bl2|5mJB|KXm
    2006-02-05 22:19:56.3210 saving away that body message until we get an empty body
    2006-02-05 22:19:56.5239 parseDirectBody: MMS protocol handler received response body
    2006-02-05 22:19:56.7262 parseDirectBody: Parsing WMA Header info from: [mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0]
    2006-02-05 22:19:56.7294 Parsed body as WMA header.
    2006-02-05 22:19:56.7389 This player supports direct streaming for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 as mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0, let's do it.
    2006-02-05 22:19:56.7585 setting up direct stream (3423088900:80) autostart: 3.
    2006-02-05 22:19:56.7590 request string: GET /wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 HTTP/1.0
    Accept: */*
    User-Agent: NSPlayer/4.1.0.3856
    Host: wmbcast.siriusradio2-secure.speedera.net
    Pragma: xClientGUID={fa24b787-664d-6384-ac87-1014778b3133}
    Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0
    Pragma: xPlayStrm=1
    Pragma: stream-switch-count=1
    Pragma: stream-switch-entry=ffff:1:0


    2006-02-05 22:19:56.7620 got some body from the player, length 0:
    2006-02-05 22:19:56.7624 empty body means we should parse what we have for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0
    2006-02-05 22:19:56.7630 actually, the body was empty. Got nobody...
    2006-02-05 22:24:06.7368 This player supports direct streaming for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 as mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0, let's do it.
    2006-02-05 22:24:06.8762 setting up direct stream (3423088919:80) autostart: 3.
    2006-02-05 22:24:06.8768 request string: GET /wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 HTTP/1.0
    Accept: */*
    User-Agent: NSPlayer/4.1.0.3856
    Host: wmbcast.siriusradio2-secure.speedera.net
    Pragma: xClientGUID={a5e8c2e1-bd4f-0385-b159-31155d97f7be}
    Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0
    Pragma: xPlayStrm=1
    Pragma: stream-switch-count=1
    Pragma: stream-switch-entry=ffff:1:0


    2006-02-05 22:24:17.6749 This player supports direct streaming for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 as mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0, let's do it.
    2006-02-05 22:24:17.6961 setting up direct stream (3423088919:80) autostart: 3.
    2006-02-05 22:24:17.6967 request string: GET /wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 HTTP/1.0
    Accept: */*
    User-Agent: NSPlayer/4.1.0.3856
    Host: wmbcast.siriusradio2-secure.speedera.net
    Pragma: xClientGUID={975ce4b1-4271-36ee-2634-d4e688ef1737}
    Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0
    Pragma: xPlayStrm=1
    Pragma: stream-switch-count=1
    Pragma: stream-switch-entry=ffff:1:0


    2006-02-05 22:25:10.2240 This player supports direct streaming for mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 as mms://wmbcast.siriusradio2-secure.speedera.net/wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0, let's do it.
    2006-02-05 22:25:10.2831 setting up direct stream (3423088919:80) autostart: 3.
    2006-02-05 22:25:10.2836 request string: GET /wmbcast.siriusradio2-secure/wmbcast_siriusradio2-secure_apr012004_1431_57788?HashKey=BLAH&user_type =subscriber&user_id=BLAH&campaign=&stream=siriushi ts1&wmcache=0 HTTP/1.0
    Accept: */*
    User-Agent: NSPlayer/4.1.0.3856
    Host: wmbcast.siriusradio2-secure.speedera.net
    Pragma: xClientGUID={9eeb3f05-33e9-1dcb-abbe-2be4bcfd6dc1}
    Pragma: no-cache,rate=1.0000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0
    Pragma: xPlayStrm=1
    Pragma: stream-switch-count=1
    Pragma: stream-switch-entry=ffff:1:0

    Thanks
    -Greg
    Last edited by GoCubs; 2006-02-05 at 21:55.

  2. #2
    Senior Member malsbury's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, MA
    Posts
    139
    Quote Originally Posted by GoCubs
    I went ahead and started working on a Sirius plugin. I am able to get it to play a WMA stream when using SoftSqueeze, however, for some reason the stream will not play on my SB2. The display says it is playing the stream, but there's no audio. The server is running 6.5beta. Any ideas???
    I can't say for certain, but I don't think that softsqueeze handles WMA direclty meaning that it is being transcoded by Slimserver before being piped out to softsqueeze. I can only assume that whatever you are using on your slimserver to handle WMA streams handles the stream from Sirius better then the native decoder on the SB2. Is there a way to force transcoding to be handled on the slimserver as a test.

    If you would like, I have a sirius account and am currently running 6.5b and would be willing to test it out. I have an older setup of only SliMP3s running off a linux server that handles WMA streams through mplayer.

    I am currently running a highly modified version of your SuperDateTime screensaver that I reworked to work better in an all SliMP3 single line display environment. All that to say, I am fairly familar with you coding style

    --Tom Malsbury

  3. #3
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570

    PLEASE HELP- New plugin wont stream WMA to SB2, but will to SoftSqueeze

    Quote Originally Posted by malsbury
    I can't say for certain, but I don't think that softsqueeze handles WMA direclty meaning that it is being transcoded by Slimserver before being piped out to softsqueeze. I can only assume that whatever you are using on your slimserver to handle WMA streams handles the stream from Sirius better then the native decoder on the SB2. Is there a way to force transcoding to be handled on the slimserver as a test.

    If you would like, I have a sirius account and am currently running 6.5b and would be willing to test it out. I have an older setup of only SliMP3s running off a linux server that handles WMA streams through mplayer.

    I am currently running a highly modified version of your SuperDateTime screensaver that I reworked to work better in an all SliMP3 single line display environment. All that to say, I am fairly familar with you coding style
    Tom-
    Thanks for the message. I was hoping to get some additional responses, but so far I'm surprised I haven't gotten much feedback.

    Here's a link to my current version:
    http://www.abovethelaw.com/squeeze/S...o0-1-0BETA.zip

    Obviously, a Sirius online account is required. For this version you'll need to edit the plugin.pm file on line 21 and 22 to include your username and password. The password has to be converted to MD5 one way encryption format. For now you have to do this manually by visiting http://fakeboard.com/examples/sirius/md5Password.html and entering in just your password. This site uses javascript to output the password that you then enter into the plugin.

    Using the plugin:
    Once installed, there will be a Sirius Radio option available on the player via the Plugin screen. When you hit the right button to enter the plugin it will say "Sirius Internet Radio. Not logged in." To login you hit the right button again. If you login appears successful, the screen will update to say "Logged in." Next, hit the Add/+ button. This will clear your play list and add a mms stream to Sirius Hits 1. To play the stream, hit the "Now Playing" button and then the "Play" button. The display should say "Connecting to Hits 1" and after a few seconds the stream should start to play.

    I haven't figgured out yet if/when the login or MMS stream link times out, so you may need to restart the plugin to get a fresh login/stream as it currently only fetches this the first time it is run.

    As discussed in my previous message above, the plugin currently works fine when playing via Softsqueeze. For some reason it never starts the stream on a SB2/3 (although the screen claims it is playing). I haven't tried it on a SBG, but it would probably need to use AlienBBC to stream the MMS.

    Any help would be greatly appreciated. Once I get a stream working reliably I'll clean up the plugin to be more robost and add all the other channels.

    Thanks
    -Greg

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Posts
    8,410

    Re: Sirius WMA stream works via SoftSqueeze but notonhardware player

    > As discussed in my previous message above, the plugin currently works
    > fine when playing via Softsqueeze. For some reason it never starts the
    > stream on a SB2/3 (although the screen claims it is playing). I haven't
    > tried it on a SBG, but it would probably need to use AlienBBC to stream
    > the MMS.
    >


    Only SB2/3 supports internal WMA conversion. For Softsqueeze and older players (SBG etc), the server needs to decode the wma stream
    to something else.
    This is then server OS specific. On windows, slimserver uses a utility (wmadec) to call the call the wma decoding libraries
    installed on the PC. I think this gives the most compatibility and is why you see this working. If you are on another OS (e.g.
    linux) then something else (e.g. mplayer) may be able to decode the streams but it is not supported by slim.

    It sounds like you have a stream which the SB2/3 firmware can't decode, but wmadec on a PC can. In this case have you tried
    dissabling wma-wma (builtin) in file types to see if you can force it to always do this?


  5. #5
    Senior Member malsbury's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, MA
    Posts
    139
    Quote Originally Posted by GoCubs
    Here's a link to my current version:
    http://www.abovethelaw.com/squeeze/S...o0-1-0BETA.zip

    As discussed in my previous message above, the plugin currently works fine when playing via Softsqueeze. For some reason it never starts the stream on a SB2/3 (although the screen claims it is playing). I haven't tried it on a SBG, but it would probably need to use AlienBBC to stream the MMS.

    Any help would be greatly appreciated. Once I get a stream working reliably I'll clean up the plugin to be more robost and add all the other channels.

    Thanks
    -Greg
    I have to say that it works great on my system. It accepted my username and hashed password without issue. It is getting the stream url and passing that through mplayer for convertion to MP3 and out to my Slimp3 without any problem.

    For the record this is a succesful install on the following system:

    CentOS 4.1 (Redhat EL4 based)
    Slimserver 6.5b (Feb 6th Nightly rpm)
    AlienBBC 1.00a (to handle MMS streams through mplayer)
    SliMP3s & Softsqueeze 2.3

    I have to admit that I've had a Sirius account for over a year and have never used the streaming service. When I'm home I use my Slimp3s and when I'm at work I use SoftSqueeze. I am surprized at the low quality tinny sound of the streams. I thought it might be due to the transcoding with mplayer, but tried the sirius player on my laptop to connect directly and it sounded just as bad. I edited the plugin to play one of the Talk stations that are available, they at least sound half decent at the low bitrate that Sirius provides.

    I also added the following to the top of the plugin to put it in the Internet Radio section of the menu. I know it's early, but I kept automatically kept looking for it there while I was playing with it.

    Code:
    sub addMenu {
        return "RADIO";
    }
    Let me know if you need any additional help in test future versions. I'll keep an eye out for new posts.

    --Tom Malsbury

  6. #6
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    Quote Originally Posted by Triode
    >
    It sounds like you have a stream which the SB2/3 firmware can't decode, but wmadec on a PC can. In this case have you tried
    dissabling wma-wma (builtin) in file types to see if you can force it to always do this?
    Is this done via Server Settings -> File Types? I tried unchecking Windows Media -> Windows Media (built in) and it still does not work. Even with a SlimServer restart.

    Any ideas?

    Thanks
    -Greg

  7. #7
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    Quote Originally Posted by malsbury
    I have to say that it works great on my system. It accepted my username and hashed password without issue. It is getting the stream url and passing that through mplayer for convertion to MP3 and out to my Slimp3 without any problem.

    For the record this is a succesful install on the following system:

    CentOS 4.1 (Redhat EL4 based)
    Slimserver 6.5b (Feb 6th Nightly rpm)
    AlienBBC 1.00a (to handle MMS streams through mplayer)
    SliMP3s & Softsqueeze 2.3

    I have to admit that I've had a Sirius account for over a year and have never used the streaming service. When I'm home I use my Slimp3s and when I'm at work I use SoftSqueeze. I am surprized at the low quality tinny sound of the streams. I thought it might be due to the transcoding with mplayer, but tried the sirius player on my laptop to connect directly and it sounded just as bad. I edited the plugin to play one of the Talk stations that are available, they at least sound half decent at the low bitrate that Sirius provides.

    I also added the following to the top of the plugin to put it in the Internet Radio section of the menu. I know it's early, but I kept automatically kept looking for it there while I was playing with it.

    Code:
    sub addMenu {
        return "RADIO";
    }
    Let me know if you need any additional help in test future versions. I'll keep an eye out for new posts.

    --Tom Malsbury
    Thanks Tom for trying it out. It's good to hear that it appears to work when the stream is handed over to mplayer. I'd really like to get this working with the built in decoders though!

    As for the bitrate, yeah, 32kbs streams isn't what you'd expect from a premium service Hopefully they'll improve this at some point down the road.

    It's funny you suggested the addMenu Radio code. Ironically right after I posted the zip file I added that on my own and wondered if anyone would complain that my posted version appeared in the plugins menu instead of Internet radio. It's also the only code I've added to it today! So funny.

    -Greg

  8. #8
    Senior Member GoCubs's Avatar
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,570
    For fun I just tried an old SBG of mine using a Windows server on my laptop and it worked fine...

    -Greg

  9. #9
    Senior Member malsbury's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, MA
    Posts
    139
    Quote Originally Posted by GoCubs
    For fun I just tried an old SBG of mine using a Windows server on my laptop and it worked fine...
    -Greg
    I know it is early in the development of this plugin, and it is not that easy for others to test since you need a Sirius account to use it, but you might want to file a bug report for this issue. It seems that you have found a WMA type or at least a particular delivery meathod that SlimDevices native WMA decoder cannot handle.

    --Tom Malsbury

    PS: If and when you are done testing with your old SBG, I have a friend that has been looking for an SBG. If it is just taking up valuable closet space maybe we can work something out.

  10. #10
    Senior Member malsbury's Avatar
    Join Date
    Apr 2005
    Location
    Northampton, MA
    Posts
    139
    Quote Originally Posted by GoCubs
    The password has to be converted to MD5 one way encryption format. For now you have to do this manually by visiting http://fakeboard.com/examples/sirius/md5Password.html and entering in just your password. This site uses javascript to output the password that you then enter into the plugin.
    Greg,

    I have attached a modified version of the plugin. I have it set to use Digest::MD5 to covert the password within the plugin. I also setup a "User Configuration" section at the top of the plugin so that it is easier to change the stream that you are trying to grab. The operation of the plugin is still the same as you had it, just simplified the user setup.

    Feel free to use and/or ignore any of these changes.

    --Tom Malsbury

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •