The thing I think that is breaking the Sirius script is Sirius' own use of the "CAPTCHA" text input when logging in. I'm not sure how this can be fixed using/manipulating the current code, as I don't know how their captcha's work, but I'm looking into it with a trial account, and have made some progress on it. Apparently they monitor the number of times you login throughout the day, so currently my two trial accounts are frozen from logging in until tomorrow. However, I have gotten to the point where it opens and tries to play the location.
There were several problems with the scripts however, which seem to have been fixed by my revisions. These are:
-- The script called for several external files, however, the locations weren't formatted properly across all XBMC variations. The stream file would call for "q:/scripts/Sirius/sirius.strm," however, on linux variation, there is no q: drive, it would instead be something like "/usr/scripts/Sirius/sirius.strm"
-- The script calls for logo images from sirius' website, however they are no longer coded/named by station stream/channel numbers; the coding is still there, but commented out.
-- Added a button to enter "captcha" information, but not sure if the captcha displays as it should.
You MAY be able to bypass the captcha process...
1. In whatever browser you use, go to
http://www.useragent.org/
2. Copy the whole line after "Your User Agent is: "
3. Copy/Download the SiriusLib/SiriusBase.py file to some place on your computer
==> for me, this would be
==> "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Creative ZENcast v2.01.01"
4. At line 36, paste the content that was copied from step 2 between the text
self.txheaders = {'User-Agent':' and
'}
==> for me, this would be
==> "self.txheaders = {'User-Agent':'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Creative ZENcast v2.01.01'}
5. Save and replace/upload the file to where you downloaded it from.
6. Check your Sirius streaming script on XBMC
I'm uploading this only to my website and no official plugin/scripts site, since I can't verify if its working yet. Leave your experience as well.
http://www.leknifragonline.net/RunXM/Sirius.zip