![]() |
Re: [application] pyPianobar (with pianobar)
what does the app do
|
Re: [application] pyPianobar (with pianobar)
|
Re: [application] pyPianobar (with pianobar)
|
Re: [application] pyPianobar (with pianobar)
I think its great that you put together a front end for pianobar - but I'm questioning if it makes sense for this to be a separate app than the media player. Does it make sense to integrate this into the default media player?
|
Re: [application] pyPianobar (with pianobar)
Quote:
He wanted a universal interface to last.fm, pandora, etc.. but I believe the closedness of the app was a problem. ETA: Here it is.. |
Re: [application] pyPianobar (with pianobar)
Quote:
So after your earlier tutorial in this thread on trying to install/update in xterm, I tried installing in xterm (sudo gainroot, then apt-get install python2.5-qt4-core) and receive this: is already the newest version and installed. Any ideas? |
Re: [application] pyPianobar (with pianobar)
I'm thinking you have some older versions of python mixed with some newer ones maybe?
If you have both Testing and Devel installed there is a discrepancy in PyQt4 versions.. in Testing is maemo2, is devel is maemo5. I would disable one.. do an update to refresh the repository list, upgrade packages if needed and try again. |
Re: [application] pyPianobar (with pianobar)
That took care of it, dropped testing, picked up devel and we were set. Thanks!
|
Re: [application] pyPianobar (with pianobar)
Fatal latest pianobar version doubles up the app and has a bunch of stuff in /usr/local. Any chance we can get the old one back?
|
Re: [application] pyPianobar (with pianobar)
This latest version is DOA for me anyways... It loads but i get no stations listed in the pull down menu.... So, nothing plays, bc it shows that i have no stations...
|
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
I had thought that when upgrading it would have removed the other one since it was tied to the old package.. I'll have to check it out. For the old one just use the one that is in testing instead of devel. |
Re: [application] pyPianobar (with pianobar)
Quote:
Now I'm confused. |
Re: [application] pyPianobar (with pianobar)
Ok I just updated my scratchbox from the old version to the new and it *did* remove the link in /usr/bin/pianobar like it was supposed to and it's now in /usr/local/bin/pianobar which is where it normally *should* be.
It didn't clean up /etc/pianobar though which is a little annoying.. since the config location moved to /usr/local/etc/pianobar.. So if you've upgraded you can remove /etc/pianobar directory completely. It still runs for me though.. after the upgrade: Code:
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > which pianobar ETA: Oh, because /etc/pianobar is a "config" file it won't remove it unless you "purge" pianobar first.. I see. I might have to put that into a postrm or something. |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
The only thing I don't like about the new one is the config location.. I would prefer it to stay in /etc/pianobar... I don't know of any app that uses /usr/local/etc for anything.. but pianobar doesn't come with an example config so I had to add it to the CMakeList files myself and evidently I am not fulling understanding the proper way to do it. I'm not sure what to do at this point.. having auto-builder do it is the "proper" way to build the app.. do I leave it as is and you fix qtPianobar.. or do I find some way to pass an environment variable or something to auto-builder so that it builds in /usr/ instead of /usr/local ?? |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
Pianobar is optified by maemo-optify. /opt is not a normal area and thus not usually added to $PATH because /opt can contain several different ideas: /opt/package /opt/maemo/package /opt/maemo/bin /opt/(insert random character that the developer decided he wanted here) etc.. It's not consistent. So what you do is you create the directory tree.. just the directories (we're talking taking up a single inode here on the rootfs).. in the rootfs for like /usr/local/bin. Then you link the application from the optified location, to the rootfs location.. so you get: Code:
[sbox-FREMANTLE_ARMEL: ~/pyPandora] > which pianobar No real, noticeable, space is being taken on rootfs at all. |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
So what I meant earlier was: I'm not sure if we want to leave this as is, because this is way pianobar will be built from desktops down to little tablets... or if I should find a way to instead pass the make to /usr. What this will do effectively, is put the app in /opt/maemo/usr/bin and link it to /usr/bin/ which is where the old version of pianobar I think was. It'll also move the config file to /usr/etc/pianobar/.. at least unless I statically code the config to go somewhere.. Any suggestions welcome on where this package should reside. |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
I think the only logical fix for the binary is to leave it where the autobuilder put it and link it in /usr/bin (this is what I have done on my N900) As for the config, the logical place to me would be "~/.pianobar/config". This is where it seems like 90% of apps keep their configs anyhow, and putting a config for a per-user app in non-user space is so 1990's :) |
Re: [application] pyPianobar (with pianobar)
Quote:
And "~" doesn't work when you are installing a package as *root*.. you have to statically say /home/user. So are you saying that the new build of pianobar in /usr/local/bin is *not* in the N900's local path? Because it's in my SDK so I was unaware of this. |
Re: [application] pyPianobar (with pianobar)
Quote:
http://img519.imageshack.us/img519/2...0020909244.png I'll see what I can do about an icon. Obviously can't use the Pandora icon.... :( |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
Quote:
I guess that decides what direction to take pianobar for me then... I have to find a way to make it build in /usr instead of /usr/local. Bratag.. I'll get pianobar updated as soon as possible.. don't worry about fixing qtPianobar to the new path. |
Re: [application] pyPianobar (with pianobar)
New version going to extras-devel.
1.2-6 is latest. If you manage to get 1.2-5 in the middle there somewhere it's no big deal.. only change was it was still copying the config from /usr/local/etc/ instead of /usr/etc/ in the postinst. It should now install to /opt/maemo/usr/bin and link to /usr/bin.... Hopefully :D. |
Re: [application] pyPianobar (with pianobar)
1 Attachment(s)
Here is a rather inept icon concept, but it is prob better than the blue-square.
|
Re: [application] pyPianobar (with pianobar)
I skimmed through the thread and couldn't really find a definitive answer (and bear with me as I'm not very proficient with the phone), but I get an error when trying to install "pypianobar 1.0-3".
Unable to install 'pypianobar'. Conflict with application packages: python2.5-qt4-svg (4.6.2-maemo20091218.0) Does anyone know what this means? |
Re: [application] pyPianobar (with pianobar)
Quote:
in xterm: sudo gainroot then apt-get update then apt-get install python2.5-qt4-gui then try downloading from extras-testing if that doesn't work, disable e-t and enable extra-devel and try downloading from there. That did the trick for me. |
Re: [application] pyPianobar (with pianobar)
This worked like a charm--thank you!
|
Re: [application] pyPianobar (with pianobar)
Latest version worked like a charm for me as well. Can someone remind how to vote? I think I only voted for one of pypianobar or pianobar and I want to make sure I am counted.
Thanks for doing this, it is great. Fred |
Re: [application] pyPianobar (with pianobar)
Quote:
|
Re: [application] pyPianobar (with pianobar)
|
Re: [application] pyPianobar (with pianobar)
Quote:
I'd just start using the main pianobar window here and going to the testing ones. I'm hoping with the new testing group it'll get votes faster. The other pianobar was sort of stuck at 7 for some time. Thanks though! If you could re-vote.. it'd be appreciated - but no big deal.. I don't expect everyone to constantly re-vote for apps. I'm not liking the current promotion system too much :(. |
Re: [application] pyPianobar (with pianobar)
awesome can wait to DOWNLOAD THIS APP!!!!!
|
Re: [application] pyPianobar (with pianobar)
Each program got new versions promoted to testing. Only changes are (mostly in preparation for the testing squad should they ever find little old me):
pianobar: 1 - Uses the CLI Icon like it's supposed to. At least, I hope/think it does. I added it to the control file but I can't use the App Manager in the SDK.. it keeps erroring on me. Maybe someone can tell me if you see a $_ icon in App Manager now. 2 - Pointed the "Bugtracker" back to here instead of the dead link that it used to be. I don't know if this will pass their qualifications for a "working" bug tracker.. but I didn't really want to go through whole bugs.maemo.org stuff unless I have to.. I monitor this thread actively and get emails - and would prefer that bugs be reported here.. so hopefully this is OK with the Testing Teams that use the QA checklist. pyPianobar: 1 - Added an Icon. This one may not work in the App Manager, but after it's installed (may require reboot) you should get an icon for the app in your app lists now. 2 - Same bugtracker as above 3 - Fixed Last_FM username to show the current one (if exists) when changing it. Please don't vote "down" my app if you get an error about python2.5-qt4 stuff. Come here and we'll work it out.. currently the PyQt4 bindings are in a really screwy state and the maintainer for those is working on it.. but it's kind of depressing to get a down vote on something I can't fix or do anything about :(. Feedback welcome! |
Re: [application] pyPianobar (with pianobar)
Quote:
Fred |
Re: [application] pyPianobar (with pianobar)
Quote:
I would use this for pianobar and this for pyPianobar. Click on the link by the version in "Fremantle Extras-testing free armel". I'll go back through the thread and update my posts that I see. |
Re: [application] pyPianobar (with pianobar)
Quote:
Fred |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8