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)

YoDude 2010-08-25 03:32

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 797212)
Not sure where to put it :(. I can make one.. just need to integrate it into the interface somewhere. UI ideas would be appreciated..

As to the problem.. I will continue to look into it. I've had it get stuck on a song before (usually when I'm around spotty network).. but I can usually always skip to the next song. Never had it totally "stuck" before.. (You can't skip songs if it's in "Pause" status.. make sure the Play buttons triangle is lit when you try to skip).

I plan to have another release here soon but.. haven't found much to fix. This and the timer problem after a pause are the only two I know about.

I think you are right about spotty network causing that problem. For me it occurs in the same two places every day on my drive. It will also sometimes load the wrong art and tag info too when in these areas.

Not much you can do about that unless you want to hide it with a longer pre buffer but... that adds an annoyance to an otherwise fine app.

Well done dude. :)

fatalsaint 2010-08-25 03:46

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by YoDude (Post 797482)
It will also sometimes load the wrong art and tag info too when in these areas.

Now this is something I haven't seen in a long time.. I thought this was fixed?? Are you still getting incorrect album information?

Quote:

Well done dude. :)
Thanks man :).. Appreciate it.

UPDATE:

New version will be up shortly.. adds support for adding seeds! You can seed the currently playing Artist or Song to your active station :).

I also fixed the timer problem.. works much better now.. and play problems with N8x0 as well.

I would like heavy testing on this one as I'm about ready to push this forward to testing if there's no major issues.

dsawhney 2010-08-25 05:31

Re: [application] pyRadio (Pandora)
 
Updated to ver 2.7, it is still skipping some songs. The issue is easily reproducible if you select "next" as soon as a song starts playing.

fatalsaint 2010-08-25 05:47

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by dsawhney (Post 797532)
Updated to ver 2.7, it is still skipping some songs. The issue is easily reproducible if you select "next" as soon as a song starts playing.

Hrm.. Ill keep looking but I can't reproduce it. I just skipped about 8 in a row and didnt hear anything unnexpected.

I do thinks there's a problem with my next button if you skip before the song is buffered.. seems to disable itself until next song.

Are you Diablo or N900?

dsawhney 2010-08-25 05:52

Re: [application] pyRadio (Pandora)
 
N900, tried again 4 times, it skipped two songs and finally got stuck on the last song, none of the controls work

fatalsaint 2010-08-25 14:25

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by dsawhney (Post 797542)
N900, tried again 4 times, it skipped two songs and finally got stuck on the last song, none of the controls work

Ah, this morning I am able to produce the problem. Strange.. last night it was working fine.

I'm working on it.. thanks for the information.

parejkoj 2010-08-25 17:01

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 797212)
Not sure where to put it :(. I can make one.. just need to integrate it into the interface somewhere. UI ideas would be appreciated..

I'm no GUI designer, but I'll see if I can sketch something up. I'll look at increasing font sizes too.

Question for you: do you have a set number of fonts and font sizes available, or can I pick any font size? What are the current fonts?

Quote:

Originally Posted by fatalsaint (Post 797212)
As to the problem.. I will continue to look into it. I've had it get stuck on a song before (usually when I'm around spotty network).. but I can usually always skip to the next song. Never had it totally "stuck" before.. (You can't skip songs if it's in "Pause" status.. make sure the Play buttons triangle is lit when you try to skip).

I don't think it is network related: I'm on a large university wireless network and sitting in a chair when I get these problems.

Is there any way to get debugging output?

Quote:

Originally Posted by fatalsaint (Post 797212)
I plan to have another release here soon but.. haven't found much to fix. This and the timer problem after a pause are the only two I know about.

I've pulled down 2.7, and I'll see if this is any better.

I'll try and post a GUI mockup shortly. How hard is it for you to shuffle GUI elements around and add things?

fatalsaint 2010-08-25 18:30

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by parejkoj (Post 798080)
Question for you: do you have a set number of fonts and font sizes available, or can I pick any font size? What are the current fonts?

I have whatever fonts are available in the QT Designer... I'm pretty sure I can add any font you want. Sizes are the same Font drop down you see in any Word/whatever app to change sizes. I'm not sure what the maximum size is .. I'm sure we aren't going to be going that high anyway. The current sizes are 10-12 IIRC.

Quote:

Is there any way to get debugging output?
Only way right now is running the application from command line:
Code:

/opt/pyRadio/pyRadio.py
Quote:

I'll try and post a GUI mockup shortly. How hard is it for you to shuffle GUI elements around and add things?
Extremely easy. Changing the GUI around is silly easy with QT Designer and pyuic4.

fatalsaint 2010-08-25 19:16

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by qwerty12 (Post 720521)
You've come up with a hack to make it work outside of the US? ;)

It's a shame you're gone now... I think I may have figured out how to do this.

Not really sure how I should test it though.. if anyone outside the US has a US proxy (or can get one) and wants to help me troubleshoot implementing proxy support for pyRadio please let me know either here or via PM.

parejkoj 2010-08-25 20:03

Re: [application] pyRadio (Pandora)
 
1 Attachment(s)
More freezeup like behavior (this time running from the commandline): it wouldn't move past a song. When it got to the end of the song, it stopped playing. If I toggled between pause and play, it started playing again. The skip button would not respond at all. Unfortunately, nothing reported on the commandline.

I've attached a mockup of a new GUI. I based it off the image at the start of this thread.

The time elapsed/remaining font is Times 32pt (18 or higher would be fine with me). The title, author, album fonts are Times 18pt. I think the album name should be in italics, but not the "On:". I reduced the size of the image (width is now 320px, I think) to make room for the fonts and volume. The volume control could go in the lower-right corner, and be a popup control like in Media Player. It doesn't matter too much if it overlaps other controls, so you've got some space to play with there. If it can't overlap, then just move the controls over a bit more to make room on the far right.

What do you think? I'm not necessarily advocating for these specific fonts, sizes, nor for this particular layout, but this way you should have more room for larger text.


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

vBulletin® Version 3.8.8