Notices


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#221
Originally Posted by nilchak View Post
~ $ pyradio
-sh: pyradio: not found
~ $ /opt
-sh: /opt: Permission denied
~ $ sudo gainroot
Root shell enabled


BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user #
/home/user # cd /opt
/opt # ls
pyRadio
/opt # /opt/pyradio
/bin/sh: /opt/pyradio: not found
/opt # /opt/pyRadio/pyRadio.py
This last one was correct.. the rest weren't .. You don't need root shell to run pyRadio and that may have been the error relating to QGtk stuff.

Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.162.41|1284084818777|OUT_OF_SYNC|You have no chance to survive make your time.
Now that is rather interesting... try making sure your time on your N810 is correct.. including the proper timezone. Other than that.. I really haven't a clue. Does the website work for you? That error is coming from Pandora.. not from me.

Originally Posted by YoDude View Post
Dude, in the last version none of the remaining complaints were show stoppers on the N900. Nothing crashes the desktop, it is optified, runs below 55% load in the background, and allows the CPU's clock to scale down. Ii was ready for "testing" love then.
No the song skipping annoyed me. That's a bug that I wanted fixed before pushing forward. If I can get that straightened out then I'll push it forward. It was my fault but I don't know why.. following the logic in the code made no sense why it was doing what it was doing. But I've changed how it handles that part now and it seems to be working better. For me anyway.

In the future you could possibly provide an option that will tie stream quality to signal quality...

Code:
dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_signal_strength | awk 'NR==2 {print $2" %"}'
...and maybe if this is enabled by default you could reduce the initial connection related complaints, but that's about it.
That's an awesome bit of code.. I maybe will use that as a monitor and if signal drops below a certain point alert the user somehow.. I dunno if I'd want to auto-change the quality though. I am one of those that doesn't particularly like it when Applications try to think for me..

Besides, I imagine you will have your hands full keeping up with future changes in your sources delivery schemes. In fact, I'm not convinced that the reason for occasional song skips are on your end. It may very well be a server side issue.

...

BTW, should we uninstall first or just update the previous version?
No, I'm sure they were in the code. I just couldn't figure out how or why.

And no, no need to uninstall. Just update from normal HAM or FAP or whatever.. I always try to make sure my app is upgradeable in place.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!

Last edited by fatalsaint; 2010-09-10 at 03:29.
 

The Following User Says Thank You to fatalsaint For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#222
Originally Posted by fatalsaint View Post

...That's an awesome bit of code.. I maybe will use that as a monitor and if signal drops below a certain point alert the user somehow.. I dunno if I'd want to auto-change the quality though. I am one of those that doesn't particularly like it when Applications try to think for me...
Yup... That bit o' code I just crapped out spontaneous like...
...(In my dreams maybe, )

I actually had that bit in a cut and paste morgue I have of snippets that have been posted here in the past.

It's pro'ly from qwerty12 in response to one of the many questions I've asked or it may have been from GA himself from a WiKi he was working on. ICNRC

I agree that having the thing think for me is not a desirable thing. Perhaps a red, yellow, green indicator would be all that is needed so you can simply ask what color it was before pulling your hair out chasing a bug... but again, even that is no guarantee especially when your app hits the general population.
__________________

SLN member # 009
 

The Following User Says Thank You to YoDude For This Useful Post:
Posts: 1,097 | Thanked: 650 times | Joined on Nov 2007
#223
Originally Posted by fatalsaint View Post
This last one was correct.. the rest weren't .. You don't need root shell to run pyRadio and that may have been the error relating to QGtk stuff.
I will keep that in mind nexrt time I run it again from the terminal.

Now that is rather interesting... try making sure your time on your N810 is correct.. including the proper timezone. Other than that.. I really haven't a clue. Does the website work for you? That error is coming from Pandora.. not from me.
Yes on my N810 (which I took out after a long time just for pyRadio - as the speakers on N810 are far better) the timezone might be messed up. Will correct that and rerun again.

But from Pandora website itself with the same account I don't get any errors at all and it does play songs for me on my channels. It only from my N900 (which was actually working at first) and on my N810 right from the beginning its not working.
 

The Following User Says Thank You to nilchak For This Useful Post:
Posts: 111 | Thanked: 38 times | Joined on Apr 2010
#224
Originally Posted by fatalsaint View Post
Orientation preferences (yes, you can now set it to Landscape, Portrait, or Auto. Default is still Auto.).
Orientation preferences won't stick for me. I press Accept, and I go back to Settings, it is still on Auto.
 

The Following User Says Thank You to ceevee For This Useful Post:
Posts: 18 | Thanked: 15 times | Joined on Feb 2010
#225
It isn't playing particularly reliably for me. It doesn't play at startup, but I can, on occasion, get it to work by fiddling with the stations and with the quality. It also stops playing pretty quickly.


http://pastebin.com/1uR87Ctv

Here's some console output. It didd not play the Slayer song, so I switched quality to "low" and changed stations. The Spock's Beard song played. I hit next and (to test) switched quality to medium, and the Porcupine Tree song played, and then it stopped working.
 

The Following User Says Thank You to leviathan3k For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#226
Originally Posted by ceevee View Post
Orientation preferences won't stick for me. I press Accept, and I go back to Settings, it is still on Auto.
Yeah, This only happens with Landscape. However, it should still work.. it'll just default back to Auto when you go back. If you click Landscape and "accept" and rotate your phone, it shouldn't rotate. Also this settings is not persistent (saves over restarts).

Originally Posted by leviathan3k View Post
It isn't playing particularly reliably for me. It doesn't play at startup, but I can, on occasion, get it to work by fiddling with the stations and with the quality. It also stops playing pretty quickly.


http://pastebin.com/1uR87Ctv

Here's some console output. It didd not play the Slayer song, so I switched quality to "low" and changed stations. The Spock's Beard song played. I hit next and (to test) switched quality to medium, and the Porcupine Tree song played, and then it stopped working.
Hrm.. most of that looks normal.. what were you on at the time? 3G, Wifi, 2G? How was the signal strength? Did the album graphics load and it just sat there?

The area with a lot of "PLAY"'s, were you pushing the Play button over and over to try and pause/restart it?

The "MAFW STATE CHANGED 0" is a stopped state that it normally shouldn't go to.. except in transitions.. I'm not sure why that's triggering. I'll be looking.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 18 | Thanked: 15 times | Joined on Feb 2010
#227
Originally Posted by fatalsaint View Post
Hrm.. most of that looks normal.. what were you on at the time? 3G, Wifi, 2G? How was the signal strength? Did the album graphics load and it just sat there?
I was on 3G, and signal strength was full on the whole time. I was on IRC at the same time as well, and didn't have any trouble.

The area with a lot of "PLAY"'s, were you pushing the Play button over and over to try and pause/restart it?
yup.

The "MAFW STATE CHANGED 0" is a stopped state that it normally shouldn't go to.. except in transitions.. I'm not sure why that's triggering. I'll be looking.
Oh yeah, I also set the thing to be landscape only, but that doesn't seem to be sticking.
 

The Following User Says Thank You to leviathan3k For This Useful Post:
YoDude's Avatar
Posts: 2,869 | Thanked: 1,784 times | Joined on Feb 2007 @ Po' Bo'. PA
#228
Well out and about today I got to say:
Whatever you did.. go the other way.

If it wasn't for the snazzy new graphics I would be tempted to roll back to the previous version.

In that version I would experience maybe 1, maximum 2 false song starts in a 45 minute trip. Today with 3.1 although false start song snippets were noticeably shorter, they were much more frequent. I gave up and shut it down.

However, since getting home and connecting through WiFi I haven't experienced any false starts in the past hour.

I do see two new cases of beer in the garage that I didn't order so I suspect some of my caveman friends will be over later to stress test the thing.

BTW, I also realize that although the areas that I travel through day to day stay pretty much the same there is no guarantee that signal quality remains the same day to day... especially with the recent increase in solar activity.

I'm now looking for a way to log signal strength and perhaps sync it somehow to pyRadio events. However, if the cavemen (and the cave women) stop by, that task might be postponed for awhile.
__________________

SLN member # 009
 

The Following User Says Thank You to YoDude For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#229
Originally Posted by leviathan3k View Post
Oh yeah, I also set the thing to be landscape only, but that doesn't seem to be sticking.
Ok if you mean not sticking that it shows auto when you go back into settings thats actually in the code because I'm lazy. It should work though.. if you go to settings and select Landscape the app should no longer rotate to portrait. Can you test that for me? I honestly didn't think it would be noticed that quickly that I didn't save the Landscape

Originally Posted by YoDude View Post
Well out and about today I got to say:
Whatever you did.. go the other way.
Damnit. Ok, give me a day or two. I think I'm going to completely rewrite large pieces of it because I've learned some stuff in python since I've started and the code is really quite a mess right now.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 18 | Thanked: 15 times | Joined on Feb 2010
#230
I can actually confirm that the setting does work, and it's just the option in the menu.

Also, I get the exact same non-playing behavior when it's connected to wifi, and about 3 ft. from the router.

edit: Oh wow, I tried hitting "next", and I got a whole lot of stuttering audio. Unfortunately, I was running it from the application menu and didn't get any consore messages but.. there's anotherdata point for you.
 

The Following User Says Thank You to leviathan3k For This Useful Post:
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 08:41.