PDA

View Full Version : Help - Sirius Canada all of a sudden stopped working?


dandandan012
2007-12-07, 08:35
I have a valid Sirius account - I have a radio in my car and can also listen on the net when I login. There was a newer script writtenfor Sirius Canada which I loaded about 2 months ago. It was working fine (all I had to do first was update the runsirius.py file with my userid and password). I just tried it aghain recently, and it now gets hung on the 'downloading file' screen after I select the radio station. Does anyone know if Sirius made some chnages to their websites which made both the Sirius USA and SDirius Canada scripts stop working?

dandandan012
2007-12-07, 21:50
I just installed the Sirius USA script, and got a 3 day userid and password setup. Prior to the Sirius Canada script, this other method worked fine, but only for 34 days at a time - I would have to also setup a new dummy email address and get a new temp account each time.

Though, even under the Sirius USA script, I get the same effect. The script logs me in, and allows me to see the genres, categories, stations, etc. The problem happens once I select any radio station - I get a "Loading... Please wait" message which never goes away. I've even left it over night to see if something would ever load, but it never does. At this "loading.." screen, it also prevents me from hitting any button to get out - I hear clicks when I hit various buttons but nothing actually gets me out of the message without shutting down.

Can someone please confirm that their Sirius script is still working? I think Sirius made some change to their website that may have made the script no good.

Thanks

althoralthor
2007-12-08, 18:13
No, mine's dead too. The developer of the script has stopped updating it, so unless someone else that knows what they're doing picks it up, we're done.

chowyunfat2000
2007-12-12, 04:26
mine is doing the same thing as well :(;
gets stuck at loading a specific category

dandandan012
2007-12-16, 03:23
Now that the original creator of this Sirius script is no longer supporing this, are there any other experienced script writters that can look at it to fix it. I am not a programmer and have no knowledge of this language, though I have been able to follow it and find the exact spot it hangs up. I have tried a few chan ges but nothing yet.

The script is 99% good - obviously Sirius made some minor change in one of their websites that caused this. Perhaps someone familiar with the script language could easily find and fix this???

bronco28
2007-12-26, 18:03
Any update to this or the US feed???? Missing Howard throughout my house....

ed_m
2007-12-28, 18:10
None of the Sirius accessing third party stuff seems to work, my XBMC has not been working for a month or more; yahoo's widget no longer works.

Mine fail to sign in.

I can still use the browser version of player from sirius' website, so I assume they've changed the login process, I do notice they now require you to input one of those visual challenges.

Give it time, I'm hoping someone'll fix the login issues.

bronco28
2008-01-07, 22:37
Any chance of someone updating this? Thanks in advance.

icolquhoun
2008-01-08, 04:50
Here (http://www-acad.sheridanc.on.ca/~ian/XBMCsiriusCanada.diff.gz) is a diff against XBMCsiriusCanada-1.2.zip that will get your online Sirius listening going again. The changes can probably be adapted to the U.S. version as well, but since I'm in Canada I didn't bother.

bronco28
2008-01-09, 19:28
Thanks for the file but I am not sure what to do with it. Do I need to rename it or something. I am unable to unzip it. Thanks again.

LakersFan
2008-01-12, 11:02
comes up as corrupt with WinRar on my end as well...

dandandan012
2008-01-13, 09:04
I got it to work. The file attachment provided in the previous replies is from a Linux machine. Just save the attachment and open it with Wordpad. There you will be able to see the very few minor changes needed to the runsirius.py and siriusbase.py file. When you open the file in Wordpad, you will see '-' sign and '+' signs. The minus is the original text in the files and the + is what you need to change. Took me about 5 minutes of thorougly reviewing the Wordpad files, and about 5 minutes to make the changes. It worked on the first attempt.

Note that mine is siriuscanada, but I bet that the same minor chage is the same for both. Try it, and let me know if it works.

LakersFan
2008-01-14, 03:01
You've lost me... I downloaded the file above and opened it in Word Pad. From there, I'm lost. Attached is what I see when I open it. Also, when I'm done, do I need anything else? (what files actually get FTP'ed to the xbox?)
Thanks, sorry for the newb questions.:confused2:
diff -ru XBMCsiriusCanada-1.2.orig/sirius/RunSirius.py XBMCsiriusCanada-1.2.new/sirius/RunSirius.py
--- XBMCsiriusCanada-1.2.orig/sirius/RunSirius.py 2007-02-10 14:27:07.000000000 -0500
+++ XBMCsiriusCanada-1.2.new/sirius/RunSirius.py 2008-01-07 21:34:33.000000000 -0500
@@ -325,12 +325,12 @@
dialog.ok("Set your Sirius Username / Password!",
"You must set your Sirius username / password in RunSirius.py before using this script!")
else:
- currentversion = urllib.urlopen( "http://www.sacknet.org/sirius/currentversion" ).read().strip()
- if( currentversion != CURRENT_VERSION ):
- dialog.ok( "New version available!", "A new version of XBMCsirius is available!\n" +
- "This probably fixes some bugs, so you\n" +
- "might want to download it. Go to\n" +
- "sacknet.org/sirius for more information." )
+ #currentversion = urllib.urlopen( "http://www.sacknet.org/sirius/currentversion" ).read().strip()
+ #if( currentversion != CURRENT_VERSION ):
+ # dialog.ok( "New version available!", "A new version of XBMCsirius is available!\n" +
+ # "This probably fixes some bugs, so you\n" +
+ # "might want to download it. Go to\n" +
+ # "sacknet.org/sirius for more information." )

if(not globSir.DoLogin()):
dialog = xbmcgui.Dialog()
diff -ru XBMCsiriusCanada-1.2.orig/sirius/SiriusLib/SiriusBase.py XBMCsiriusCanada-1.2.new/sirius/SiriusLib/SiriusBase.py
--- XBMCsiriusCanada-1.2.orig/sirius/SiriusLib/SiriusBase.py 2007-02-10 14:05:27.000000000 -0500
+++ XBMCsiriusCanada-1.2.new/sirius/SiriusLib/SiriusBase.py 2008-01-07 21:36:05.000000000 -0500
@@ -139,19 +139,26 @@


def getChannelURL(self):
- url = 'http://mp.siriuscanada.ca/sirius/ca/servlet/MediaPlayer?activity=selectBitrate&bitrate=high&stream='
+ # As far as I can tell, this complex URL isn't necessary.
+ # Changed to be more Sipie-like. - January 7, 2008
+ #url = 'http://mp.siriuscanada.ca/sirius/ca/servlet/MediaPlayer?activity=selectBitrate&bitrate=high&stream='
+ #url = url + self.channelData['channel']
+ #url = url + '&genre=' + self.genreName
+ #url = url + '&category=' + self.categoryName
+ #url = url + '&token=' + self.channelData['token']
+
+ url = 'http://mp.siriuscanada.ca/sirius/ca/servlet/MediaPlayer?activity=selectStream&stream='
url = url + self.channelData['channel']
- url = url + '&genre=' + self.genreName
- url = url + '&category=' + self.categoryName
url = url + '&token=' + self.channelData['token']
+
req = urllib2.Request(url, self.txdata, self.txheaders)
channelPage = ClientCookie.urlopen(req).read()

- urlPos = channelPage.find('SRC="')
+ urlPos = channelPage.find('PARAM NAME="FileName" VALUE="')
if urlPos == -1:
return -1

- url = channelPage[urlPos + 5 :]
+ url = channelPage[urlPos + 29 :]
url = url[:url.find('"')]

req = urllib2.Request(url, self.txdata, self.txheaders)

ed_m
2008-01-19, 20:16
None of the Sirius accessing third party stuff seems to work, my XBMC has not been working for a month or more; yahoo's widget no longer works.

Mine fail to sign in.

I can still use the browser version of player from sirius' website, so I assume they've changed the login process, I do notice they now require you to input one of those visual challenges.

Give it time, I'm hoping someone'll fix the login issues.

Got a bit further. I'm using US Sirius, but this thread seems to be on top of things.

The old US version had 6 character captcha codes in SiriusBase.py - they now use 4 digit codes.

I took the 4 digit updated codes from the Canada script and inserted them into the US version. Its logging in now, but freezes at loading.

Back to work. :)

Jumpstile
2008-01-20, 00:08
Thanks Ed! Looking forward to trying your modifications! I love this script and I really miss it.

- J*

ed_m
2008-01-20, 03:28
Thanks Ed! Looking forward to trying your [CODE]modifications! I love this script and I really miss it.

- J*

Got it working, but it still takes forever to cache. Might be something I missed.

Between the 4 char codes and the Canada URL modifications, the US version worked for me today.

RunSirius.py: (in XBMCSirius root)

http://www.digitalbucket.net/Public/Download.ashx?q=f349be149f614d0ed435ed8f28103fd5

SiriusBase.py: (in SiriusLib dir)

http://www.digitalbucket.net/Public/Download.ashx?q=624492e5334fe43eddcbaa526ccca062

Long links, but give it a shot.

Ed

ed_m
2008-01-20, 03:30
Got it working, but it still takes forever to cache. Might be something I missed.

Between the 4 char codes and the Canada URL modifications, the US version worked for me today.

RunSirius.py: (in XBMCSirius root)

http://www.digitalbucket.net/Public/Download.ashx?q=f349be149f614d0ed435ed8f28103fd5

SiriusBase.py: (in SiriusLib dir)

http://www.digitalbucket.net/Public/Download.ashx?q=624492e5334fe43eddcbaa526ccca062

Long links, but give it a shot.

Ed

Oh, and don't forget to put your username and pw in the runsirius.py file.

bronco28
2008-01-25, 18:08
Thanks Ed.... I took a look at the substition solution provided above and was completely lost when I started looking at it. I have dl your files and will try out today - I am in the US so I will post back and give you feedback.

Thanks again.

bronco28
2008-01-25, 19:24
No luck here. I used your files and it just stays at the loading screen for 15 - 20 minutes without anything else.....

Using the following Siriuss script - U.S. version 1.2.1

Any other suggestions??? I really miss this script.

ed_m
2008-01-26, 03:13
Hm, not sure. I've got 1.2 on my XBOX, wonder if that makes a difference?

I'm not really a programmer, I think I got lucky with mine.

Dumb questions:

Changed un and pw in runsirius.py?
Copied siriusbase.py into the proper directory (SiriusLib)?
Waved magic chicken bones over XBOX?

Seriously, I've not the background to troubleshoot... Perhaps someone with real skills will get the script working properly.

ed_m
2008-01-28, 03:26
A bit more info.

I'm working with someone else who is getting an error.

I licked the taking forever to cache by setting the cache setting for "Internet" in XBMC from 4M to 256K. If you remember, way back, we had to change the cache for "Unknown" to make it cache quicker.

My guess is at some point, Sirius changed stream types too.

His error is:

Apparently XBMC has problems playing this type of URL. Hopefully this will work in the future.

Look familiar?

Hes got a copy of my entire sirius directory off the XBOX, we'll see if we can narrow things down a bit.

ed_m
2008-01-28, 03:27
Oh, BTW, mines still working - the guy I'm working with is checking XBMC version now.

icolquhoun
2008-01-31, 02:36
Since there seemed to be a bunch of people having trouble with the diff I posted, here is a new zip file I've called XBMCsiriusCanada version 1.2a. It has my stream fixes, plus the fix for the DogStarRadio currently playing stuff.

XBMCsiriusCanada-1.2a.zip (http://www-acad.sheridanc.on.ca/~ian/XBMCsiriusCanada-1.2a.zip)

Jumpstile
2008-01-31, 06:00
Oh, BTW, mines still working - the guy I'm working with is checking XBMC version now.

I get the same thing your friend is getting... I am running the 1-26-2008 version of XBMC Pimped...

- J*

ed_m
2008-02-03, 00:22
I get the same thing your friend is getting... I am running the 1-26-2008 version of XBMC Pimped...

- J*

Well, we finally got it working on his XBOX (USA Sirius)

Just sending my Sirius directory to him didn't cut it - he needed to install the entire XBMC dir from scratch.

No clue why its working on mine, but I'm hesitant to post my entire XBMC directory publically. Anyone got any ideas?

Jumpstile
2008-02-03, 09:32
What version are you guys running?

- J*

ed_m
2008-02-03, 17:29
What version are you guys running?

- J*

XBMC: 2.0.1 - Nov 12, 2006
Mplayer Sep 24 2006

bronco28
2008-02-04, 20:02
Hi Ed,

I realized that I didn't put the files in the correct folder - did that and now I get the following error:

Apparently XBMC has problems playing this type of URL.

I am using version 1.2.1 of the USA sirus script and the most current t3ch version of xbmc.

I also tried the chicken bones - no joy with that technique either.... :D

ed_m
2008-02-05, 00:22
Hi Ed,

I realized that I didn't put the files in the correct folder - did that and now I get the following error:

Apparently XBMC has problems playing this type of URL.

I am using version 1.2.1 of the USA sirus script and the most current t3ch version of xbmc.

I also tried the chicken bones - no joy with that technique either.... :D

Thats the error he was getting... Like I said, I ended up sending him my XBMC directory, which worked for Sirius, but his fan "sounds like a 747 taking off" so I suspect theres some inconsistencies still.

I'm tempted to upgrade my XBMC install to the latest and greatest and see if this problem occurs - it might be something that a newer version broke.

s23x
2008-02-20, 18:55
this worked beautifully for me, thanks a bunch icolquhoun!

nikorc
2008-02-22, 17:19
Using the testnoxbox.py script on my pc will give me a url like the following:

http://a1546.l2280061692.c22800.g.lm.akamaistream.net/D/1546/22800/v0001/reflector:61692?aifp=abcd&partner=sirius_online_player&stream=classicvinyl&auth=da.dmdwd4cXc1dUaLbHcZdHbJbqbDaDddaH-bhVUuq-cw-DuCTxrzdccl-rhnclbn8ojq4tYt3n4namVml&token=cf6aba5bec7affdf37c6dbd7d69121ff&login_type=subscriber&login=username&campaign=null&bitrate=high&wmcache=0&mswmext=.asx

Loading this up in Firefox kicks off Windows Media Player and plays fine. I also created a playlist.strm file on the xbox placed a fresh url into it and played it fine from the file. I have no idea why the py script won't play it.

The script breaks around line 95 in RunSirius.py, looks like this is the section where is sends the url to the xbmc player.

xbmc.Player().play(sirURL)
if xbmc.Player().isPlaying():
popup = PlayingStream()
popup.setSirius(self.sir)
popup.doModal()
del popup
xbmc.Player().stop()
except:
print formatExceptionInfo()
dialog = xbmcgui.Dialog()
dialog.ok("Problem playing this URL...",
"Apparently XBMC has problems playing this type of URL. Hopefully this will work in the future. :(")

I don't know the xbmc scripting to figure how to fix but this seems to be where the script is failing and xbmc is able to play the url.

nikorc
2008-02-22, 21:44
I would like to add I have this working fine with the 2.0.1 FAT t3ch release. Using the updated files on this tread and reducing the Cache under Video -> Internet to 0.

bronco28
2008-03-04, 18:13
Did anyone get this working for the US version?

I am stuck at can't play this URL.....

Thanks

bronco28
2008-04-24, 19:02
Can anyone get this to work? I miss streaming Sirius through my xbox.