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-06-26 21:11

Re: [application] pyRadio (Pandora)
 
Sorry, Got delayed last night.

It's been uploaded and will be available within the hour. Just minor tweaks here and there.. still no fixes to the Portrait UI.. but there will be :D. Promise.

Years ago I learned to comment my code... somewhere over time I've gotten lazy and don't comment anymore... this is starting to bite me in the ***, again lol.

Note to coders: always comment :D.

The Arsonist 2010-06-29 16:37

Re: [application] pyRadio (Pandora)
 
Sorry its been a while since I've given any feedback, but I come bearing gifts. I've looked into the reason why the default Media Player doesn't skip and its because they use MAFW.

Apparently this can circumvent the patches and makeshift changes that you've tried to correct the lockscreen stuttering and play music in Silent Profile. Here's an excerpt I found from the website below:

"Using MAFW on the N900 has some benefits. For instance, audio will play in silent mode and doesn't stutter while locking the screen. And you are able to control the volume with the hardware keys while the screen is locked (this requires Maemo5 PR 1.2)."

http://pycage.blogspot.com/2010/06/n...n900-n800.html

If you take a look at that site, he also has the source code posted in the Garage for scripting MAFW in Python. So I'm hoping this can be of some kind of help to you. Best of luck!

fatalsaint 2010-06-29 16:45

Re: [application] pyRadio (Pandora)
 
I knew I would probably have to integrate PyRadio with MAFW eventually.. but the python->MAFW bindings were/are stuck, seemingly indefinitely (last update in 2009), in the Extras Devel repo. So if I depend on them, I will forever be stuck in Extras-Devel and not able to push it forward.

That is why I chose gstreamer for the solution right now. If better python MAFW bindings appear and get promoted.. then we can work with that.

ETA: OIC.. he has his own much like we do for PulseAudio now...

That.. I could probably do. Sweet! (assuming MAFW will let me load a URL...)

tho 2010-06-30 06:24

Re: [application] pyRadio (Pandora)
 
Just a quick question.
I was listening to pandora using pyradio 1.6 today. Everytime a song ended, it would start the next song, but then after only about one second skip to another.
Is that a known issue?

fatalsaint 2010-06-30 13:18

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by tho (Post 734972)
Just a quick question.
I was listening to pandora using pyradio 1.6 today. Everytime a song ended, it would start the next song, but then after only about one second skip to another.
Is that a known issue?

Hrm.. No it's not.

I listened to it all day yesterday and did not experience the problem.. strange. Is this reproduceable? Happens every time?

I will look into the code around the song skipping to see if I am having a bit of a race/timer issue going on.. has anyone else experienced the same phenomenon?

Flandry 2010-06-30 15:04

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 735386)
Hrm.. No it's not.

I listened to it all day yesterday and did not experience the problem.. strange. Is this reproduceable? Happens every time?

I will look into the code around the song skipping to see if I am having a bit of a race/timer issue going on.. has anyone else experienced the same phenomenon?

No, but i did manage to get it all confused so that it was displaying a different channel than it was playing, and album art one song behind the actual. :D

Edit. Only once, though... so far.

fatalsaint 2010-06-30 15:54

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Flandry (Post 735512)
No, but i did manage to get it all confused so that it was displaying a different channel than it was playing, and album art one song behind the actual. :D

Edit. Only once, though... so far.

This one did happen to me.. once. I've tried looking at it it makes NO SENSE why.... the URL is part of the same array as the graphic and title so how it was trailing is a mystery to me at this point...

ceevee 2010-07-01 00:05

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Flandry (Post 735512)
No, but i did manage to get it all confused so that it was displaying a different channel than it was playing, and album art one song behind the actual.

This has happened to me multiple times. I usually select a station (selecting the station that's already playing is possible) to get it right again.

Flandry 2010-07-01 12:18

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 735386)
Hrm.. No it's not.

I listened to it all day yesterday and did not experience the problem.. strange. Is this reproduceable? Happens every time?

I will look into the code around the song skipping to see if I am having a bit of a race/timer issue going on.. has anyone else experienced the same phenomenon?

The answer the question is now "Yes". I had this problem all day yesterday. It was after i had already started and then killed pyRadio once when it got hung up with a bad "frozen" wifi connection.

fatalsaint 2010-07-01 14:00

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Flandry (Post 736995)
The answer the question is now "Yes". I had this problem all day yesterday. It was after i had already started and then killed pyRadio once when it got hung up with a bad "frozen" wifi connection.

So just to be clear.. it skips every song?


All times are GMT. The time now is 22:57.

vBulletin® Version 3.8.8