maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [application] pyRadio (Pandora) (https://talk.maemo.org/showthread.php?t=56036)

fatalsaint 2011-11-17 01:43

Re: [application] pyRadio (Pandora)
 
i went back and looked at rm_you's post where he got pyradio working and take a look at his repo:

http://sheeplauncher.net/debs/

there is python-gst in there. try that.

cddiede 2011-11-17 01:43

Re: [application] pyRadio (Pandora)
 
Don't see any python-gst package here:
http://repository.maemo.org/extras-d...mantle/free/p/

I'll check some other repos...

cddiede 2011-11-17 02:37

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 1124790)
i went back and looked at rm_you's post where he got pyradio working and take a look at his repo:

http://sheeplauncher.net/debs/

there is python-gst in there. try that.

No good. That python-gst fails due to missing dependency python-central..

fatalsaint 2011-11-17 02:56

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by cddiede (Post 1124802)
No good. That python-gst fails due to missing dependency python-central..

did you run a search for python-central?

apt-cache search python-central

cddiede 2011-11-17 03:00

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 1124808)
did you run a search for python-central?

apt-cache search python-central

Got it. python-central installed without a hitch from apt-get.

After that python-gst installed no problem.

Gonna re-install the gstreamer version of pyradio and try to connect to an audio stream now...

cddiede 2011-11-17 03:05

Re: [application] pyRadio (Pandora)
 
Dang. This time, it won't lauch. Crash message in the terminal:

Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 694, in <module>
panda = Panda()
File "/opt/pyRadio/pyRadio.py", line 108, in __init__
self.player = RadioPlayer()
File "/opt/pyRadio/radioplayer.py", line 26, in __init__
from libpiano.GstBackend import GstBackend
ImportError: No module named GstBackend
~ $


I double checked that I did install the python gst package:

~ $
~ $ dpkg -l|grep -i gst|grep python
ii python-gst0.10 0.10.21-1maemo1+0m6 generic media-playing framework (Python bindings)
~ $

fatalsaint 2011-11-17 04:07

Re: [application] pyRadio (Pandora)
 
That was the older Gst one that was broken.

I re-uploaded Gst to the URL.. re-download and try that.

cddiede 2011-11-17 04:50

Re: [application] pyRadio (Pandora)
 
re-downloaded and the application starts quickly and without error.

But still no audio! I triple checked that the volume is up. I can't figure it since the terminal output looks perfectly happy:

$ /opt/pyRadio/pyRadio.py
Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
could not autorotate on PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Radio Started.
hijackWindow() context created for Panda(0x623e08, name = "pyRadio") 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x7ff990)
In Love With The DJ by ATB
Fallen Angel's Symphony (Paul Oakenfold Remix) by Paul Oakenfold
Lux Aeterna by Clint Mansell & Kronos Quartet
Neno Itome by Marksun & Brian
Getting next song..
PLAY

cddiede 2011-11-17 04:55

Re: [application] pyRadio (Pandora)
 
Almost forgot:

If you end up making N9/N950 .deb for pyradio, your pyradio.desktop file has to be in /usr/share/applications instead of /usr/share/applications/hildon

I manually moved the .desktop file from the existing .deb file up one level and it works perfectly on the N9 to launch the application.

fatalsaint 2011-11-17 05:03

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by cddiede (Post 1124826)
re-downloaded and the application starts quickly and without error.

But still no audio! I triple checked that the volume is up. I can't figure it since the terminal output looks perfectly happy:

$ /opt/pyRadio/pyRadio.py
Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
could not autorotate on PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Radio Started.
hijackWindow() context created for Panda(0x623e08, name = "pyRadio") 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x7ff990)
In Love With The DJ by ATB
Fallen Angel's Symphony (Paul Oakenfold Remix) by Paul Oakenfold
Lux Aeterna by Clint Mansell & Kronos Quartet
Neno Itome by Marksun & Brian
Getting next song..
PLAY

Yeah that definitely doesn't make sense :mad:

That looks perfect. The 'PLAY' is coming from the Audio Backend but from there it's supposed to buffer, set the position, and start.

Do you get a timer that counts down at all? (underneath the album art)

Edit: Also, in the menu, do you have a 'set max audio' button to click? I set it up for N8x0 users and since you don't have an FM transmitter I think it'll show up in there.


All times are GMT. The time now is 21:51.

vBulletin® Version 3.8.8