maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   YouAmp - yet another Music player for Maemo (https://talk.maemo.org/showthread.php?t=13792)

ascherjim 2008-02-05 23:59

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 138681)
you have to uninstall the old version first. (mutagen aswell)

Madman: I uninstalled both YouAmp and mutagen, then reinstalled YouAmp from your web site. (Mutagen is no longer there as an option also to install -- so I was unable to reinstall it. Couldn't find it anywhere else either, not even in Red Pill.) Anyway, YouAmp seemed to have a successful install, but when I tried to bring it up in the Extras menu, again nothing happened. Entering youamp-player in xterm again gives the message that there's no module named genome.gconf. Back to square one?

ascherjim 2008-02-06 06:36

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by ascherjim (Post 138812)
Madman: I uninstalled both YouAmp and mutagen, then reinstalled YouAmp from your web site. (Mutagen is no longer there as an option also to install -- so I was unable to reinstall it. Couldn't find it anywhere else either, not even in Red Pill.) Anyway, YouAmp seemed to have a successful install, but when I tried to bring it up in the Extras menu, again nothing happened. Entering youamp-player in xterm again gives the message that there's no module named genome.gconf. Back to square one?

madman: now I'm getting different message:

home/user # youamp-player
Traceback (most recent call last):
File "/usr/bin/youamp-player", line 22, in <module>
main()
File "/usr/bin/youamp-player", line 18, in main
player = youamp.ui.main.Window()
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/main.py", line 25, in __init__
AttributeError: 'module' object has no attribute 'set_application_name'
/home/user #

MadMan2k 2008-02-06 08:00

Re: YouAmp - yet another Music player for Maemo
 
that is really weird. one last test: could you go into the console, type "python" and after the interpreter starts type "import gnome.gconf" that should at least give the same error message.
And while you are there also try just "import gconf".

If both fail, go back to console and try:
dpkg-query -S gconf.so

gowen 2008-02-06 09:01

Re: YouAmp - yet another Music player for Maemo
 
I've had the same experience. I install version 0.3 and get the gnome.gconf error. Then after uninstalling/reinstalling I get the 'set_application_name' error. I did try installing python2.5-gnome-dev (in red pill mode) but it mode no difference so I un-installed it.

importing gnome.gconf or gconf in the python interpreter both report 'ImportError: No module named gconf (or gnome.gconf). This is with python2.5.1 running on OS2008 on an N800. Application manager reports the python runtime as version c1.0-2

dpkg-query -S gconf.so produced
python2.5-gnome: /usr/lib/python2.5/site-packages/gnome/gconf.so

MadMan2k 2008-02-06 10:38

Re: YouAmp - yet another Music player for Maemo
 
I really dont get it - it seems like you have a different python than me.

I have no *-dev packages installed and also use python2.5.1.
As a last hope you might remove python2.4 and install python2.5-runtime.

dubwise 2008-02-06 13:12

Re: YouAmp - yet another Music player for Maemo
 
I uninstalled and upgraded and everything went fine.
Lost my track repeat, of course, but I wanted you to know it was working for someone.

ascherjim 2008-02-06 15:17

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 138907)
that is really weird. one last test: could you go into the console, type "python" and after the interpreter starts type "import gnome.gconf" that should at least give the same error message.
And while you are there also try just "import gconf".

If both fail, go back to console and try:
dpkg-query -S gconf.so

Is the following of any use to you?

Nokia-N800-50-2:~# python
Python 2.5.1 (r251:54863, Oct 25 2007, 15:53:25)
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gnome.gconf
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>>
Nokia-N800-50-2:~# python
Python 2.5.1 (r251:54863, Oct 25 2007, 15:53:25)
[GCC 3.4.4 (release) (CodeSourcery ARM 2005q3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gconf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named gconf
>>> import gnome.gconf
>>>
Nokia-N800-50-2:~# dpkg-query -S gconf.so
python2.5-gnome: /usr/lib/python2.5/site-packages/gnome/gconf.so
Nokia-N800-50-2:~#

frasej 2008-02-06 15:19

Re: YouAmp - yet another Music player for Maemo
 
Same here. The dpkg-query produced
python2.5-gnome: /usr/lib/python2.5/site-packages/gnome/gconf.so

And Python gave the same error messages.

MadMan2k 2008-02-06 18:21

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by ascherjim (Post 138975)
Is the following of any use to you?

yeah, you have a different kind of error. On your system it finds gconf, but your gtk has no set_application_name method.

So currently there are two kinds of errors:
* python-gconf is not found
* gtk.set_application_name is not found

and of course there are people where it just works :confused:

ascherjim 2008-02-06 18:37

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 139059)
yeah, you have a different kind of error. On your system it finds gconf, but your gtk has no set_application_name method.

So currently there are two kinds of errors:
* python-gconf is not found
* gtk.set_application_name is not found

and of course there are people where it just works :confused:

Madman: The missing "python-gconf" error arose what I loaded YouAmp from your web site.

The "gtk.set_application_name is not found" error arose when I loaded YouAmp from your alternate posted site of yesterday.

I suppose you've already considered querying those who have RECENTLY successfully installed and used YouAmp to see what is possibly different in their N800 systems. Good luck and regards, Jim

MadMan2k 2008-02-06 19:52

Re: YouAmp - yet another Music player for Maemo
 
ok, you guys most likely have outdated libs, which cause the trouble. I just uploaded a new youamp package, which depends on the latest available libs. Try again after updating with the package manager.

frasej 2008-02-06 20:25

Re: YouAmp - yet another Music player for Maemo
 
After using apt-get to update & upgrade all my libs, this is what I get:

Code:

Nokia-N800-50-2:/# youamp-player
Traceback (most recent call last):
  File "/usr/bin/youamp-player", line 22, in <module>
    main()
  File "/usr/bin/youamp-player", line 18, in main
    player = youamp.ui.main.Window()
  File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/main.py", line 25, in __init__
AttributeError: 'module' object has no attribute 'set_application_name'


MadMan2k 2008-02-06 20:41

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by frasej (Post 139114)
After using apt-get to update & upgrade all my libs, this is what I get:

you seem to somehow still have the old python version, since the set_application_name bug was fixed in the latest release:
http://lists.maemo.org/pipermail//ma...ry/013991.html

ascherjim 2008-02-06 20:53

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 139099)
ok, you guys most likely have outdated libs, which cause the trouble. I just uploaded a new youamp package, which depends on the latest available libs. Try again after updating with the package manager.

Madman: OK. Very interesting development! I uninstalled YouAmp from my N800 then downloaded it again from your web site (not easy as your URL was temporarily unavailable) and reinstalled it. It still wouldn't come up when I clicked on it in the Extras menu. I then went into xterm and typed the usual "youamp-player" and the screen then appeared to scan, scroll through and extract all my music from my two mmc's. I closed out of xterm and YouAmp appeared on my screen, and I was able to locate all my music. But now that I seemingly have the ability to bring up and click on music titles within YouAmp itself, how can I then play them? The title in red at the top is the title of music currently playing -- but not a title I have chosen (clicked on). And I can't seem to change to a title of my choosing. The title in red stays there. I think I'm making progress -- but of what kind?

EDIT: When I close out of YouAmp and attempt to bring it up again from the Extras menu, it won't come up -- the same thing as I've previously been experiencing. Do I have to go to xterm each time to access and use it?

SECOND EDIT: I rebooted and it now comes up -- albeit slowly (scanning time?).

MadMan2k 2008-02-06 21:10

Re: YouAmp - yet another Music player for Maemo
 
well... finally it starts for someone! The red colour of the title means that it found no replaygain information.
It is normal that it takes a bit to startup - I hope I can improve it with the next python release, but for now I cant do much except for displaying a startup bubble, which would be only cosmetic.

Are you able to play your songs now?

ascherjim 2008-02-06 21:26

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 139134)
well... finally it starts for someone! The red colour of the title means that it found no replaygain information.
It is normal that it takes a bit to startup - I hope I can improve it with the next python release, but for now I cant do much except for displaying a startup bubble, which would be only cosmetic.

Are you able to play your songs now?

Madman: I'm getting the hang of it. (Basic instructions would be useful.) Anyway, I find that by holding my stylus on a title for a bit of time (it's not instant) the song does appear in red and plays when I hit the play button with the stylus. Great! Many thanks. Jim

EDIT: A startup bubble would be most reassuring!

MadMan2k 2008-02-07 00:48

Re: YouAmp - yet another Music player for Maemo
 
hm.. basically you just have to double tap a song in the playlist to make it start. OGG file neet a bit longer to load since playing them back is still hacky on Maemo.

ascherjim 2008-02-07 01:04

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 139218)
hm.. basically you just have to double tap a song in the playlist to make it start. OGG file neet a bit longer to load since playing them back is still hacky on Maemo.

Madman: Now that I've got it working, time for an ungrateful quibble...why is the maximum volume level so much lower with YouAmp than with the inbuilt N800 media player? In fact, it's so much lower as to be just barely detectable by my headphones -- which hear loud and clear with the N800 media player. And I've got both volume levels tabs -- that of N800 and YouAmp -- turned up to the maximum. Am I the only one who has detected this disparity? Rather disappointing.

gowen 2008-02-07 08:49

Re: YouAmp - yet another Music player for Maemo
 
I installed the update and it is now running for me. The first track is playing as I type. The volume is fine for me. The same as for the built in media player.

MadMan2k 2008-02-07 15:14

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by ascherjim (Post 139226)
Madman: Now that I've got it working, time for an ungrateful quibble...why is the maximum volume level so much lower with YouAmp than with the inbuilt N800 media player? In fact, it's so much lower as to be just barely detectable by my headphones -- which hear loud and clear with the N800 media player. And I've got both volume levels tabs -- that of N800 and YouAmp -- turned up to the maximum. Am I the only one who has detected this disparity? Rather disappointing.

has your music replaygain information? YouAmp is designed to automatically adjust the volume using those. If there is no rg-info available(title is red) YouAmp has to guess the right volume. But you can adjust this in the preferences menu...

ascherjim 2008-02-07 15:28

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 139413)
has your music replaygain information? YouAmp is designed to automatically adjust the volume using those. If there is no rg-info available(title is red) YouAmp has to guess the right volume. But you can adjust this in the preferences menu...

Madman: Great. That did it! I hadn't noticed before that there was such a preferences menu, and then what it meant. (Again, a need for some basic instructions for dummies?) There appear to be so many different ways to adjust volume on the N800. Thanks for your quick clarification on this. By the way, you seem to be missing the opening line or two in this last posted message of yours (see above). Regards, Jim

ascherjim 2008-02-08 16:01

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by ascherjim (Post 139416)
Madman: Great. That did it! I hadn't noticed before that there was such a preferences menu, and then what it meant. (Again, a need for some basic instructions for dummies?) There appear to be so many different ways to adjust volume on the N800. Thanks for your quick clarification on this. By the way, you seem to be missing the opening line or two in this last posted message of yours (see above). Regards, Jim

Madman: Further to the above. Everything is working fine with my mp3 selections. As an experiment, I have ripped a selection from a CD in ogg format. It comes up fine on YouAmp, looking exactly the same as my mp3 selections. However, it doesn't play. Any thoughts? Thanks and regards, Jim

MadMan2k 2008-02-09 09:45

Re: YouAmp - yet another Music player for Maemo
 
it should play fine; it takes just a bit longer to start the track.

ascherjim 2008-02-09 14:10

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 140164)
it should play fine; it takes just a bit longer to start the track.

Madman: I solved the problem -- by installing Ogg Support from the Application Manager!

frasej 2008-02-10 02:51

Re: YouAmp - yet another Music player for Maemo
 
As of an update yesterday, Youamp is working fine.

ascherjim 2008-02-11 05:45

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by ascherjim (Post 140227)
Madman: I solved the problem -- by installing Ogg Support from the Application Manager!

Madman: I need further advice, in that I believe I have bricked MyAmp! In testing whether an ogg file would play (which it eventually did) I copied an ogg music file to a separate mmc, inserted it in my external slot and MyAmp, as I said, eventually played it fine. However, after I removed that trial mmc (with its trial ogg file) and reinserted my regular 4GB mmc, which contains most of my music, MyAmp wouldn't work. I went into xterm, entered myamp-player, and it came up with an error message that it couldn't find the particular ogg file, which I had experimented with. I'd subsequently deleted that file from the extra mmc, so it's not a matter or merely reinserting it into the external slot and letting MyAmp find it again in its scanning process. As a trial solution, I uninstalled MyAmp and reinstalled it, thinking that it wouldn't "remember" the missing ogg file -- but no such luck. Even though My Amp is now a reinstalled version on my N800, it still apparently "remembers" its (beloved?) missing ogg file. It's almost human! Any thoughts?

MadMan2k 2008-02-11 15:52

Re: YouAmp - yet another Music player for Maemo
 
could you paste the exact message you get on the console? That would help me debugging.

If you want to make YouAmp forget about the song, you have to delete its music library. That is "rm /home/user/.musicdb".

ascherjim 2008-02-11 16:49

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 141002)
could you paste the exact message you get on the console? That would help me debugging.

If you want to make YouAmp forget about the song, you have to delete its music library. That is "rm /home/user/.musicdb".

Madman: Thanks. Removing .musicdb solved the problem.

greviant 2008-02-25 16:43

Re: YouAmp - yet another Music player for Maemo
 
So far this program is great! I checked out the source from svn and have started to poke around a little, is there any chance that we could get some developers documentation (comments in the code itself, or something similar to a uml diagram) so that we can start helping you hack away?

MadMan2k 2008-02-27 13:07

Re: YouAmp - yet another Music player for Maemo
 
I surley will document the code when something gets stable, but currently everything is a bit messy and especially the ui code needs a cleanup, so I dont want waste time on documenting it.

But basically everything is where you would expect it. (ie. look at the file names)

iliaden 2008-05-10 03:32

Re: YouAmp - yet another Music player for Maemo
 
hi,

never had the chance to thank the creator of youamp - a great program!

I've used for about a month. then I encountered a problem: youamp stopped opening!

File "debian/youam/usr/lib/python2.5/site-packages/youamp/__init__.py", line 54, in __getitem__
IndexError: could not find tree path

You have any clue how to solve this?

And also, did you give up on the player, or is there still some work going on?

thank you

Ilia

MadMan2k 2008-07-02 17:12

Re: YouAmp - yet another Music player for Maemo
 
I think I fixed that one in the new release. You should get that automatically by updating to diablo.

you can find the release announcement here:
http://www.madman2k.net/33/youamp-035/

changelog:
* changed the way to switch the views
* improved browser behaviour
* preference for ordering the playlist added
* now being launched over d-bus
* bugfixes & code cleanup

MadMan2k 2008-07-07 10:11

Re: YouAmp - yet another Music player for Maemo
 
can someone confirm that it is available through diablo-extras? I have had some trouble promoting it...

Laughing Man 2008-07-08 01:02

Re: YouAmp - yet another Music player for Maemo
 
I don't see it either

Stephe 2008-07-08 04:22

Re: YouAmp - yet another Music player for Maemo
 
Quote:

Originally Posted by MadMan2k (Post 200145)
can someone confirm that it is available through diablo-extras? I have had some trouble promoting it...

I see it in diablo-extras OK. It even installs. I am having trouble running it, however.

I keep getting the following traceback. I tried removing .musicdb, but it made no difference.

Traceback (most recent call last):
File "/usr/bin/youamp-player", line 22, in <module>
main()
File "/usr/bin/youamp-player", line 18, in main
player = youamp.controller.Controller()
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 27, in __init__
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/window.py", line 40, in __init__
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/searchview.py", line 98, in __init__
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/searchview.py", line 112, in _restore_playlist
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 75, in get_tracks
KeyError: None

silvermain 2008-07-08 11:29

Re: YouAmp - yet another Music player for Maemo
 
same here. the release before it was working until i updated today. :(

MadMan2k 2008-07-08 14:12

Re: YouAmp - yet another Music player for Maemo
 
woops - should have done some upgrade path testing. I just uploaded the new version to extras-devel. Since it will take some time until its promoted, here is a direct link to the deb:
http://www.madman2k.net/youamp_0.3.5.1-1_all.deb

tell me if it helps.

D'ohboy 2008-07-08 18:38

Re: YouAmp - yet another Music player for Maemo
 
Seems to work youamp now launches.

Laughing Man 2008-07-09 03:30

Re: YouAmp - yet another Music player for Maemo
 
Hmm anyone else (after updating to the linked version) getting an endless updating database? (the database is updated..tested it myself by adding some new music files). It just seems to keep "updating database" though. Though it doesn't seem to be using cpu usage..

MadMan2k 2008-07-09 12:38

Re: YouAmp - yet another Music player for Maemo
 
try to run youamp from the terminal with the "youamp-player" command. Its likely that it choked up on one of your files and stopped indexing.


All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8