Yahoo! Sirius Radio Widget mod

Categories: Music, Personal

[UPDATED: Tuesday, September 30, 2008 at 2:30:19 PM]

Tanner Jepsen created a Sirius Radio widget I've been using for years. He's since upgraded the widget to a v3 status, but I've never cared for the new UI. I prefer the compact nature of the original version.

Sometime last year, I sent Tanner a mod I had done which adds the ability to post song information to a URL (which is how I get my "now listening to" on my blog updated with my Sirius listening.) He mentioned he'd add the feature to existing updates, but I don't think he ever got around to adding the feature.

However, I recently started using Yahoo! Widget v4.5 and the Sirius Widget v2.2.x stopped working. The reason is the KON file uses some depreciated syntax. So over the weekend I modded the Sirius Widget again so that it would work in Yahoo! Widgets v4.5.

So, I thought I'd go ahead and release my mod to the wild. My mod is based on the original v2.2.0 and does the following:

  • Works with Yahoo! Widgets v4.5
  • Adds the "Web Status URL" preference to the "IM Status" tab (this posts listening information to a URL)
  • Adds new preference for toggle "Check for update" status (you can now disable this to speed initializing)

This mod is not support by Tanner and I make no guarantees the widget will work for you.

Yahoo! Widget - Sirius Tuner v2.2.3

Version History

v2.2.3 [September 30, 2008]

+ Added new preference for toggling the "check for updates" feature

Related Blog Entries

Comments

Dan Vega's Gravatar Do you have the template that reads these posts?
Clint's Gravatar Thanks a bunch for the fix.
Dan G. Switzer, II's Gravatar @Dan:

I can't share that template, but essentially your page will have the following form variables sent via a POST operation:

<cfparam name="form.type" type="string" />
<cfparam name="form.time" default="" type="string" />
<cfparam name="form.currentArtist" default="" type="string" />
<cfparam name="form.currentTitle" default="" type="string" />
<cfparam name="form.channelNum" default="" type="string" />
<cfparam name="form.channelName" default="" type="string" />
<cfparam name="form.channelDesc" default="" type="string" />

The "form.type" will always be "sirius"--this is a fixed value. I use a add-on for Winamp called "doSomething" to post to the same template what I'm listening to in Winamp, so I use the "type" to differentiate between the two.
John's Gravatar Is Tanner's web site responding for you? I can't seem to connect to www.neoscib.com and his widget isn't working for me either. The widget get's stuck saying "Logged in, retrieving channels".

Looking at a network monitor trace, the widget is trying to do a get of http://www.neoscrib.com/neoscrib/datasources.php and doesn't get a response ...
Dan G. Switzer, II's Gravatar @John:

No his website's down--which is what prompted me to fix the problem.

Upgrading to Yahoo! Widgets v4.5.2 resolved the "Logged in, retrieving channels" issue for me, but due to some depreciated XML in the SiriusTuner.kon file, the skins were all messed up.

My mod should allow you to use v2.2.2 with the Widget Engine v4.5.2. I've been using it for a few days now without incident.
John's Gravatar Your version worked for me ... thanks!!!
John's Gravatar FYI, I commented out the call to checkForUpdate at line 855 of SiriusTuner.kon to stop the Widget from automatically checking for an update when initialized. This stopped the widget from making a call to neoscrib which is no longer responding. This removed about a 60 second delay during widget initialization for me.

Thanks again, I prefer this version's UI also ... although Tanner did a great job of replicating the UI of the Stiletto Sirius player ...

John
Dan G. Switzer, II's Gravatar @John:

The disabling of the checkForUpdate() function was a good idea. I went ahead and made v2.2.3 that actually adds a toggle where you can turn this off on. While I could have gutted it, there may be a time where Tanner decides to keep maintaining this version.
J-Dizzle's Gravatar Thank you for the fix.
It is greatly appreciated.

J
Andy O's Gravatar GREAT IDEA! I completely agree with you about the new UI. I love your mod.
Kracko's Gravatar Works for me and I can use the HQ stream. Version 3 doesn't support this. THANKS!
Jayme's Gravatar So does this work with 4.5.2?

I installed it, it opens and I can click on buttons and whatnot, but I have no music and nothing comes into view on the screen aside from "Sirius Satellite Radio" and a picture of the Sirius dog.
Dan G. Switzer, II's Gravatar @Jayme:

It should work fine with v4.5.2 (that's what I'm running.) Did you put in your login credentials in the preferences? Also, make sure you click on the actual station name and not the category name (which can get confusing with things like Howard 100 where there's only one entry per category.)
jtyrrell's Gravatar Man, this is awesome. Version 2.2.2 didn't update channels correctly for me - This build of 2.2.3 solved the problem.

You should change the name of the project to something like "Sirius Tuner Classic" so we can find it on Google easier in the future :) Also the same for widgets.yahoo.com
BobMarley's Gravatar Thanks!
Dan G. Switzer, II's Gravatar @jtyrrell:

I don't really have plans on posting to the widgets site, just because this really is Tanner's work and he's pushing 3.0. I just personally prefer the "classic" interface and it generally works better for me so I'm trying to keep it alive. :)
Leigh's Gravatar Thanks a million Dan! I also don't like Tanner's new UI and am glad to see that you've fixed this version. Cheers!
Steve's Gravatar Thanks a bunch Dan!!!
Jayme's Gravatar @ Dan

Thats the thing, I put in my login credentials but I cant use the program. I try to click on the menu button in the middle of stop/play/up/down and nothing happens. I try to type in 100 and nothing happens. I just can't get it to display anything on the screen except "Sirius Satellite Radio" and the dog and I cant get any audio.

Maybe my work computer is blocking something...
Dan G. Switzer, II's Gravatar @Jayme:

If you can't listen to streaming audio through the Sirius website, you won't be able to listen to music using this widget either.

You might try unchecking the "Check for new updates" option on the "Updates" tab in the widget preferences. This will stop the widget from trying to check Tanner's website for updates.

Make sure the "User 'Whats On' date from Wdiget servers" and "Advance Whats On URL" are checked on the "What's On" tab.

Other than that, I suspect your work is blocking some of the sites needed.
Doug's Gravatar I love the player! Thank you.

Need some help. The album art doesn't seem to be showing up at all. Not sure if this is an additional setting that I missed or not, but I clicked on show album art, which I thought would do the trick.

Also, it isn't updating my yahoo messenger status, I'm running beta 9.


Any ideas?
Dan G. Switzer, II's Gravatar @Doug:

I've never cared about either of those features. 99% of the time I listen online its to talk radio, so I've never even looked into the album art. Also, I've never looked into the IM status either.

I suspect the album art is trying to be retrieved from a dead URI--but I can't say since I've never looked into it.

My guess is the Yahoo is looking for a specific version of the Yahoo client to be running that is out-of-date. I've never looked at that code to see what it's doing though.

Since neither of these things are issues I really care about, I don't they'll be things I look at fixing (especially since I use Trillian instead of using individual IM clients.) In order for me to fix things, there usually has to be some kind of incentive for me to do it--which is normally just that it's ticking me off. :)
Scott Roy's Gravatar I've installed both Widget Engine v4.5.2 and your Sirius Tuner update v2.2.3 and still nothing. I'm curious though, what url should be in the "What's On Data URL" space? I have nothing and when I select the check box "Select What's On Data Source", no sources show up when I hit the save button. Just wondering if these could be related to my problem.
Dan G. Switzer, II's Gravatar The URL I have for "What's On Data URL" actually is dead, so it won't do you any good. What version of Windows Media Player do you have installed?

I'm not sure what version is actually required, but I have WMP 11.

My guess is you're not able to communicate with the Sirius servers. You can use a HTTP proxy (like Fiddler) to at least examine the HTTP calls the widget is making. You won't actually get the streaming audio while the proxy is running, but you'll at least be able to see the traffic to get a handle on where the problem lies.
John's Gravatar The album art isn't updating because the widget is using an old and no longer supported Amazon API ... at least that's what Network Monitor shows ...
Bob's Gravatar thank you for keeping up with this, i have always used it since day one. Tanner and his multi websites seems to disappear every now and then.
gcr33's Gravatar Thanks for the work. We do appreciate it.
gerard's Gravatar how come this is a .widget file? I've never heard of a program that opens up a .widget file? Sure this program isn't some spyware just to get onto people's computers.. I mean I downloaded the installation but I have no access to anything. I'm getting the message to search for a program that will be able to open this download..

Bogus. what's the deal on this?

gerry
Dan G. Switzer, II's Gravatar @gerry:

Did you miss the part about requiring "Yahoo! Widgets v4.5"? You need Yahoo! Widgets installed to use this.
Donald Zehner's Gravatar Hi Dan, thanks for the mod, but I'm having trouble getting the widget to work. It says it's logged in, no channels are showing up. Volume switch is non responsive. I can log in to sirius on line with no problems, even with the Firefox plugin, but I much prefer to use yours. I have WMP 11. Any ideas?
Dan G. Switzer, II's Gravatar @Donald:

I'm not sure why it's not working for some. As I've said before, I'd try uninstalling Yahoo! Widgets and then make sure to re-install the latest version. That has fixed problems for me. I did have to change the widget XML file so it would work in Yahoo! Widgets v4.5 and I'm not sure when the changes I made became officially supported. It's possible the XML changes won't work in older versions.
Donald Zehner's Gravatar Thank Dan, tried reinstalling, still nothing. I'll keep a watch out if someone else has the same problems.
Dan G. Switzer, II's Gravatar @Donald:

Do you run through a proxy by any chance? If so, make sure that in the Advanced Yahoo! Widgets Preferences tab you have the Proxy Settings configured properly. I have "Use IE Proxy Settings" marked. I don't normally use a proxy, but I do occasionally run a local proxy that works as an HTTP monitor (for debugging purposes.)

Also, what OS are you running?
Jimdusty's Gravatar Same problem as Scott Roy - Oct 4, 2008 anyone figure this out yet
gerard's Gravatar I wasn't aware xp had widgets I thought it was a vista thing.. ya know when microsoft decided to call their next operating system 'vista' I knew we weren't in for anything that would be good. What the hell does vista mean and how does it relate to computers? What vista the next horizon.. someone give me a barf bag. If you ask me Longhorn was way better..

so does xp have widgets are what and is this program free or is there a hitch to all this sirius widget thing?
Bill's Gravatar Hi Dan,
I liked the old UI myself, so I gave your mod a try. Trouble is, it takes forever "updating channels" (or something like that), every time it's started; eventually it finishes that task and plays, but if closed and restarted, that endless process is performed all over again. (XP sp3, here - no proxy).

I had to dump it and re-install v3.0.1 - that wait was just too annoying.
Dan G. Switzer, II's Gravatar @Bill:

The updating of channels only takes a few seconds for me. You might check your settings, there are a few settings that can affect performance because they hit invalid URLs (like the album art which hits an no longer used Amazon API.)
Bill's Gravatar Thanks Dan, but it's still no go. I've unchecked everything under "What's On", "Album Art", "Favorites", "Parental Controls" and "Updates" but the "Retrieving Channels" screen (sorry, that's the phrase, not "Updating Channels") is still displayed for a very long time each time the mod is started. No such problem with 3.0.1.
Vic Romano's Gravatar Hi all, i have to agree with the previous posts about not being able to get this widget to work. Not only this widget, but 3.0.1 as well. I log in no problem, but once logged in no channels are found. It's just a screen with the dog. Any help on this will be greatly appreciated as i'm ripping my hair our trying to figure this out. I've read the above posts and checked my proxy settings and it's set to ie default.
Donald Zehner's Gravatar Hi Dan, normal settings under advanced. I have windows XP.
Donald Zehner's Gravatar To those that are having troubles and would like to have something else, try Starplayr. I much prefer the widget, especially the size but this one works well for me. Also if you have dual subscriptions XM and Sirius it will load them both.
Dan G. Switzer, II's Gravatar For those having problems, have you tried temporarily disabling your anti-virus/firewalls?

Also, if some one is willing to download Fiddler and use it to examine the HTTP traffic, I might be able to provide more insight to the problems.
Jimdusty's Gravatar Here is what fiddler said


<html>
<head>
   <title>Welcome to the SIRIUS Player Preview</title>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="no-cache">
<link rel="stylesheet" href="/mp/styles/player.css" type="text/css">
<script src="/mp/scripts/md5.js" type="text/javascript" language="javascript"></script>
<script src="/mp/scripts/mediaplayer_login.js" type="text/javascript" language="javascript"></script>
<script src="/mp/scripts/common.js" type="text/javascript" language="javascript"></script>
</head>


<body class="player-blue" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="loginForm" method="POST">
<table width="650" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td colspan="5"><!-- Google tracking -->
      <img src="/s.gif" width="5" height="10" alt="" /></td>
</tr>
   <tr>
<td width="6"><img src="/s.gif" width="1" height="60" alt="" /></td>
   <td width="153"><img src="/s.gif" width="1" height="60" alt="" /></td>
<td width="348" valign="middle" align="center">
         <a href="#" onClick="javascript: openWindow('http://www.siriuscanada.ca');">
         <img src="/mp/i/pg/pl/pg-pl-sirius-logo.gif"
            border="0" alt="SIRIUS Satellite Radio"></a></td>
<td width="137" align="left" valign="bottom"><a href="#" onClick="javascript: openWindow('http://www.siriuscanada.ca');">
         <img src="/s.gif"
            border="0"></a></td>
<td width="6"><img src="/s.gif" width="1" height="60" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><img src="/s.gif" width="552" height="40" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><div align="center">
<table width="650" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td><img src="/mp/i/login/listen.gif" width="214" height="20" alt="Listen Online"></td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>

             <td width="172" align="right"><strong><span class="style5">
            
                <a href="/sirius/ca/servlet/MediaPlayerRegistration?stream=" class ="t5ob">
                NOT A SUBSCRIBER?<BR>GET A FREE 7-DAY PASS</a></span> </strong>
            
            </td>

<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
</table>
   </div></td>
   </tr>
   <tr>
   <td colspan="5"><img src="/s.gif" width="60" height="5" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><table width="650" border="0" cellspacing="0" cellpadding="0">
   
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
   SIRIUS subscribers can listen online to select channels
            at no additional cost. Sign in using your SIRIUS Account
            Username and Password. Guests, please use the email and
            password sent to you during registration.
            <BR><BR>Your username and password are case
            sensitive.</font>
</td>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>

<!-- ERROR MSG:START -->   

    <!-- ERROR MSG:END -->
</table></td>
</tr>
<tr>
<td colspan="5"><table width="650" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Username
</font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td width="150"><input type="text" name="username" value="" size="27" maxlength="64" ></td>
<td width="215">

    </td>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
<tr>
<td><img src="/s.gif" width="60" height="30" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Password
</font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td><input type="password" name="password" value="" size="27" maxlength="20"></td>
<td>
   
</td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
      <tr>
<td><img src="/s.gif" width="60" height="20" alt="" /></td>
<td width="160"></td>
<td width="5"><img src="/s.gif" width="5" height="20" alt="" /></td>
       <td colspan="2">
          <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
          <input type="checkbox" name="remember" value="yes"
            >Remember me
          </font></td>
<td><img src="/s.gif" width="60" height="20" alt="" /></td>
</tr>
      
<!-- captcha -->

   





<script type="text/javascript">
function gGetElementById(s) {
   var obj = (document.getElementById ? document.getElementById(s): document.all[s]);
   return ((obj == null) ? false : obj);
}

function playCaptcha() {
var wavURL = "/mp/captcha/voice/img_084.wav";
var embedCode = '<EMBED SRC=' + wavURL + ' HIDDEN="true" AUTOSTART="true" />';
gGetElementById("playAudio").innerHTML = "";
gGetElementById("playAudio").innerHTML = embedCode;
}
</script>
<input type="hidden" name="captchaID" value="feecaggdbebee>:0goc">

   <tr>
   <td><img src="/s.gif" width="60" height="30" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Enter
the text as shown in the box below. </font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td>
   <table border="0">
      <tr>
         <td><input type="text" name="captcha_response"></td>
         <td><a href="javascript:playCaptcha()"><img src="/mp/captcha/accessibility.gif" align="bottom" border="0" width="23" height="24" alt="Listen and type the numbers you hear"></a></td>
      </tr>
   </table>
      </td>
      <td>
   
</td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
<tr>
       <td><img src="/s.gif" width="60" height="65" alt="" /></td>
       <td><img src="/s.gif" width="160" height="65" alt="" /></td>
       <td><img src="/s.gif" width="5" height="30" alt="" /></td>
       <td colspan="2"><img src="/mp/captcha/image/img_084.jpg" width="184" height="65"></td>
       <td><img src="/s.gif" width="60" height="65" alt="" /></td>
</tr>
<div id="playAudio"></div>    
   
</table></td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<table width="650">
      <td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
      <td width="530"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
       By clicking "sign in" I agree that I am at least 18 years old, I have
entered my own username and password, and I have read and agreed to the terms and conditions of the <a href="http://www.siriuscanada.ca/terms-e.htm" target="_blank"
class="t5wb">SIRIUS Satellite Radio service</a> and <a href="http://www.siriuscanada.ca/sirterms-e.htm"
target="_blank" class="t5wb">SIRIUS Internet Radio</a>.</font>
   </td>
      <td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</table>
</td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center"><a href="javascript: validateEmail(document.loginForm.username.value);">
   <img src="/mp/i/login/signin.jpg" width="93" height="28" alt="sign in"></a></td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center"><font color="#FFFFFF" size="-3" face="Verdana, Arial, Helvetica, sans-serif">Forgot
your password? I am a:</font>  <a href="/sirius/ca/servlet/MediaPlayer?activity=forgotPassword" class="t5wb">Guest</a> <font color="#FFFFFF" size="-3" face="Verdana, Arial, Helvetica, sans-serif">|</font> <a href="https://activate.siriuscanada.ca/forgotpasswordmed...; class="t5wb">Subscriber</a>
</td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center">

<a href="/sirius/ca/servlet/MediaPlayerRegistration?stream=">
<img src="/mp/i/login/free7days.jpg" width="465" height="42" border="0" alt="get a free pass"></a>

</td>
</tr>

<tr>
<td colspan="5"><img src="/s.gif" width="60" height="70" alt="" /></td>
</tr>

</table>
</Form>


<form name="guestLoginForm1" action="/sirius/ca/servlet/MediaPlayerLogin/guest" method="post">
   <input type="hidden" name="activity" value="login">
   <input type="hidden" name="type" value="guest">
   <input type="hidden" name="encryptedPassword" value="">
   <input type="hidden" name="loginForm" value="guest">
   <input type="hidden" name="stream" value="">
   <input type="hidden" name="token" value="a681428531da7ef31537721206b42c5">
   <input type="hidden" name="username" value="">
   <input type="hidden" name="captchaID" value="">
   <input type="hidden" name="captcha_response" value="">
   <input type="hidden" name="rememberMe" value="">
</form>
<form name="subLoginForm1" action="/sirius/ca/servlet/MediaPlayerLogin/subscriber" method="post">
   <input type="hidden" name="activity" value="login">
   <input type="hidden" name="type" value="subscriber">
   <input type="hidden" name="password" value="">
   <input type="hidden" name="loginForm" value="subscriber">
   <input type="hidden" name="stream" value="">
   <input type="hidden" name="token" value="a681428531da7ef31537721206b42c5">
   <input type="hidden" name="playerType" value="full">
   <input type="hidden" name="username" value="">
   <input type="hidden" name="captchaID" value="">
   <input type="hidden" name="captcha_response" value="">
   <input type="hidden" name="rememberMe" value="">
</form>
</body>
</html>
Dan G. Switzer, II's Gravatar @Jim:

You're definitely hitting a completely different page than I am. You're getting redirect to the www.siriuscanada.ca" target="_blank">http://www.siriuscanada.ca site. It's also weird you're getting this as the title tag "Welcome to the SIRIUS Player Preview".

Are you sure you've got your credentials entered in the preferences for the widget?

You might try adding a the following mapping to your lmhosts file:

96.7.72.230 www.siriuscanada.ca #remap the Sirius Canada server to the US

Here are instructions on using the lmhosts file:
http://www.computerhope.com/jargon/l/lmhost.htm

Basically this will override the DNS settings for www.siriuscanada.ca to go to a specific IP address. I'm not sure if this will work or not.
Jimdusty's Gravatar No This did not work 96.7.72.230 www.siriuscanada.ca #remap the Sirius Canada server to the US

Yes I have credentials entered in the preferences for the widget?

And I am In Canada
Dan G. Switzer, II's Gravatar @Jimdusty:

I suspect the login procedures is drastically different between the Canadian and US sites--which is why it's not working. I'm not sure how much different the output is, but if you open up the widget file with something like WinRAR (or your favorite Zip program) and look at the Channels.js file, that's what's in charge of downloading the channels.

Maybe changing the URLs would fix the problem.
Jimdusty's Gravatar I am afraid you just moved above my pay grade looked in Channel .js all looks French to me no reference to Sirus Canada at all Checked in two old wigets that did work still nothing that looks like I could change
Ryan's Gravatar Thanks for fixing the 2.X version of the Widget. I use this for the alarm clock so I can wake up to Howard Stern. version 3.x does not have this. StarPlayr doesn't have this. And StarPlayr relies on server-side software and they're having problems on the server side so the clients.

It's nice to have the original Sirius widget back that I've been using for years! I was getting ready to fix it myself and now I don't have to! Please keep this updated if Sirius makes any mods on their end!

-Ryan
Dicky's Gravatar Yeah I won't change the DNS entries for siruis canada. If you have a Canadian account it won't work on the American site. I am have the same issue with both the 3.0.1 version and the latest version I had running which was version 2.1.5. They both loggin fine but they cannot receive any channel listings. I can try the 2.2.3 version listed here but it also looks like people are having problems.

Any suggestions?

Thanks
Cameron's Gravatar So I've also been fighting with this widget and using it with a Canadian subscription.

After messing around for a while I was able to figure out that the widget knows what captcha the website is asking for and just fills in the information.
However this has changed. The widget always fails the captcha information.
I've opened the widget and found the captcha functionality in SiriusTuner.js. There are two lines which have the responses for the captcha. The one in use doesn't work for Canada. So I switched it to the commented out one.
Now it logs in but I still can't get a channel list or play any of the channels.

I also noticed in the code that it logs a lot of details. Anyone know where this log shows up?
Dan G. Switzer, II's Gravatar @Cameron:

Hold CTRL+SHIFT and then right-click on the Yahoo! Widgets icon in your systray. This will add the "Debug Mode" option to the menu. Click on this option to enable it. You'll then need to close and re-open the Sirius widget and you should get the debug window.
Cameron's Gravatar Thanks Dan.

So I've got some interesting things going on here.
I see in the log that it does login.
And I get 12 cookies back. Looking at the code it wants a minimum of 13 back.
After doing that I not only receive 5 cookies back when logging in. I checked with Fiddler and it looks like I have been logged into a redirection page.

Has anyone seen a problem with trying too many login attempts in a short period of time?
Dicky's Gravatar K thanks Dan

Here is what I am getting. Login is fine, but getting this when trying to retrieving channels.
10/22/08 14:18:48.407: Logged in, retrieving channels...
10/22/08 14:18:48.595: Found 0 main categories (from http)
10/22/08 14:18:48.595: Total Channels: 0 (from http)
10/22/08 14:18:48.595: Retrieving data sources...
10/22/08 14:18:48.674: Fading Away.... :)


Seems like it can't find the channels and then just hangs.

Any suggestions?

Thanks
Cameron's Gravatar I answered my own question.

Looks like I won't be listening online until at least tomorrow!
Dan G. Switzer, II's Gravatar @Cameron/Dicky:

My guess is the pages that the Canadian site is passing back is completely different, so the code that's parsing the HTML pages looking for the categories can't find what it's looking for. I suspect a custom parser for sirius.ca is needed.

Do you know if the channels for Sirius Canada are different than they are in the US?
Dicky's Gravatar Wonder if it has to do with all the new channel that they are adding? Most of the channels are the same. Funny thing is that mine just stopped working yesterday. Must have left it running for a long time and then when I rebooted my computer and reload the widget...nothing.

Anyways thanks Dan! Hopefully Tanner will show up and fix this problem. All I want is my OCTANE! LOL! Is there a way just to add that info? Like edit the PresetsScreen.js and maybe play it that way?
Cameron's Gravatar I haven't checked lately but channels on the Canadian webpage are the same as the US one. Prior to a few months ago Canada didn't have channel 50. Although I could listen to channel 50 through the website.
Dicky: What version of the Tuner and yahoo Widgets are you using?
Dicky's Gravatar Just updated the Widget engine to 4.5.2

And both the newest Sirius Widget 3.0.1 and the version provided here....version 2.2.3. Funny that the old version I had worked up until yesterday. That version was 2.1.5.
Cameron's Gravatar A little more info.

The channel list is gathered by Channels.js
Apparently it doesn't care if have set your region to US or Canada it always gets the list from
http://www.sirius.com/sirius/mediaplayer/player/co...

It first gets the categories from http://www.sirius.com/sirius/mediaplayer/player/co...category.jsp" target="_blank">http://www.sirius.com/sirius/mediaplayer/player/co...?
However when I open that page in a browser I get nothing but a grey image.
Dicky I think this is were yours is getting stuck as well.
Dan what do you get if you open the categories.jsp page in a browser?
Ryan's Gravatar I like the web status! I already have it displaying on my website. But, how about a status field (Play, Stop, etc.) and sending out one more update when the player is stopped. This way, the status can be cleared or changed on the website if you're no longer listening.

Thanks!
Cameron's Gravatar Hey guys!

Anyone in Canada still having problems with getting channels on their 2.2.3 widget?

The problem is with what website the channel list comes from. It doesn't matter if you have Canada selected in your options, the widget will still try to get the channels from the US site.

To fix this you need to edit two lines of code.
Both in Channels.js
Look for the two lines which want to contact sirius.com. They are both close to the top. I changed them to:
var lineup_url = "http://mp.siriuscanada.ca//sirius/ca/mediaplayer/p...;;
url.fetch("http://mp.siriuscanada.ca/sirius/ca/mediaplayer/pl...;);
Jimdusty's Gravatar Tried this did not seen to make any differences


To fix this you need to edit two lines of code.
Both in Channels.js
Look for the two lines which want to contact sirius.com. They are both close to the top. I changed them to:
var lineup_url = "http://mp.siriuscanada.ca//sirius/ca/mediaplayer/p......;;
url.fetch("http://mp.siriuscanada.ca/sirius/ca/mediaplayer/pl......;);
Vic Romano's Gravatar thanks for all the help, but i have to agree with the post above. I edited channels.js and still nothing
Cameron's Gravatar Can you guys post your log?
Dan G. Switzer, II's Gravatar @Ryan:

Since the updates are sent like every 10 seconds, you could assume the player is stopped if it hasn't seen an updated in 60 seconds. That's what I used to determine if I'm listening or not.
Dan G. Switzer, II's Gravatar For those of you who edited the Channels.js file, make sure that you actually updated the files in the widget and then shut it down and re-open it (don't just choose it from the recent menu either.)

If this fix works, I'll look into updating the widget again. Obviously, I'd like to help out the Canadian users if at all possible.
Jimdusty's Gravatar I see in fiddler under webforms/body is password mine is 11 digits long and this is what i get
7bdcd46513478a065eadbefc9e8e7249 in 223 In 3.01 I get the same I have deleted sirus
in registry and always comes back the same is this the same in yours
Cameron's Gravatar Jimdusty: That long code for your password is right. It's your password in MD5 format for encryption.

Anyone with the Canada one still having problems want to post your log?
Jimdusty's Gravatar Hey Cameron I made Changes Nothing happen for me Hope This helps

<html>
<head>
   <title>Welcome to the SIRIUS Player Preview</title>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<meta http-equiv="no-cache">
<link rel="stylesheet" href="/mp/styles/player.css" type="text/css">
<script src="/mp/scripts/md5.js" type="text/javascript" language="javascript"></script>
<script src="/mp/scripts/mediaplayer_login.js" type="text/javascript" language="javascript"></script>
<script src="/mp/scripts/common.js" type="text/javascript" language="javascript"></script>
</head>


<body class="player-blue" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="loginForm" method="POST">
<table width="650" border="0" cellpadding="0" cellspacing="0">
   <tr>
      <td colspan="5"><!-- Google tracking -->
      <img src="/s.gif" width="5" height="10" alt="" /></td>
</tr>
   <tr>
<td width="6"><img src="/s.gif" width="1" height="60" alt="" /></td>
   <td width="153"><img src="/s.gif" width="1" height="60" alt="" /></td>
<td width="348" valign="middle" align="center">
         <a href="#" onClick="javascript: openWindow('http://www.siriuscanada.ca');">
         <img src="/mp/i/pg/pl/pg-pl-sirius-logo.gif"
            border="0" alt="SIRIUS Satellite Radio"></a></td>
<td width="137" align="left" valign="bottom"><a href="#" onClick="javascript: openWindow('http://www.siriuscanada.ca');">
         <img src="/s.gif"
            border="0"></a></td>
<td width="6"><img src="/s.gif" width="1" height="60" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><img src="/s.gif" width="552" height="40" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><div align="center">
<table width="650" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td><img src="/mp/i/login/listen.gif" width="214" height="20" alt="Listen Online"></td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>

             <td width="172" align="right"><strong><span class="style5">
            
                <a href="/sirius/ca/servlet/MediaPlayerRegistration?stream=" class ="t5ob">
                NOT A SUBSCRIBER?<BR>GET A FREE 7-DAY PASS</a></span> </strong>
            
            </td>

<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
</table>
   </div></td>
   </tr>
   <tr>
   <td colspan="5"><img src="/s.gif" width="60" height="5" alt="" /></td>
   </tr>
   <tr>
   <td colspan="5"><table width="650" border="0" cellspacing="0" cellpadding="0">
   
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
   SIRIUS subscribers can listen online to select channels
            at no additional cost. Sign in using your SIRIUS Account
            Username and Password. Guests, please use the email and
            password sent to you during registration.
            <BR><BR>Your username and password are case
            sensitive.</font>
</td>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>

<!-- ERROR MSG:START -->   

    <!-- ERROR MSG:END -->
</table></td>
</tr>
<tr>
<td colspan="5"><table width="650" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Username
</font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td width="150"><input type="text" name="username" value="5192686118" size="27" maxlength="64" ></td>
<td width="215">

    </td>
<td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
<tr>
<td><img src="/s.gif" width="60" height="30" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Password
</font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td><input type="password" name="password" value="" size="27" maxlength="20"></td>
<td>
   
</td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
      <tr>
<td><img src="/s.gif" width="60" height="20" alt="" /></td>
<td width="160"></td>
<td width="5"><img src="/s.gif" width="5" height="20" alt="" /></td>
       <td colspan="2">
          <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
          <input type="checkbox" name="remember" value="yes"
            checked>Remember me
          </font></td>
<td><img src="/s.gif" width="60" height="20" alt="" /></td>
</tr>
      
<!-- captcha -->

   





<script type="text/javascript">
function gGetElementById(s) {
   var obj = (document.getElementById ? document.getElementById(s): document.all[s]);
   return ((obj == null) ? false : obj);
}

function playCaptcha() {
var wavURL = "/mp/captcha/voice/img_090.wav";
var embedCode = '<EMBED SRC=' + wavURL + ' HIDDEN="true" AUTOSTART="true" />';
gGetElementById("playAudio").innerHTML = "";
gGetElementById("playAudio").innerHTML = embedCode;
}
</script>
<input type="hidden" name="captchaID" value="feecnnb``c`g`>:0gng">

   <tr>
   <td><img src="/s.gif" width="60" height="30" alt="" /></td>
<td width="160" align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">Enter
the text as shown in the box below. </font></td>
<td width="5"><img src="/s.gif" width="5" height="30" alt="" /></td>
<td>
   <table border="0">
      <tr>
         <td><input type="text" name="captcha_response"></td>
         <td><a href="javascript:playCaptcha()"><img src="/mp/captcha/accessibility.gif" align="bottom" border="0" width="23" height="24" alt="Listen and type the numbers you hear"></a></td>
      </tr>
   </table>
      </td>
      <td>
   
   <strong><font color="#3bc7ff" size="1" face="Verdana, Arial, Helvetica, sans-serif">
   The entered text does not match the image. Please try again.</font></strong>
   
</td>
<td><img src="/s.gif" width="60" height="22" alt="" /></td>
</tr>
<tr>
       <td><img src="/s.gif" width="60" height="65" alt="" /></td>
       <td><img src="/s.gif" width="160" height="65" alt="" /></td>
       <td><img src="/s.gif" width="5" height="30" alt="" /></td>
       <td colspan="2"><img src="/mp/captcha/image/img_090.jpg" width="184" height="65"></td>
       <td><img src="/s.gif" width="60" height="65" alt="" /></td>
</tr>
<div id="playAudio"></div>    
   
</table></td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<table width="650">
      <td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
      <td width="530"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
       By clicking "sign in" I agree that I am at least 18 years old, I have
entered my own username and password, and I have read and agreed to the terms and conditions of the <a href="http://www.siriuscanada.ca/terms-e.htm" target="_blank"
class="t5wb">SIRIUS Satellite Radio service</a> and <a href="http://www.siriuscanada.ca/sirterms-e.htm"
target="_blank" class="t5wb">SIRIUS Internet Radio</a>.</font>
   </td>
      <td width="60"><img src="/s.gif" width="60" height="22" alt="" /></td>
</table>
</td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center"><a href="javascript: validateEmail(document.loginForm.username.value);">
   <img src="/mp/i/login/signin.jpg" width="93" height="28" alt="sign in"></a></td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center"><font color="#FFFFFF" size="-3" face="Verdana, Arial, Helvetica, sans-serif">Forgot
your password? I am a:</font>&nbsp;&nbsp;<a href="/sirius/ca/servlet/MediaPlayer?activity=forgotPassword" class="t5wb">Guest</a>&nbsp;<font color="#FFFFFF" size="-3" face="Verdana, Arial, Helvetica, sans-serif">|</font>&nbsp;<a href="https://activate.siriuscanada.ca/forgotpasswordmed...; class="t5wb">Subscriber</a>
</td>
</tr>
<tr>
<td colspan="5"><img src="/s.gif" width="10" height="10" alt="" /></td>
</tr>
<tr>
<td colspan="5" align="center">

<a href="/sirius/ca/servlet/MediaPlayerRegistration?stream=">
<img src="/mp/i/login/free7days.jpg"