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 2010-11-07 05:44

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by ThePooBurner (Post 865307)
same problem for me. started this morning. worked fine yesterday. they must have changed the crypto key again.

Fix is in the build-queue. Expect it in 20 mins to an hour. Make sure and update repositories. No other fixes at this time, have had no time to work on it but I'll make sure it stays functional.

For all the Python dependency problems there is nothing I can do. I don't set a specific version in my dependencies. Evidently there must have been a PyQt4 update or something recently that needs to be resolved.

attila77 2010-11-07 15:19

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 865716)
For all the Python dependency problems there is nothing I can do. I don't set a specific version in my dependencies. Evidently there must have been a PyQt4 update or something recently that needs to be resolved.

See http://talk.maemo.org/showthread.php...d=1#post865992

On a side note, I expect to have PyQt 4.8 compiled against PR1.3 in a few days, so it certainly will change.

Tip: try disabling extras-devel, there is bork there.

kiatoa 2010-11-07 21:36

Re: [application] pyRadio (Pandora)
 
I'm past the login but now get:


qMixIds = s["quickMixStationIds"]
KeyError: 'quickMixStationIds'
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 4756512 volume 5432320 <ctypes.LP__GError object at 0x45171990>
volume 28
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 174, in tiredSong
res = self.player.doTired( self.song )
File "/opt/pyRadio/radioplayer.py", line 92, in doTired
return self.pandora.setTired( song[1]["identity"] )
TypeError: 'int' object is unsubscriptable

kiatoa 2010-11-07 23:51

Re: [application] pyRadio (Pandora)
 
Addendum:

FYI, I rebooted and tried pyradio again and initially could not log in again. After a time I tried again and I'm able to log in but my stations are not being found. There is no error message but if I try to add a station I get this:

Radio Started.
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 213, in auth
self.getStations()
File "/opt/pyRadio/pyRadio.py", line 231, in getStations
qMixIds = s["quickMixStationIds"]
KeyError: 'quickMixStationIds'
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 5805088 volume 7156608 <ctypes.LP__GError object at 0x5db990>

As an aside, has anyone considered asking Pandora if they would support 3rd party apps by not changing the "code" for logins from paying subscribers?

Seems like a win-win possibility to me. I tried using the web interface to pandora but it hiccups, pauses and just doesn't run well enough to tolerate.

fatalsaint 2010-11-08 03:57

Re: [application] pyRadio (Pandora)
 
Are you on an N900?

try removing pyRadio and re-installing it. Those errors are strange, mine is working fine with pyRadio 3.5, tired button included.

What versions of Python do you have?

If you want to contact Pandora you can - I don't think you'll get much.

The Arsonist 2010-11-08 13:12

Re: [application] pyRadio (Pandora)
 
Unfortunately, I ran into that login boot loop this weekend, but I got the update last night and it worked last night on Wifi and its working fine this morning on T-Mobile USA. I'm not sure if I'm just getting lucky or something, but everything is still cool for me. Lol. My recommendation to the guys that having problems with PyQt or whatever is DISABLE the devel unless you're updating with a purpose(like Fatalsaint saying the new update has been pushed for us) or just more choosey with your update selections. I know everyone wants to be on the bleeding edge, but do yourself a favor and make sure some others are having success with the update before screwing up your own stuff. We obviously need someone to bite the bullet when these updates are getting pushed, but I honestly say leave it to those who actually know how to troubleshoot these problems if they come along.

Otherwise, thanks so much to fatalsaint. I don't know how you keep fixing this stuff man, but good work. I've really gotta get on the ball with learning this QT stuff man. I've got QT creator installed and I've been playing around with it, but I've still got a long way to go.

Rapparee 2010-11-08 15:21

Re: [application] pyRadio (Pandora)
 
Py was doing the athentication loop again. Was hoping for an update, witch just came, everything works great now! TY FS!

seecable7 2010-11-08 15:58

Re: [application] pyRadio (Pandora)
 
unable to install pyradio
some applicatioon packages required for installation are missing
python2.5-qt4-common
how can i solve the problem?
Quote:

Originally Posted by fatalsaint (Post 712747)
pyRadio

pyRadio is a python2.5-qt4 (PyQt4) implementation of Pandora Radio. Audio runs through MAFW for N900 or OSSO for Diablo (N810/N800).

Looks like pyPianobar??

Yes it does! This is an evolution from pyPianobar which is a front end for the command line application pianobar. spbogie developed an all-python implementation of communicating with Pandora Radio directly. I have borrowed that code, and extended it to include additional features. I then took pyPianobar and merged it making an all-python, native application that is no longer a front-end for anything.

This is no longer a "hack" for Pandora, but a true all-encompassing application.

Features:
  • Login to Pandora via username/password popup. Saved so you only need to enter it once.
  • Skip Songs
  • Play/Pause
  • Change Stations
  • "Like" songs
  • "Hate" songs
  • Display Title, Artist, and Album
  • Display album art
  • Create & Delete stations
  • Snooze
  • Mark songs "Tired"
  • Enable FM Transmitter
  • Integrate with current theme colors
  • Pandora One increased audio quality support!
  • Auto-pause when making or receiving phone calls

Known Issues:
  • 6 hours+ play will likely fail.

Installation
  1. Extras-Devel

Why Python??

Simplicity. Using the same package, we should be able to run this on our Maemo 5, and future Harmattan/MeeGo and full MeeGo devices.

Pandora

Don't forget to update to Pandora One. Higher quality audio works now in pyRadio!

Special thanks goes to Thorprime and YoDude for the interface. Also, thanks to everyone that has supported and helped pyPianobar grow! This was the obvious evolution of that as it was always a hack and we can now extend it further than we could before.

http://packages.linuxniche.net/pyradio.png
http://packages.linuxniche.net/pyradio_menu.png
http://packages.linuxniche.net/pyradio_tired.png
http://packages.linuxniche.net/pyradio_donate.png


jsharper 2010-11-08 16:07

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by seecable7 (Post 867064)
unable to install pyradio
some applicatioon packages required for installation are missing
python2.5-qt4-common
how can i solve the problem?

One way is to wait for the PyQt4 packages in Extras to get fixed. The versions between the various sub-packages are currently out of sync. The PyQt4 maintainer said yesterday he is working with the repo maintainer to get it cleaned up.

Alternately, you can try running "apt-get install python2.5-qt4-common=4.7.4-maemo0 python2.5-sip4=4.10.5-maemo0" from a cmdline as root and then see if you can install pyradio after that.

The Arsonist 2010-11-08 16:48

Re: [application] pyRadio (Pandora)
 
Now I do see one new feature, but I'm not exactly sure what it does. Can you explain this new "Add Seed" Button on the settings bar(you may have added it a while ago and I've just missed it)? I selected add new seed to artist and I saw no difference, what is it exactly?


All times are GMT. The time now is 07:29.

vBulletin® Version 3.8.8