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)

chrisak 2008-09-10 05:30

Re: YouAmp - yet another Music player for Maemo
 
I just noticed that youamp will no longer open its preferences window, and sometimes the program itself won't open. Seems like I've been updating this program quite frequently, today's update broke it I guess.

pycage 2008-09-10 06:17

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

Originally Posted by rone (Post 221761)
~ $ youamp-player
Traceback (most recent call last):
File "/usr/bin/youamp-player", line 4, in <module>
import youamp.controller
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 16, in <module>
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/config.py", line 4, in <module>
ImportError: No module named gconf
~ $

python-gconf is broken in several versions of pymaemo. MediaBox works around this by shipping a fallback gconf module which uses gconftool-2 for accessing gconf.

For YouAmp, it could help to upgrade pymaemo. However, I don't know which version finally fixed it or whether it's still broken.

MadMan2k 2008-09-10 10:05

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

Originally Posted by chrisak (Post 222576)
I just noticed that youamp will no longer open its preferences window, and sometimes the program itself won't open. Seems like I've been updating this program quite frequently, today's update broke it I guess.

try to start it from the terminal as "youamp-player" to get a proper error message.

MadMan2k 2008-09-10 10:07

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

Originally Posted by pycage (Post 222584)
python-gconf is broken in several versions of pymaemo. MediaBox works around this by shipping a fallback gconf module which uses gconftool-2 for accessing gconf.

For YouAmp, it could help to upgrade pymaemo. However, I don't know which version finally fixed it or whether it's still broken.

I have only encountered that once with the first release of YouAmp on Chinook, but when I bumped the dependancies it went away. I think diablo should have the fixed versions only.

rone 2008-09-10 13:34

Re: YouAmp - yet another Music player for Maemo
 
Thanks for the suggestions.

I do have the latest pymaemo installed.

Mediabox runs fine on my n810.

I just tried mClock, which is also a python app and it gives the same gconf error.

Stephe 2008-09-11 01:18

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

Originally Posted by MadMan2k (Post 222616)
try to start it from the terminal as "youamp-player" to get a proper error message.

Here are the errors I am getting:

On startup:
Traceback (most recent call last):
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 164, in _now_playing
AttributeError: 'NoneType' object has no attribute 'is_connected'

Trying to open Preferences:
Traceback (most recent call last):
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 178, in _show_preferences
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/preferences.py", line 94, in __init__
AttributeError: 'NoneType' object has no attribute 'is_connected'

After trying to open Preferences, Youamp will not exit cleanly. Python remains running.

MadMan2k 2008-09-11 09:49

Re: YouAmp - yet another Music player for Maemo
 
thanks, that seems like a real bug. An updated version is under way.

tso 2008-09-11 21:39

Re: YouAmp - yet another Music player for Maemo
 
any chance of seeing youamp remembering where in the individual file one was the last time the program was in use?

MadMan2k 2008-09-12 16:52

Re: YouAmp - yet another Music player for Maemo
 
I tried to implement that some time ago, and got it working on the desktop system. But on the N8x0, it worked only for ogg files, since the DSP messed up the timings.

rone 2008-09-12 19:34

Re: YouAmp - yet another Music player for Maemo
 
I reflashed and restored my backup. Youam now runs but does not find any of my mp3 files. Preferences are also not working for me. I did try deleting .musicdb but it did not help.

--startup error
load_track: could not find tree path

--preferences error
Traceback (most recent call last):
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 178, in _show_preferences
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/preferences.py", line 94, in __init__
AttributeError: 'NoneType' object has no attribute 'is_connected'

MadMan2k 2008-09-12 23:25

Re: YouAmp - yet another Music player for Maemo
 
the preferences bug is fixed in the 0.4.1-3 version. You can set the music folder there.

gregorovius 2008-09-13 01:51

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

Originally Posted by MadMan2k (Post 223464)
the preferences bug is fixed in the 0.4.1-3 version. You can set the music folder there.

I'm using 0.4.1-3 and I can't open the preferences window.

Code:

$ youamp-player

Traceback (most recent call last):

File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 164, in _now_playingAttributeError: 'NoneType' object has no attribute 'is_connected'

Traceback (most recent call last):

File "debian/youamp/usr/lib/python2.5/site-packages/youamp/player.py", line 132, in _set_duration

gst.QueryError: query failed

Traceback (most recent call last):

File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 178, in _show_preferences

File "debian/youamp/usr/lib/python2.5/site-packages/youamp/ui/preferences.py", line 94, in __init__

AttributeError: 'NoneType' object has no attribute 'is_connected'

Traceback (most recent call last):

File "debian/youamp/usr/lib/python2.5/site-packages/youamp/controller.py", line 217, in quit

AttributeError: 'NoneType' object has no attribute 'is_connected'

Cheers!

MadMan2k 2008-09-13 15:51

Re: YouAmp - yet another Music player for Maemo
 
I indeed did not fix that issue properly. -4 is on the way. report back if does not fix the issue.

lntalm 2008-09-13 19:13

Re: YouAmp - yet another Music player for Maemo
 
-3 release didn't work for me (no preferences, youamp exit problem). -4 works fine.

Stephe 2008-09-14 05:41

Re: YouAmp - yet another Music player for Maemo
 
An old problem has resurfaced with -4. The highlighted song in the playlist is not advancing as the next song is played. I see the following when the next song is played:

get_seek: query failed

Also, on startup, I see:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "/usr/lib/python2.5/threading.py", line 446, in run
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/scrobbler.py", line 98, in _login
NameError: global name 'handle_hard_error' is not define

rone 2008-09-14 16:09

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

Originally Posted by MadMan2k (Post 223629)
I indeed did not fix that issue properly. -4 is on the way. report back if does not fix the issue.

preferences now work for me.

problem now is in updating the database. It never updates because of the following error. The mp3 plays fine with the built in player.

Added: file:///media/mmc1/mp3.pda/country/alabama/07 - When We Make Love(1).mp3
Bad ID3 Header, skipping: /media/mmc1/sykes/090808_Sykesshow_part3.mp3
Unhandled exception in thread started by <bound method Library._update of <Library object at 0x418ce080 (youamp+library+Library at 0x260460)>>
Traceback (most recent call last):
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 174, in _update
AttributeError: 'Library' object has no attribute 'uri'

MadMan2k 2008-09-14 16:44

Re: YouAmp - yet another Music player for Maemo
 
hmpf, i did some code refactoring for 0.4.1 and now there a some rarely triggered errors out there. I fixed the last bunch of them.

The "query failed" thing is rather a warning, when gstreamer does not respond in time.

0.4.2 is coming...

rone 2008-09-14 23:45

Re: YouAmp - yet another Music player for Maemo
 
Great! Thanks!

nikolajhendel 2008-09-16 10:53

Re: YouAmp - yet another Music player for Maemo
 
just a small request/suggestion.

When selecting an artist from the list, the list shows music for the selected artist. When going back to "browse" - the list resets to the top.

So - fx. when hitting a wrong artist (one above or below the one I actually wanted), I have to hit browse, and then scroll down to the artist I want.
It would be nice if browse remembered where it was in the list when going to artist and back again (does that make sense)?

MadMan2k 2008-09-16 16:46

Re: YouAmp - yet another Music player for Maemo
 
I already thought of that too, its definitely on the todo list now.

edit: done in svn

nikolajhendel 2008-09-16 19:15

Re: YouAmp - yet another Music player for Maemo
 
sweet - thanks

MadMan2k 2008-09-28 14:15

Re: YouAmp - yet another Music player for Maemo
 
here is a small preview of the coming 0.5.0 release:
http://www.rojtberg.net/wp-content/u...player-050.png

nikolajhendel 2008-09-29 12:29

Re: YouAmp - yet another Music player for Maemo
 
and it seems to be out....

MadMan2k 2008-09-29 13:17

Re: YouAmp - yet another Music player for Maemo
 
yeah, and the changelog is:

* restore scroll position in browser
* more verbose last.fm connection status
* display cover
* right click menu (tap and hold)

Oberon85 2008-10-06 01:41

Re: YouAmp - yet another Music player for Maemo
 
a quick solution that worked for me with the gconf issues:

cp /usr/lib/python2.5/site-packages/gtk-2.0/gnome/gconf.so /usr/lib/python2.5/site-packages/gnome/.

MadMan2k 2008-10-12 11:10

Re: YouAmp - yet another Music player for Maemo
 
thanks for that fix oberon.

anyone interested in this?
http://www.rojtberg.net/129/yet-another-music-player/

nikolajhendel 2008-10-15 09:58

Re: YouAmp - yet another Music player for Maemo
 
looks good madman - must say that youamp is my only music player on my N800.
Regarding the gui - a nice thing would be user defined width in columns (fx artist column could be dragged wider).

- another nice thing, would be a modular view. When I'm standing on a specific artist + album, the list info (to me) seems redundant, as it also contains artist and album. Would be nice if the user could specify what is shown, fx "track number" "title" "length" (my wish list ;) )

I just found two minor things in the latest version.

1: missing album art.
Album art doesn't show up if the folder containing the song has [] in the folder name - fx. "coldplay - viva la vida [2008]". As soon as I remove the [], or change it to () - album art shows up without a problem.

2: next song
When playing a song (fx. song 3 on an album) and browsing for the next song - youamp automatically skips the first song in list I'm stainding in (fx. a new album) - can be because youamp automatically highlights the first song?

MadMan2k 2008-10-17 17:18

Re: YouAmp - yet another Music player for Maemo
 
the two bugs you've found are now fixed in SVN. I am going to think about how to solve the redundancy problem...

Den in USA 2008-10-24 13:19

Re: YouAmp - yet another Music player for Maemo
 
What is the purpose of the last.fm login? Does it just send your listening history to your account?

MadMan2k 2008-10-25 08:36

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

Originally Posted by Den in USA (Post 236313)
What is the purpose of the last.fm login? Does it just send your listening history to your account?

yeah, exactly.

here are the changes for 0.5.2:
* allowselecting the next song to be played
* auto untoggle the shuffle button if selecting an order
* load images from directories containing []
* fix bug with skipping first song
* display playcount in Details

tso 2008-12-30 08:16

Re: YouAmp - yet another Music player for Maemo
 
hmm, it seems that youamp cant find the mp3 files i have sitting at the root of my sd card...

Stephe 2009-02-02 05:27

Re: YouAmp - yet another Music player for Maemo
 
Please add support for the "oga" extension. It seems that the official extension for Ogg Vorbis audio is now oga (as opposed to ogv for video). SoundJuicer from Gnome, for one, keeps creating .oga files.

shootermcgaven2 2009-02-09 20:00

Re: YouAmp - yet another Music player for Maemo
 
i downloaded youamp but it wont launch. is there another program i should install first?

tso 2009-02-09 20:22

Re: YouAmp - yet another Music player for Maemo
 
try running youamp-player in terminal and look for errors.

heh, doing that just to test, i noticed a message saying that one my files had a bad id3 header, making youamp ignore it.

a_sharpe 2009-02-09 23:39

Re: YouAmp - yet another Music player for Maemo
 
Hello Pavel:

This is the errors I receive in version .5.4-6 on a N800 with 5.2008.43-7 firmware.

~ $ youamp-player
Traceback (most recent call last):
File "/usr/bin/youamp-player", line 22, in <module>
main()
File "/usr/bin/youamp-player", line 16, in main
setup_db()
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 207, in setup_db
File "/usr/lib/python2.5/os.py", line 171, in makedirs
OSError: [Errno 17] File exists: '/home/user'
~ $

Thanks in advance for your help
Al

MadMan2k 2009-02-12 13:58

Re: YouAmp - yet another Music player for Maemo
 
should be fixed in 0.5.5-1

a_sharpe 2009-02-12 20:21

Re: YouAmp - yet another Music player for Maemo
 
Hello Pavel:

First thanks for the quick fix the program indeed runs now.

I select External in Preferences and it finds the Media --> Audio folder and plays the mp3's. But does not play the .m4a (aac) files in the folder.

I also have all my aac music in the External but under
Media --> Music --> Artist --> Album --> Songs.
YouAmp finds none of these.
Do I need to rearrange the folder structure or is aac not supported, I thought it was.

Thanks in advance
Al

MadMan2k 2009-02-12 22:45

Re: YouAmp - yet another Music player for Maemo
 
thats because YouAmp currently only searches for "*.mp4" files, but not for "*.m4a" files, which are actually the same.
I have just added "m4a" and "oga" to the known extensions, so they will be found after the next release.
But I am still not sure how urgent this is - basically I would like to add some features before doing a new release...

froz 2009-02-23 17:54

Re: YouAmp - yet another Music player for Maemo
 
I found the music folder path is not saved properly. It reverts to default (/media/mmc1/) every time I start the program. It annoys me a lot since I would prefer having YouAmp to read only from one of my folders.

Can it be fixed in the upcoming version?

froz 2009-02-23 18:08

Re: YouAmp - yet another Music player for Maemo
 
I would also hoping to have the column sizes adjustable and the sizes saved to config file. I also would like to see the list can be sorted by clicking at a column. More columns to choose from (e.g. length of clip, artist + title combined option, track number, codec, bitrate)

Cosmetic changes would also be nice - having a larger album art, adding a playback timer, a longer progress bar (may need to rearrange the controls...)

Thanks for your great music player. Please keep on improving it!


All times are GMT. The time now is 22:20.

vBulletin® Version 3.8.8