maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Sirius on N800 via sipie (https://talk.maemo.org/showthread.php?t=7402)

Mike_L 2008-04-13 17:23

Re: Sirius on N800 via sipie
 
I decided to clean up and post instructions for doing this on my blog.

http://packratstudios.com/index.php/...ternet-tablet/

Hopefully some of you find it useful.

The real credit goes to jtyrrell and m00s3computer.

alvindd 2008-04-16 15:12

Re: Sirius on N800 via sipie
 
Where do I find the stream address of the channel I want?

I followed the instructions from the link,blog, Mike_L posted above, but got to the point of needing a stream.

Also, how do you restart (launch) sipie agin?

Mike_L 2008-04-16 16:09

Re: Sirius on N800 via sipie
 
The stream is usually the name of the station you want to listen to. For example, thevault or octane, it is always lower case and if it is composed of two words there is normally, but not always, and underscore between the words.

Sorry about the omission.

Mike_L 2008-04-16 16:10

Re: Sirius on N800 via sipie
 
PS. you have to hit ctrl+c to exit sipie in order to restart it.

I'll update the blog post.

jweinel 2008-04-16 23:31

Re: Sirius on N800 via sipie
 
Thanks Mike L (and the other developers of the process) for this very useful feature!! I finally got it to work after having some initial problems with the install of BeautifulSoup (kept giving me space shortage error even with 90MB free on the device memory - I unpacked on pc and copied the files over manually).

To run it, I open xterm, then I have to become root (won't run if I don't - is this right?). Next I enter the command MyDocs/sipie/sipie.py
Then I get the prompt "Enter stream:", which I enter, and after 20-30 seconds, that channel is streaming. Good work!

Just wondering why I have to be root for it to run? It's a minor point but it would be nice to make it simpler to start (guess I'm wishing for a gui!)

Thanks again for a really great application!

Mike_L 2008-04-17 00:15

Re: Sirius on N800 via sipie
 
I have the root problem too. I spent a couple of hours playing with the permissions but, I was never able to get around it.

The 20-30 second pause is the buffer building. You can try changing the value to speed it up. You can try changing the value in the cliPlayer.py script to try and speed it up. To low and it will start to skip.

Has anyone tried using the sirius firefox plugin with the moble firefox browser? I know that browser only works with a keyboard at the moment so you need an 810. All I have is an 800.

Delphipgmr 2008-04-26 21:04

Re: Sirius on N800 via sipie
 
anybody know how to re-enter the id/password?

i tried it with a temp id first, and now i have a real id.

jweinel 2008-04-27 17:55

Re: Sirius on N800 via sipie
 
I believe the login info is stored in the config file. If you open xterm and do a "cd .sipie" (it's one of those hidden directories; /home/user/.sipie if you become root in xterm), you will find the config file, cookies.txt, and possibly playlist. Try deleting the config file and I believe you will be prompted for the login info. It may be that the login info is also stored in the cookies.txt file, I can't recall.

Delphipgmr 2008-04-27 21:38

Re: Sirius on N800 via sipie
 
yes i found it, but it still doenst seem to work right, apparently, if you log into sirrus radio from another computer, you have to go thru the verification again.

btw, im working on it from another angle...maybe someone out there can help me get it to work...

i installed a streaming server, and i can access the music using regular media player. but i cant get it to work with anything on the n810.

here is a link to it (Its running on my paid account, so im only going to leave it up for awhile)

http://75.144.208.43:19080/feeds/lin...w&r=1209321029

see if anyone can get it to play on the tablet!

thanks

Delphipgmr 2008-04-27 22:08

Re: Sirius on N800 via sipie
 
also, i setup a TVersity server, with no luck either

http://75.144.208.43:41952/

jweinel 2008-04-27 22:08

Re: Sirius on N800 via sipie
 
My N800 connects to your Sirius channel list but clicking on any item results in an immediate "Connection to media stream lost.....".

Delphipgmr 2008-04-27 23:40

Re: Sirius on N800 via sipie
 
exactly, but try it from your computer, it should work fine,.

Delphipgmr 2008-04-28 11:32

Re: Sirius on N800 via sipie
 
no other ideas on this?

I just need something on the 810 that can play that stream

Delphipgmr 2008-04-28 23:38

Re: Sirius on N800 via sipie
 
got it working!

now i can stream all the internet sirius channels.

you need to setup uSirius, and ORB. then manually add the channels as a internet favorites, on a static IP.

im running it at 32K, anyone have a high speed account to test with? im curious if there is a diffference in quality

bg4 2008-04-29 11:46

Re: Sirius on N800 via sipie
 
Quote:

Originally Posted by jweinel (Post 175292)
I believe the login info is stored in the config file. If you open xterm and do a "cd .sipie" (it's one of those hidden directories; /home/user/.sipie if you become root in xterm), you will find the config file, cookies.txt, and possibly playlist. Try deleting the config file and I believe you will be prompted for the login info. It may be that the login info is also stored in the cookies.txt file, I can't recall.

Messed up up p/w and cant delete config (xterm says file not found) file and file manager says sipie directory is read only.

any help to re-enter p/w - anyone able to do this?

Delphipgmr 2008-04-29 13:41

Re: Sirius on N800 via sipie
 
you must be in the wrong directory,

cd /home/user/.sipie
rm config
rm cookies.txt
rm playlist

sipie does not work very well, it work so much better to do it the way i did with the usirius and orb.

jdm 2008-06-05 03:57

Re: Sirius on N800 via sipie
 
Has the SIRIUS interface changed recently?
I now get the following after executing python sipie.py:
Enter username: xxxxxxxxx
Enter password: xxxxxxxxx

Login Type, type guest or subscriber
Enter login type: subscriber
Are you using Sirius Cananda (http://siriuscanada.ca)
True or False: False

Traceback (most recent call last):
File "sipie.py", line 22, in <module>
Sipie.cliPlayer()
File "/root/Sipie/Sipie/cliPlayer.py", line 69, in cliPlayer
sipie = Player(config.items())
File "/root/Sipie/Sipie/Factory.py", line 99, in __init__
self.__setupOpener()
File "/root/Sipie/Sipie/Factory.py", line 115, in __setupOpener
opener = urllib2.build_opener(cookie_handler, proxy_handler)
File "/usr/lib/python2.5/urllib2.py", line 467, in build_opener
opener.add_handler(h)
File "/usr/lib/python2.5/urllib2.py", line 303, in add_handler
type(handler))
TypeError: expected BaseHandler instance, got <type 'NoneType'>
Nokia-N810-51-3:~/Sipie#

Previously I did not get the Canada query.
Sipie.py fails after that.

Has anyone else had this experience?

jweinel 2008-06-05 23:31

Re: Sirius on N800 via sipie
 
Still works for me. I have been getting the Canada true/false question since I starting using this procedure back in mid-April.

bg4 2008-06-25 14:40

Re: Sirius on N800 via sipie
 
upgraded to diablo but now cannot locate and install BeautifulSoup

anyone have a link?

Using on a N810 (really this thread doesn't belong on N800 but I digress)

bg4 2008-06-25 14:46

Re: Sirius on N800 via sipie
 
found it - http://www.crummy.com/software/BeutifulSoup/download/BeautifulSoup.py


still working on setting it up in diablo

keep getting error No module named getpass

any help?

wsiebert 2008-06-25 14:50

Re: Sirius on N800 via sipie
 
bg4:

Open Application Manager > Application Catalog > Maemo Extras and write “chinook diablo” in the box marked Distribution.

bg4 2008-06-25 15:06

Re: Sirius on N800 via sipie
 
didnt help - actually had already done it

EDIT - RESOLVED - sirius working on N810/Diablo

As stated above - easy_install BeautifulSoup did not work - use wget and following link

http://crummy.com/software/BeutifulS...autifulSoup.py

Remember all of this takes place in xterm in directory MyDocs/sipie (some maybe .sipie?)

Now I needed getpass.py - google search revealed that maemo has the file at

https://garage.maemo.org/plugins/scm...oot=airx&rev=1

there is a string that has to be added (to the end of the above link) cause its not secure or something. I copied download link to notes/added string and copied/pasted it back to Xterm.
downloaded it to sipie directory and it is working

Now I can run python sipie.py and it asks for my username/pw and all the canada and captcha stuff.

Spoke too soon - seems my three day trial that I got two months ago finally expired. Back to using orb - which is actually better but I just wanted to prove that you can run python sipie.py on diablo.

iTab 2008-07-18 17:46

Re: Sirius on N800 via sipie
 
I am awaiting the arrival of my N800 (I used to have a Nokia 770).

Is there a definitive walkthrough for this SIRIUS set-up that works?

Thank you to everyone!

alvindd 2008-07-18 18:49

Re: Sirius on N800 via sipie
 
I just recently installed Diablo, and really wanted Sirius back on my
N800 via sipe.

Here's what I did.

Make sure wget, becomeroot(for sudo gainroot), and mplayer are already installed on your device.

After getting root privileges on device, type at command line:

apt-get install mplayer python2.5 python2.5-dev python-setuptools wget

mplayer will update if needed.
answer 'Yes' to any questions asked here.
(notice the 3rd mention of python is not written python2.5, I recieved errors if I wrote python2.5-setuptools)

Next install BeautifulSoup:

wget http://www.crummy.com/software/Beaut...autifulSoup.py
(crummy.com/software/BeautifulSoup/download/BeautifulSoup.py)

Change to your home directory:

cd /home/user/MyDocs

Download sipie:

wget http://packratstudios.com/download/sipie.tar.gz

Untar by:

tar -xvzf sipie.tar.gz

Change to the sipie directory:

cd sipie

launch sipie:

type EITHER... python sipie.py OR... MyDocs/sipie/sipie.py ONE will work for you , getting to the login step.

iTab 2008-07-18 19:13

Re: Sirius on N800 via sipie
 
God Bless You!!!

Now, can someone please test this? I can't do anything until mine arrives (maybe tomorrow, maybe Monday). :(

How is the streaming quality?

I CAN'T WAIT FOR MY PORTABLE HOWARD 100

alvindd 2008-07-18 19:32

Re: Sirius on N800 via sipie
 
Here are stream names:


"cnn" ,"siriusdisorder"
,"punk" ,"thespectrum"
,"60svibrations" ,"metropolitanopera" ,"undergroundgarage"
,"laughbreak" ,"movineasy" ,"firstwave" ,"chill" ,"jamon" ,"spa73"
,"thecatholicchannel" ,"siriusgold" ,"siriusleft" ,"siriuslove"
,"siriusoutq" ,"siriuspops" ,"classicrewind" ,"leftofcenter"
,"90salternative" ,"soultown" ,"siriuslysinatra" ,"shade45"
,"purejazz" ,"altnation" ,"faction" ,"howardstern100" ,"howardstern101"
,"ewtnglobal" ,"planetjazz" ,"thebeat" ,"area33" ,"big80s" ,"bbcradio1"
,"thebridge" ,"siriusnflradio" ,"siriuspatriot" ,"classicvinyl"
,"coffeehouse" ,"broadwaysbest" ,"standardtime" ,"maximradio"
,"hairnation" ,"octane" ,"thepulse" ,"thevault" ,"newcountry"
,"praise" ,"rawdog" ,"rumbon" ,"spirit" ,"elvisradio" ,"thewho"
,"thestrobe" ,"theroadhouse" ,"bluecollarcomedy" ,"radiomargaritaville"
,"starlite" ,"backspin" ,"playboyradio" ,"totally70s"
,"marthastewartlivingradio" ,"reggaerhythms" ,"hotjamz" ,"revolution"
,"jazzcafe" ,"symphonyhall" ,"hardattack" ,"outlawcountry"
,"cosmopolitanradio" ,"bluegrass" ,"heartandsoul"
,"siriusblues" ,"siriushits1" ,"boombox" ,"siriusstars" ,"universolatino"
,"kidsstuff" ,"supershuffle" ,"hiphopnation" ,"buzzsaw" ,"primecountry"

iTab 2008-07-18 21:52

Re: Sirius on N800 via sipie
 
What happened to this posted message:

We should post the proper names of streams that correctly work:

hairnation, octane, altnation, faction, firstwave.

lithium and howard100 and howard101 are listed invalid streams :(


I just need to know if Howard 100 & Howard 101 works...?

How easy or hard is it to do this "hack"...?

alvindd 2008-07-19 01:01

Re: Sirius on N800 via sipie
 
I edited my original message because it had bad news(incorrect stream names) about streaming the howard channels, that you might not like.

Look in the stream name list for the correct howard stream name, it works I tried it.

The list came from the first post in this thread by m00s3computer, thanks.

iTab 2008-07-19 16:36

Re: Sirius on N800 via sipie
 
So, it's possible to stream Howard Stern and there shouldn't be an issue?

Is it easy or hard to get this to work?

iTab 2008-07-22 14:23

Re: Sirius on N800 via sipie
 
Quote:

Originally Posted by alvindd (Post 204531)
I just recently installed Diablo, and really wanted Sirius back on my
N800 via sipe.

Here's what I did.

Make sure wget, becomeroot(for sudo gainroot), and mplayer are already installed on your device.

After getting root privileges on device, type at command line:

apt-get install mplayer python2.5 python2.5-dev python-setuptools wget

mplayer will update if needed.
answer 'Yes' to any questions asked here.
(notice the 3rd mention of python is not written python2.5, I recieved errors if I wrote python2.5-setuptools)

Next install BeautifulSoup:

wget http://www.crummy.com/software/Beaut...autifulSoup.py
(crummy.com/software/BeautifulSoup/download/BeautifulSoup.py)

Change to your home directory:

cd /home/user/MyDocs

Download sipie:

wget http://packratstudios.com/download/sipie.tar.gz

Untar by:

tar -xvzf sipie.tar.gz

Change to the sipie directory:

cd sipie

launch sipie:

type EITHER... python sipie.py OR... MyDocs/sipie/sipie.py ONE will work for you , getting to the login step.

Where do you get:

wget, becomeroot (for sudo gainroot), and mplayer

And then, how do you get root privileges?

josiahg777 2008-07-22 17:25

Re: Sirius on N800 via sipie
 
don't use becomeroot, use rootsh which can be install through the app manager.

mplayer can be installed through the app manager as well.

wget can be installed by

Code:

root
apt-get install wget

in xterm.

to become root in xterm you should just be able to type "root"

Or "sudo su -"

iTab 2008-07-26 01:01

Re: Sirius on N800 via sipie
 
Now I am confused, what exactly should I be doing for this Sirius application?

iTab 2008-07-26 02:54

Re: Sirius on N800 via sipie
 
Where do I get XTerm?

iTab 2008-07-26 03:27

Re: Sirius on N800 via sipie
 
Sorry to go on babbling and babbling, but I am trying so hard to get this to work.

Has anyone got this working yet?

Can someone (that got this working) please post a "How-To" with a step-by-step list of instructions for a ***** like me, please?

I don't know what to do once I open XTerm...

Where do I get PYMaemo from?

Someone - PLEASE?!?!?!?!

I would love to get this working. Someone please help me.

alvindd 2008-07-26 18:11

Re: Sirius on N800 via sipie
 
Follow post #64 of this thread or go to:

http://packratstudios.com/index.php/...ternet-tablet/

iTab 2008-07-26 19:11

Re: Sirius on N800 via sipie
 
Thank you, but Maemo Extras won't "update" after I install it...?

iTab 2008-07-26 19:28

Re: Sirius on N800 via sipie
 
In addition, the OpenSSH won't install, it says there is a problem. "APPLICATION PACKAGE NOT FOUND"... I also cannot install MPlayer???

And now, the whole device seems to be running slower... :-(

jdm 2008-08-07 16:02

Re: Sirius on N800 via sipie
 
I have not been able to get sirius to work since I upgraded to diablo.
My problem seems to be in the installation of BeautifulSoup:

Nokia-N810-23-14:~# easy_install BeautifulSoup
Traceback (most recent call last):
File "/usr/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 657, in <module>
class Environment(object):
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 660, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 55, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 186, in get_build_platform
from distutils.util import get_platform
ImportError: No module named distutils.util

Has anyone been able to install BeautifulSoup on Diablo?

iTab 2008-08-08 01:56

Re: Sirius on N800 via sipie
 
I have it working...

Anyone know how I can get FOX News Channel playing?

alvindd 2008-08-08 19:49

Re: Sirius on N800 via sipie
 
Quote:

Originally Posted by jdm (Post 211219)
I have not been able to get sirius to work since I upgraded to diablo.
My problem seems to be in the installation of BeautifulSoup:


Has anyone been able to install BeautifulSoup on Diablo?

check through post #64 of this thread, you may be using an older BeautifulSoup address.


All times are GMT. The time now is 10:24.

vBulletin® Version 3.8.8