I am trying to get an example Eric posted on the Open Discussion forum to work. He posted a file, "recordSirius.py" which given a stream and duration will record the streaming music to disk. The first commandline parameter that it requests is "stream". I have tried passing channel number but I get an InvalidStream error. On a seperate post in this forum I saw the following command:
/usr/bin/mplayer -slave -really-quiet -nojoystick -nolirc -user-agent NSPlayer -nomouseinput -ao esd,alsa,oss -prefer-ipv4 -cache 32 -playlist http://www.sirius.com/sirius/mediaplayer/asx/mac/playasx.jsp?streamKey=starlite&buttonStatus=high&hashkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is the http://..... the type of stream that recordSirius.py is requesting? If this is the case, what the do the parameters buttonStatus and hashkey represent?
Also, if I sign up for the premium streams service on Sirius radio, will Sipie work with the premium streams?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yea, in that command you could try removing the '-playlist' flag since the most recent push to SVN also removed that in the factory. Don't forget to do the 'easy_install .' after you make the change.
I don't think Eli uses the premium streams so I'm sure it's not possible for him (or Myself) to test the program on the premium streams. I'm not sure what happens with the Sirius online player when you have a premium account.
The buttonStatus is the high-speed or low-speed stream (not sure if it's related to Premium streams or not) and hashKey is what's passed so the stream knows you're authenticated correctly. You could use StreamSniff from http://home.kabelfoon.nl/~moongies/streamtuned.html to discover what the stream URL looks like when running a normal stream and again to compare with recordStream and/or a premium stream. Those steps should provide enough information to see how easily it would be to adapt both scripts to handle the streams.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to pass the station name as the parameter to the "recordSirius.py" like "python recordSirius.py siriushits1 1". However, I am still interested to see if Premium streams work? Anyone else know?
Luke
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to get an example Eric posted on the Open Discussion forum to work. He posted a file, "recordSirius.py" which given a stream and duration will record the streaming music to disk. The first commandline parameter that it requests is "stream". I have tried passing channel number but I get an InvalidStream error. On a seperate post in this forum I saw the following command:
/usr/bin/mplayer -slave -really-quiet -nojoystick -nolirc -user-agent NSPlayer -nomouseinput -ao esd,alsa,oss -prefer-ipv4 -cache 32 -playlist http://www.sirius.com/sirius/mediaplayer/asx/mac/playasx.jsp?streamKey=starlite&buttonStatus=high&hashkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is the http://..... the type of stream that recordSirius.py is requesting? If this is the case, what the do the parameters buttonStatus and hashkey represent?
Also, if I sign up for the premium streams service on Sirius radio, will Sipie work with the premium streams?
Yea, in that command you could try removing the '-playlist' flag since the most recent push to SVN also removed that in the factory. Don't forget to do the 'easy_install .' after you make the change.
I don't think Eli uses the premium streams so I'm sure it's not possible for him (or Myself) to test the program on the premium streams. I'm not sure what happens with the Sirius online player when you have a premium account.
The buttonStatus is the high-speed or low-speed stream (not sure if it's related to Premium streams or not) and hashKey is what's passed so the stream knows you're authenticated correctly. You could use StreamSniff from http://home.kabelfoon.nl/~moongies/streamtuned.html to discover what the stream URL looks like when running a normal stream and again to compare with recordStream and/or a premium stream. Those steps should provide enough information to see how easily it would be to adapt both scripts to handle the streams.
I was able to pass the station name as the parameter to the "recordSirius.py" like "python recordSirius.py siriushits1 1". However, I am still interested to see if Premium streams work? Anyone else know?
Luke