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)

Laughing Man 2008-07-09 14:10

Re: YouAmp - yet another Music player for Maemo
 
~ $ youamp-player
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 189, in run
OperationalError: table songs has 7 columns but 8 values were supplied

MadMan2k 2008-07-09 16:14

Re: YouAmp - yet another Music player for Maemo
 
yeah, I really ****ed up the upgrade path. You will have to delete your library. ("rm /home/user/.musicdb")
Next time I will watch out for such problems..

Laughing Man 2008-07-09 17:47

Re: YouAmp - yet another Music player for Maemo
 
Ok, was indexing fine till

Added: file:///media/mmc1/My downloads/Matthew That - Starlight (MUSE cover).mp3
Bad ID3 Header, using File(path): /media/mmc1/My downloads/Podcasts/5-2-08.mp3
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 154, in run
File "debian/python2.5-mutagen/usr/lib/python2.5/site-packages/mutagen/__init__.py", line 200, in File
File "debian/python2.5-mutagen/usr/lib/python2.5/site-packages/mutagen/__init__.py", line 75, in __init__
File "debian/python2.5-mutagen/usr/lib/python2.5/site-packages/mutagen/id3.py", line 1939, in load
File "debian/python2.5-mutagen/usr/lib/python2.5/site-packages/mutagen/mp3.py", line 101, in __init__
File "debian/python2.5-mutagen/usr/lib/python2.5/site-packages/mutagen/mp3.py", line 138, in __try
HeaderNotFoundError: can't sync to an MPEG frame

MadMan2k 2008-07-09 21:48

Re: YouAmp - yet another Music player for Maemo
 
it says that:
"/media/mmc1/My downloads/Podcasts/5-2-08.mp3"
has bad Header data. You can try to fix that with an external program or delete the file. The next Version of YouAmp will just skip it.

Laughing Man 2008-07-09 23:53

Re: YouAmp - yet another Music player for Maemo
 
Ok it seems to work now.

kurupted 2008-07-21 08:57

Re: YouAmp - yet another Music player for Maemo
 
fix my error please

when i start youamp from menu's it just hangs on the "updating database"

i run it from xterm, wont start youamp

/home/user # youamp-player
process 1580: d-bus library appears to be incorrectly set up; failed to read machine uuid: failed to open "/var/lib/dbus/machine-id": no such file or directory
see manual page for dbus-uuidegen (285fde1325395311479d75004883ec5e) to correct this issue.
d-bus not built with -rdynamic so unable to print a backtrace
aborted

Nikem 2008-07-21 21:17

Re: YouAmp - yet another Music player for Maemo
 
Great, light program, excellent for listining to podcasts. :)

Is there a chance to add two more options if developer time permit?
1. Show the playing time/time left, so I can remember and find easier where I interrupted an audiobook/podcast and how long it's going to last.
2. An option to _not_ restart playing the playlist after the last played file.

MadMan2k 2008-07-22 11:59

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

Originally Posted by kurupted (Post 205368)
fix my error please

when i start youamp from menu's it just hangs on the "updating database"

i run it from xterm, wont start youamp

/home/user # youamp-player
process 1580: d-bus library appears to be incorrectly set up; failed to read machine uuid: failed to open "/var/lib/dbus/machine-id": no such file or directory
see manual page for dbus-uuidegen (285fde1325395311479d75004883ec5e) to correct this issue.
d-bus not built with -rdynamic so unable to print a backtrace
aborted

it seems like your maemo installation is broken. If the error persists after restarting, consider reflashing.

MadMan2k 2008-07-22 12:07

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

Originally Posted by Nikem (Post 205600)
Great, light program, excellent for listining to podcasts. :)

Is there a chance to add two more options if developer time permit?
1. Show the playing time/time left, so I can remember and find easier where I interrupted an audiobook/podcast and how long it's going to last.
2. An option to _not_ restart playing the playlist after the last played file.

implementig these features is not a problem, but I would like to keep the user interface as clean as possible, so I first have to figure out where to put them without cluttering up the ui.

I probably will open a vote once I come to that, but first I am going after last.fm support.

kurupted 2008-07-23 01:44

Re: YouAmp - yet another Music player for Maemo
 
i reflashed 3 times still doesnt work. same error

MadMan2k 2008-07-23 15:46

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

Originally Posted by kurupted (Post 206063)
i reflashed 3 times still doesnt work. same error

there is a new version of youamp availalable, where I explicitly depend on the dbus related library. If it still does not work it is not the fault of youamp.
Try not restoring your preferences after reflashing then.

nikolajhendel 2008-07-24 08:58

Re: YouAmp - yet another Music player for Maemo
 
hey madman2k
just found your wonderful program yesterday - and installed it pronto (as I was getting tired of the bloated players).

Everything installed fine - but got a bit confused over the versions, as youamp presents itself as version "Youamp 0.3.5.2" in about, but in application manager it's says 0.3.6-3.

Now for a couple of questions/suggestions/bugs:

1: problems with remembering position in playlist:
When I close youamp and reopen, it remembers the list I have + what track is played (fx. a list of 10 songs where song 5 is played). When I press play, youamp plays track 5, but when this track finishes (or I press next), the player jumps to track 2. It seems that the current track is remembered - but not the "order" this track has in the playlist (this is also evident in the interface, as the first track is highlighted when youamp is started).

2: shuffle when opening:
Shuffle is a great feature, which I use a lot when playing all songs from an artist. So my setup would be - browse artist - all albums - shuffle - play.
This works fine until I close and open youamp. When youamp reopens, it reshuffles - so my playlist from earlier is "destroyed".
Would it be possible to not have youamp reshuffle when it opens?
- a suggestion to the user interface: have an shuffle toggle (enable/disable) and a shuffle button that can be pressed whenever you want to do a shuffle. That way a user can keep a shuffle, create a new shuffle by pressing the button, or disable shuffle by disabling.

Meraxupypr 2008-07-24 14:40

Re: YouAmp - yet another Music player for Maemo
 
After mooving boot to SD, youamp can't find any files. Is there a way to fix it? Or is there a way to specify folder?

Laughing Man 2008-07-24 23:11

Re: YouAmp - yet another Music player for Maemo
 
I would also like the ability to specify folder, or exclude. Since youamp chokes on podcasts with an id3 tag error.

MadMan2k 2008-07-26 09:21

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

Originally Posted by nikolajhendel (Post 206467)
Everything installed fine - but got a bit confused over the versions, as youamp presents itself as version "Youamp 0.3.5.2" in about, but in application manager it's says 0.3.6-3.

its version 0.3.6 - I just forgot to change the string in the UI.

Quote:

Originally Posted by nikolajhendel (Post 206467)
1: problems with remembering position in playlist:
When I close youamp and reopen, it remembers the list I have + what track is played (fx. a list of 10 songs where song 5 is played). When I press play, youamp plays track 5, but when this track finishes (or I press next), the player jumps to track 2. It seems that the current track is remembered - but not the "order" this track has in the playlist (this is also evident in the interface, as the first track is highlighted when youamp is started).

that seems to be a bug - I am going to look into that

Quote:

Originally Posted by nikolajhendel (Post 206467)
2: shuffle when opening:
Shuffle is a great feature, which I use a lot when playing all songs from an artist. So my setup would be - browse artist - all albums - shuffle - play.
This works fine until I close and open youamp. When youamp reopens, it reshuffles - so my playlist from earlier is "destroyed".

my thinking behind this was that when you shuffle you actually dont care about the order, so as long as the order is shuffled it is ok. But I agree that sometimes it would be good to have the same order after reloading, but that would require saving the current order.

Quote:

Originally Posted by nikolajhendel (Post 206467)
- a suggestion to the user interface: have an shuffle toggle (enable/disable) and a shuffle button that can be pressed whenever you want to do a shuffle. That way a user can keep a shuffle, create a new shuffle by pressing the button, or disable shuffle by disabling.

I dont think this is worth an extra button. you can currently achieve this by pressing the shuffle button twice.

MadMan2k 2008-07-26 09:26

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

Originally Posted by Meraxupypr (Post 206538)
After mooving boot to SD, youamp can't find any files. Is there a way to fix it? Or is there a way to specify folder?

YouAmp looks in /media/mmc1 /media/mmc2 and ~/music/, so you can make one of these symlink to your musicfolder in order to make it find your music again.

And in the next version you will be able to specify one folder.

MadMan2k 2008-08-06 14:44

Re: YouAmp - yet another Music player for Maemo
 
ok, the music folder selection did not quite make it in, but I decided to release what Ive got now, since I will be busy over the next weeks.

* changed domain
* correctly restore position after restart
* D-Bus interface
* finally fixed OGG replaygain

st5150 2008-08-06 20:32

Re: YouAmp - yet another Music player for Maemo
 
The .install wouldn't upgrade youamp for me on my diablo'd N810. So I uninstalled it and reinstalled it using the .install file from maemo.org and it still wanted to install v3.6. So I got the v3.7 deb directly: http://repository.maemo.org/extras/p....3.7-4_all.deb and found out I needed python2.5-mutagen to install v3.7. Odd. So I ran apt-get install python2.5-mutagen and then I was able to get youamp_0.3.7-4_all.deb to install correctly.

nikolajhendel 2008-08-07 07:12

Re: YouAmp - yet another Music player for Maemo
 
hey madman2k
-installed the new version over the old. Whenever I open youamp it starts "updating database". The window has now been open an hour - so it seems to be stuck (even though the program works "underneath").

I will try to uninstall youamp and install the latest version to see what happens.

st5150 2008-08-07 09:23

Re: YouAmp - yet another Music player for Maemo
 
I had a similar problem as well, just uninstall it and install the deb I linked above. Everything is swell now, even though ogg files don't play under diablo. Haven't figured out why, because I was under the impression youamp had native ogg support.

MadMan2k 2008-08-08 09:52

Re: YouAmp - yet another Music player for Maemo
 
in order to get ogg support, you have to enable the "extras-devel" repository and install gstreamer-ivorbis.

st5150 2008-08-08 11:39

Re: YouAmp - yet another Music player for Maemo
 
Thanks for the tip MadMan, I ran apt-get install gstreamer0.10-plugins-ivorbis and now my ogg files play just fine.

How can I tell youamp to ignore scanning certain directories for its database? I did a :/# du -l | grep -i youamp and couldn't find a .conf file to edit. It's picking up all the wayfinder direction sound clips. I only need it to scan a single directory.

nikolajhendel 2008-08-08 11:57

Re: YouAmp - yet another Music player for Maemo
 
st5150 - as MadMan2k said above, the feature to specify folders didn't make it into the current release, but is planned.

(hopefully the feature to "remember shuffle" will make it too) - ;)

Stephe 2008-08-10 03:25

Re: YouAmp - yet another Music player for Maemo
 
I am having some problems with the latest version of YouAmp, 0.3.7, that were not present in previous versions.

1) As YouAmp advances to playing the next song in the list, the highlighted song in the song list does not advance to match. It stays stuck on the first song played.

2) The bold text at the top of the window that normally lists the currently playing song name with the album and artist now always says "No Track."

3) Songs start playing at a very low volume. I have to go to preferences and touch "No Replaygain Amp" by changing the value from 0.0 to 0.1 and back to 0.0 to get normal volume.

Is anyone else experiencing this? I have tried completely uninstalling and reinstalling YouAmp to no avail.

If I run youamp-player from the terminal, I get the following when playing the first song:

"get_seek: player not ready
python2.5[2428]: GLIB CRITICAL ** GStreamer - get_bus_source_dispatch: assertion 'message != NULL' failed
get_seek: player not ready"

Each subsequent song get a few more "Player not ready" messages.

YouAmp is still my favorite player, and I appreciate all the work going into it.

Hargoth 2008-08-11 20:07

Re: YouAmp - yet another Music player for Maemo
 
The problem is this:

The Youamp packager did not specify all of the python dependencies, and so it cannot run. It will generate python errors.

For those of us who are Linux familiar, but Debian ignorant, or for those who don't want to be familiar, this should be fixed.

I don't want to set up apt-get because I don't want to boot off a card, and the apt-get repository databases eat a ton of space.

So, I have tried installing from the web, and it gives me a list of missing dependencies. I will try too add the extras-devel repository to the installer app -- sure wish there was a way to click and add those -- and add the dependencies manually ...

Right now I am getting:

library.py line 151 in run

NameError: global name 'sys' is not defined.

Hargoth 2008-08-11 20:24

Re: YouAmp - yet another Music player for Maemo
 
Got all dependencies fixed, reinstalled, and same issue :(

Hargoth 2008-08-11 20:27

Re: YouAmp - yet another Music player for Maemo
 
cannot find python-mutagen ...

vinc17 2008-08-12 01:19

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

Originally Posted by Hargoth (Post 212484)
Right now I am getting:

library.py line 151 in run

NameError: global name 'sys' is not defined.

Same problem:
Code:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
  File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 151, in run
NameError: global name 'sys' is not defined

Quote:

Originally Posted by Hargoth (Post 212496)
cannot find python-mutagen ...

Code:

Nokia-N810-23-14:~> apt-cache policy python2.5-mutagen
python2.5-mutagen:
  Installed: 1.14-0maemo7
  Candidate: 1.14-0maemo7
  Version table:
 *** 1.14-0maemo7 0
        500 http://repository.maemo.org diablo/free Packages
        100 /var/lib/dpkg/status


DarkStarSword 2008-08-12 02:16

Re: YouAmp - yet another Music player for Maemo
 
Well, I was experiencing identical symptoms to Stephe after upgrading to 0.3.7 (when progressing to next song, not changing and volume too low until hitting volume change), at least while playing ogg files (I don't think mp3s were affected, at least not as severely).
After applying today's 2008 Feature Upgrade youamp no longer works - hangs while 'updating database', and playlist is empty.
Terminal says:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
File "debian/youamp/usr/lib/python2.5/site-packages/youamp/library.py", line 157, in run
NameError: global name 'sys' is not defined

MadMan2k 2008-08-13 10:36

Re: YouAmp - yet another Music player for Maemo
 
YouAmp 0.3.8 is out. Should fix most of the issues mentioned here.

Code:

  * also count restarted tracks
  * use mtime as date
  * fix bug where first browse displayed old search results
  * configurable music folder
  * fix bug where cursor would not advance
  * do not generate wakeups when player is paused


dubwise 2008-08-13 16:01

Re: YouAmp - yet another Music player for Maemo
 
I haven't looked at YouAmp in a while. You've made good progress.

Took me a little while to get Preferences|Music Folder|Other working.
First I didn't realize that you need to doubleclick on the desired directory and hit Open,
or it reverts to the entire card.
Then it takes a program restart to get it to update the database,
and hitting Browse to make the cleaned database apparent.
Got it now, though, and it all works.

Albums play alphabetically. Is there a way to play in track order?

N800 running Diablo 4.2008.30-2

vinc17 2008-08-13 16:43

Re: YouAmp - yet another Music player for Maemo
 
I've reinstalled youamp 0.3.8-3, and there are two problems:

1. When I start it, it scans everything (including the ogg files from the Maps application in /media/mmc2/map/navicore/sounds). It should wait for user configuration before scanning the memory cards.

2. In the Preferences / Music Folder, I get:
  • mmc-undefined-name-internal (2)
  • mmc-undefined-name
  • mmc-undefined-name-internal
so that I don't know what they correspond to. Choosing "Other..." makes it clear, though.

vinc17 2008-08-13 17:01

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

Originally Posted by dubwise (Post 213310)
Albums play alphabetically. Is there a way to play in track order?

Related to that, is their a way to build playlists and use them instead of ogg files? My ogg files don't have track information (as this doesn't always make sense because some long works are on several CDs, which must be played in some order). This is what I do with VLC on my desktop machine.

Stephe 2008-08-14 03:14

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

Originally Posted by Stephe (Post 211948)
I am having some problems with the latest version of YouAmp, 0.3.7, that were not present in previous versions.

2) The bold text at the top of the window that normally lists the currently playing song name with the album and artist now always says "No Track."

3) Songs start playing at a very low volume. I have to go to preferences and touch "No Replaygain Amp" by changing the value from 0.0 to 0.1 and back to 0.0 to get normal volume.

I believe I have found the problem. I was using the Ogg Support package from Tuomas Kulve. After uninstalling that and using the gstreamer0.10-plugins-ivorbis package mentioned above, both these problems are gone.

I am curious. Any idea what made Ogg Support not work anymore?

MadMan2k 2008-08-14 09:43

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

Originally Posted by dubwise (Post 213310)
Albums play alphabetically. Is there a way to play in track order

They should play in track order already. Is your order set to artist?

Playlists are on the ToDo list, but not with a high priority. last.fm submisson is the next big thing. But dont expect anything soon; my exams are approaching.

rone 2008-08-29 02:01

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

Originally Posted by MadMan2k (Post 136542)
thats strange. the "No module named gnome.gconf" message means that the package python2.5-gnome is missing. But that should not happen since I explicitly depend on it...

It appears this may be back. I have both an 800 and 810 with the with latest 2008 and the same apps installed. YouAmp 0.3.8-3 works on the 800 but not the 810. The 810 gives a message about gnome missing when started from the terminal.

The only difference I can find is the 800 has python2.5-gnome 2.18.0-losso3. The 810 has python2.5-gnome 2.18.0-losso4.

I think I did an apt-get upgrade on the 810 but not the 800. I don't want to try the 800 for fear of breaking that.

Both the 800 and 810 show fully updated when going through the application manager in blue pill mode.

In red pill mode the 800 shows a bunch of updates (including many python updates) where the 810 shows only 1 for the OS.

It appears to me there is new version of python gnome that is affecting YouAmp.

I have been through this thread and nothing seemed to help.

Any other info I can supply to help?

MadMan2k 2008-09-05 18:39

Re: YouAmp - yet another Music player for Maemo
 
youamp 0.4.0 is out. it mainly features last.fm support. right now you will have to restart in order to connect.

@rone:
I have 2.18.0-losso4 installed, so it must be something different.

rone 2008-09-07 23:43

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

Originally Posted by MadMan2k (Post 221252)
youamp 0.4.0 is out. it mainly features last.fm support. right now you will have to restart in order to connect.

@rone:
I have 2.18.0-losso4 installed, so it must be something different.

I installed the new version to see if it would help. It did not.

I am getting the following error. Any ideas?

~ $ 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
~ $

MadMan2k 2008-09-09 17:42

Re: YouAmp - yet another Music player for Maemo
 
sorry, thats really over my head. I have now bumped the dependency requirements to the latest versions as a last try.

Other features in the 0.4.1 release:
* submits to last.fm are now non-blocking
* fix submission logic
* move cursor on shuffeling/ unshuffeling

rone 2008-09-09 19:22

Re: YouAmp - yet another Music player for Maemo
 
thanks for putting up a new version.

I have loaded the new version but I still get the same error.

Anybody have any ideas what I should try?

I am not desperate enough to reflash. It takes way to long to re-setup everything again.


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

vBulletin® Version 3.8.8