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)

dsawhney 2010-09-12 17:59

Re: [application] pyRadio (Pandora)
 
Updated to 3.2, it still has that random playback stop issue. UI will load the album art and information for a new song but it won't play. Pressing next fixes the issue.

fatalsaint 2010-09-12 18:01

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by dsawhney (Post 814273)
Updated to 3.2, it still has that random playback stop issue. UI will load the album art and information for a new song but it won't play. Pressing next fixes the issue.

Run from a terminal, and also try rebooting the phone.

That's going to be my first suggestion from now on :D.

dsawhney 2010-09-12 18:08

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 814275)
Run from a terminal, and also try rebooting the phone.

That's going to be my first suggestion from now on :D.

Ok, running from the terminal now to see if I can recreate the issue

dsawhney 2010-09-12 19:21

Re: [application] pyRadio (Pandora)
 
Was finally able to recreate the issue after going through 20+ songs, here's the log

PROPERTY CHANGED transport-actions seek <type 'str'>
MAFW METADATA CHANGED audio-codec ['MPEG 1 Audio, Layer 3 (MP3)']
MAFW METADATA CHANGED bitrate [128000]
MAFW POSITION 0
MAFW POSITION 1
MAFW POSITION 1
Thumbs up successful.
MAFW POSITION 2
MAFW POSITION 3
Getting next song..
MAFW PLAYBACK 8060960 None <ctypes.LP__GError object at 0x44fd08a0>
MAFW STATE CHANGED 2
Paused
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
PLAY
MAFW STATE CHANGED 3
MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW PLAYBACK 8060960 None <ctypes.LP__GError object at 0x44fd08a0>
MAFW PLAYBACK 8060960 None <ctypes.LP__GError object at 0x44fd08a0>
cannot resume in transitioning state without having paused before
MAFW POSITION 0
MAFW POSITION 0
MAFW METADATA CHANGED is-seekable [False]
MAFW STATE CHANGED 0
MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0

fatalsaint 2010-09-12 21:29

Re: [application] pyRadio (Pandora)
 
Ok, that's more along what I expected. As I said earlier.. I've had random stopping issues that I'm trying to work on but the problem appears more in MAFW than my code.. I pass it the URL and it just sits there.

If it's happening in 20+ songs though that's not terrible at least... better than every 5 lol. Try skipping that song with the next button and see if it starts again.

YoDude 2010-09-12 22:02

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 814209)
Smooth as silk before or after you removed the config files?

before... In fact I haven't removed the config yet. Should I?

Logs all look pretty much the same...

Code:

MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
MAFW POSITION 0
MAFW METADATA CHANGED is-seekable [False]
MAFW BUFFERING 0.0
MAFW POSITION 0
MAFW BUFFERING 0.340000003576
MAFW BUFFERING 0.34999999404
MAFW POSITION 0
MAFW BUFFERING 0.699999988079
MAFW BUFFERING 0.709999978542
MAFW POSITION 0
MAFW METADATA CHANGED duration [277]
MAFW METADATA CHANGED is-seekable [True]
MAFW BUFFERING 1.0
MAFW STATE CHANGED 1
Playing
PLAY
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
MAFW METADATA CHANGED audio-codec ['MPEG 1 Audio, Layer 3 (MP3)']
MAFW METADATA CHANGED bitrate [128000]
MAFW POSITION 2
MAFW POSITION 3
The Hippy Song by Slim Harpo
We're Gonna Rock by Memphis Slim & Willie Dixon
Key To The Highway by Big Bill Broonzy, Sonny Terry, And Brownie McGhee
Why Don't You Practice What You Preach? by Speckled Red
Getting next song..
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
MAFW STATE CHANGED 2
Paused
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
PLAY
MAFW STATE CHANGED 3
MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
cannot resume in transitioning state without having paused before
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW POSITION 0
MAFW METADATA CHANGED is-seekable [False]
MAFW BUFFERING 0.0
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.280000001192
MAFW BUFFERING 0.280000001192
MAFW POSITION 0
MAFW BUFFERING 0.639999985695
MAFW BUFFERING 0.639999985695
MAFW POSITION 0
MAFW POSITION 0
MAFW METADATA CHANGED duration [258]
MAFW METADATA CHANGED is-seekable [True]
MAFW BUFFERING 1.0
MAFW STATE CHANGED 1
Playing
PLAY
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
MAFW METADATA CHANGED audio-codec ['MPEG 1 Audio, Layer 3 (MP3)']
MAFW METADATA CHANGED bitrate [128000]
MAFW POSITION 0
MAFW POSITION 1
MAFW POSITION 2
MAFW POSITION 2
MAFW POSITION 3
The Duck Walk by Eddy Clearwater
Blow Your Lid (But Watch Your Cool) by Bernard Purdie
Jesus Is On The Mainline by Mississippi Fred McDowell
Back Water Blues (Big Bill Blues) by Big Bill Broonzy
Getting next song..
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32850>
MAFW STATE CHANGED 2
Paused
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
PLAY
MAFW STATE CHANGED 3
MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32850>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32850>
cannot resume in transitioning state without having paused before
MAFW POSITION 0
MAFW METADATA CHANGED is-seekable [False]
MAFW BUFFERING 0.0
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.129999995232
MAFW BUFFERING 0.140000000596
MAFW POSITION 0
MAFW BUFFERING 0.239999994636
MAFW BUFFERING 0.239999994636
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.439999997616
MAFW BUFFERING 0.449999988079
MAFW POSITION 0
MAFW BUFFERING 0.629999995232
MAFW BUFFERING 0.670000016689
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.819999992847
MAFW BUFFERING 0.870000004768
MAFW POSITION 0
MAFW BUFFERING 0.97000002861
MAFW POSITION 0
MAFW METADATA CHANGED duration [145]
MAFW METADATA CHANGED is-seekable [True]
MAFW BUFFERING 1.0
MAFW STATE CHANGED 1
Playing
PLAY
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
MAFW METADATA CHANGED audio-codec ['MPEG-4 AAC audio']
MAFW METADATA CHANGED audio-codec ['MPEG-4 AAC audio']
MAFW POSITION 0
MAFW POSITION 1
MAFW POSITION 1
MAFW POSITION 2
MAFW POSITION 3
Tell Me Where You Stayed Last Night by Mance Lipscomb
Lonesome Day by Muddy Waters
Late In The Evening by Lightnin' Hopkins
I Wonder Why by T-Bone Walker
Getting next song..
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
MAFW STATE CHANGED 2
Paused
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
PLAY
MAFW STATE CHANGED 3
MAFW PROPERTY CHANGED transport-actions <type 'str'>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
MAFW PLAYBACK 4785568 None <ctypes.LP__GError object at 0x44f32800>
cannot resume in transitioning state without having paused before
MAFW POSITION 0
MAFW POSITION 0
MAFW METADATA CHANGED is-seekable [False]
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.0
MAFW POSITION 0
MAFW BUFFERING 0.15000000596
MAFW POSITION 0
MAFW BUFFERING 0.170000001788
MAFW POSITION 0
MAFW BUFFERING 0.319999992847
MAFW BUFFERING 0.340000003576
MAFW POSITION 0
MAFW POSITION 0
MAFW BUFFERING 0.479999989271
MAFW BUFFERING 0.519999980927
MAFW POSITION 0
MAFW BUFFERING 0.75
MAFW BUFFERING 0.800000011921
MAFW POSITION 0
MAFW METADATA CHANGED duration [168]
MAFW METADATA CHANGED is-seekable [True]
MAFW BUFFERING 1.0
MAFW STATE CHANGED 1
Playing
PLAY
MAFW PROPERTY CHANGED transport-actions seek <type 'str'>
MAFW METADATA CHANGED audio-codec ['MPEG 1 Audio, Layer 3 (MP3)']
MAFW METADATA CHANGED bitrate [128000]
MAFW POSITION 0
MAFW POSITION 1
MAFW POSITION 1
MAFW POSITION 2
MAFW POSITION 2
MAFW POSITION 3

...and that's^ after hammering it with quality, rotation, station, and song changes one right after another while connected through GPRS from home, but not on the move.

So I don't want to fix it until it breaks. :D

I'll hold off on wiping the config file until I hear from you.

fatalsaint 2010-09-12 23:29

Re: [application] pyRadio (Pandora)
 
No, if it's working leave it. The config file format hasn't changed it was just a thought I had for leviathan which ended up just needing a reboot anyway.

ETA: Also, if you get the POSITION 0 stuck problem .. try rebooting the phone like leviathan did and see if it goes away for a long while.

parejkoj 2010-09-13 18:05

Re: [application] pyRadio (Pandora)
 
The pause/play button isn't pausing in version 3.2 for me (N800 Diablo+Community SSU+Diablo5 theme). Anyone else having this problem?

fatalsaint 2010-09-13 19:14

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by parejkoj (Post 815076)
The pause/play button isn't pausing in version 3.2 for me (N800 Diablo+Community SSU+Diablo5 theme). Anyone else having this problem?

Yup.. it appears I have the same problem on my N810.

I'm looking into it.

Thanks

YoDude 2010-09-15 00:25

Re: [application] pyRadio (Pandora)
 
With regard to the N900:


I worked from home yesterday and after a day of use on WiFi... no problems with playback.

Today I used it on the road and traveled about 120 miles visiting sites in three states. The first leg retraced my route on Friday where I had problems with the previous version. I also left pyRadio running all day without reboot (about 10.5 hours) and had zero playback issues.

I went through areas along the way with little or no signal. In one 6 or 7 minute stretch pyRadio appeared to freeze. However, I was able to minimize it to the dashboard and focus on another task. When signal was restored, music resumed....

Life as it should be. :)

There are still little issues with the GUI regarding portrait/auto/landscape settings but it appears that the connection issues are history.

Good job and thank you.

Best regards.


All times are GMT. The time now is 18:13.

vBulletin® Version 3.8.8