LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How To: Sirius Internet Radio on Ubuntu (sipie) (https://www.linuxquestions.org/questions/ubuntu-63/how-to-sirius-internet-radio-on-ubuntu-sipie-559492/)

tanstaafl4y 06-05-2007 11:25 PM

How To: Sirius Internet Radio on Ubuntu (sipie)
 
This thread is intended to share how I did it. The instructions worked perfectly with Fiesty (7.04) and may work with other distros

One of the things that I greatly missed when switching from M$ to Ubuntu was Sirius Satellite (Internet) Radio streaming in the background. I couldn't get the "sirius" firefox addon to work so a bit of digging and I read about sipie http://sourceforge.net/projects/sipie

Unable to find a synaptic package, I did somemore digging and found an excellent set of command line er...umm terminal instructions http://markjstevens.net/?p=13


The only problems I had (and I attribute this to my newness in Linux).Was going the long way to accomplish the last 3 steps...which were described but didn't give step-by-steps. I felt a great sense of accomplishment by figuring out what needed to be done.


http://eli.criffield.net/sipie/sipie, I used firefox to save link as htm on my desktop. I renamed it dropping the .htm Then I opened it with the default text editor...made no changes but saved the file. I may have gone about it the long way but this was my best guess at "making it executable". I moved the file to the "directory" indicated by pwd (in terminal where I exectued the apt get commands).

On my second attempt creating the launcher I copied the sipie.png
using sudo cp sipie.png /usr/share/pixmaps (couldn't get the gui to do it...terminal commands do have a "purpose")

masonm 06-06-2007 05:10 PM

mplayer plugin wouldn't do it? I have XM and it plays fine through the mplayer browser plugin.

tanstaafl4y 06-07-2007 07:01 AM

mplayer plugin worked just fine for embedded and streaming video on other websites...but I couldn't get it to work with the sirius website. To qualify that it appeared to be "streaming" but there was no audio output from mplayer, gmplayer, or the browser plug-in.

/I am sure that with enough patience, time, and the help of internet resources, I is possible to configure mplayer to work as I wanted. The above was a quick and easy solution.

tanstaafl4y 07-25-2007 10:48 AM

I am now running Ubuntu Feisty on my laptop. It was a clean install last weekend. I tried to add Sipie using my previous set of instructions and failed. I did finally get Sipie to work useing the "trial and error" method. Ultimatly this worked for me. It might not work for you. I may have done things that I didn't need to and there may be an easier way to accomplish the same task.

First the project is now hosted at sourceforge so I had to download the tarball from http://sourceforge.net/projects/sipie and save it in my home folder

Then I downloaded my "launcher icon" from http://eli.criffield.net/sipie/sipie.png and save it to my home folder.

Before I could "compile" I had several tasks that needed to be accomplished using a terminal window. (You may or may not need to do all of this. but based on some of my reading these steps only need to be done once. The programs installed will be used in future compiles and this is not sipie specific)

These commands install the "compiler prerequisite's and dependancies", and create a /usr/local/src folder to store all self-compiled progams (now and in the future).

sudo apt-get install gcc
sudo apt-get install build-essential
sudo apt-get install cvs subversion
sudo apt-get install mplayer python-setuptools python-wxgtk2.6
sudo mkdir /usr/local/src
sudo chown {***username***} /usr/local/src
sudo chmod u+rwx /usr/local/src

In terminal I navigated to my homefolder and moved the sipie file and image to the appropriate places
cd /home/{***username***}
sudo mv {***tarballname***}.tar.gz /usr/local/src
sudo mv sipie.png /usr/share/pixmaps

I then navigated to the tarball and "unzipped" it
cd /usr/local/src
sudo tar xzvf {***tarballname***}.tar.gz


I navigated to the folder created by the tarball
cd /usr/local/src/{***tarballname***}

and I installed spipe (a tradition config make install did not work - this is by design)
sudo easy_install sipie


And whammo I'm installed. Now I created a launcher by right clicking in the "menu bar" "add to panel" "Custom Application Launcher" I clicked on "Icon" and scrolled to select sipie.png. The options for the launcher were
Type: Application in Terminal
Name: Sipie
command: /usr/local/{***tarball created folder name***}/sipie.py

controlchannel 08-06-2007 05:09 PM

i installed this, and had no problems with it at all. but when i went to open it from the launcher i got this error message:

Traceback (most recent call last):
File "/usr/local/src/Sipie-0.1184989269/sipie.py", line 22, in <module>
Sipie.cliPlayer()
File "/usr/local/src/Sipie-0.1184989269/Sipie/cliPlayer.py", line 74, in cliPlayer
completer = Completer(sipie.getStreams())
File "/usr/local/src/Sipie-0.1184989269/Sipie/Factory.py", line 369, in getStreams
streams = self.tryGetStreams()
File "/usr/local/src/Sipie-0.1184989269/Sipie/Factory.py", line 300, in tryGetStreams
raise AuthError
Sipie.Factory.AuthError


can somebody help
ubuntu feisty fawn 7.04


All times are GMT -5. The time now is 02:45 AM.