FS#4230 - tunepimp does not work with amarok

Attached to Project: Arch Linux
Opened by Rohan Dhruva (rohandhruva) - Tuesday, 21 March 2006, 16:10 GMT
Last edited by Dale Blount (dale) - Tuesday, 21 March 2006, 16:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello,

The tunepimp provided with arch linux does not work, or so it seems, with amarok. I am not able to fetch the tags using musicbrainz. I tried amarok 1.3 as well as 1.4-svn. Amarok just shows "generating audio fingerprint" and an indefinite busy cursor. Thinking that it is an amarok bug, I have filed a bug on kde -- however it is clear from reading that, that it is an arch linux problem. I tried reocompiling using arch's pkgbuild, but in vain. I am posting a link to the kde bug report here :

https://bugs.kde.org/show_bug.cgi?id=123931

Thanks,
Rohan.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 27 March 2006, 18:41 GMT
Reason for closing:  Fixed
Comment by Rohan Dhruva (rohandhruva) - Wednesday, 22 March 2006, 13:49 GMT
Just for the record, I tried recompiling amarok 1.4 svn and 1.3.8 against the new musicbrainz-2.1.2-1 and tunepimp-0.4.2-3 , but the problem remains.
Comment by Tobias Powalowski (tpowa) - Wednesday, 22 March 2006, 13:58 GMT
i added all missing parts to tunepimp, i don't know why it doesn't work :(
Comment by Rohan Dhruva (rohandhruva) - Wednesday, 22 March 2006, 15:48 GMT
I am stumped by this too. I will try recompiling tunepimp and musicbrainz from source, but I dont know how that will help, if at all.
Comment by Tobias Powalowski (tpowa) - Thursday, 23 March 2006, 07:52 GMT
well the fun is i have now 2 files that are taggable, but if one fails they are not taggable until you restart amarok
Comment by Greg Meyer (oggb4mp3) - Saturday, 25 March 2006, 22:56 GMT
I can confirm this. After troubleshooting this with one of the amaroK developers, it appears that tunepimp is not communicating with the musicbrainz server for some reason. tp_tagger reports TRM's for tracks, but always returns a result of no matches, so it doesn't appear to be strictly related to amaroK. Here is a tp_tagger session log

$ tp_tagger
Supported file extensions
.aac .flac .m4a .m4b .m4p .mp3 .mp4 .ogg .wav
Enter ? or h for help

tag> a /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg
File added: /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg

tag> p /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg
0: TRM Lookup: /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg
TRM: 129807be-3fa9-429f-b46e-1f768746ebc8
Similarity: 0
Changed: 1

File metadata:
Format: ogg
Artist: Blue Oyster Cult
SortName:
Album: Don`t Fear The Reaper - The Best of Blue Oyster Cult
Track: (Don`t Fear) The Reaper
TrackNum: 0
Duration: 309787
ArtistId:
AlbumId:
TrackId:
TRM:
VA: 0
NA: 0

Server metadata:
Artist:
SortName:
Album:
Track:
TrackNum: 0
Duration: 0
ArtistId:
AlbumId:
TrackId:
TRM:
VA: 0
NA: 0

TRM Lookup: /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg
tag> r /mnt/music/allofmp3/q6/singles/Blue Oyster Cult - (don't fear) The Reaper.ogg
No results available for this track.
Comment by Greg Meyer (oggb4mp3) - Saturday, 25 March 2006, 22:58 GMT
BTW, tunepimp 0.3.0 works, I dropped back and tested that today. Also, there have been other amaroK users complaining about this in #amarok on freenode, one of which is an Arch user, the others I am not sure. I don't know if this is strictly related to Arch, but I will say this, I know other Arch users with the problem, and I know Gentoo users using 0.4.2 that do not have this problem.
Comment by Greg Meyer (oggb4mp3) - Saturday, 25 March 2006, 23:16 GMT
0.4.0 works too, just tested it
Comment by Tobias Powalowski (tpowa) - Sunday, 26 March 2006, 07:25 GMT
could you try if 0.4.1 works too?
Comment by Greg Meyer (oggb4mp3) - Sunday, 26 March 2006, 14:22 GMT
okay, 0.4.1 also works. amaroK returns results and tp_tagger works fine.

tag> p /mnt/music/cd-local/Kristin_Hersh//14_-_Your_Ghost.mp3
0: Recognized: /mnt/music/cd-local/Kristin_Hersh//14_-_Your_Ghost.mp3
TRM: ceab6f6f-1e56-4676-be6c-42d1960f1d9d
Similarity: 72
Changed: 1

File metadata:
Format: mp3
Artist: Kristin Hersh
SortName:
Album:
Track: Your Ghost
TrackNum: 14
Duration: 197980
ArtistId:
AlbumId:
TrackId:
TRM:
VA: 0
NA: 0

Server metadata:
Artist: Kristin Hersh
SortName: Hersh, Kristin
Album: Triple J: Hottest Box (disc 2: 1994)
Track: Your Ghost
TrackNum: 14
Duration: 0
ArtistId: 0b461f11-c7af-4ddb-a30e-5cb0aabb3e7f
AlbumId: b93978ca-7a06-4b41-a299-2d227cf4dfc1
TrackId: 5ed4dfc2-7654-445c-b487-c99dfba2f365
TRM:
VA: 1
NA: 0
AlbumType: compilation
AlbumStatus: official
Date: 14 (AU)

Recognized: /mnt/music/cd-local/Kristin_Hersh//14_-_Your_Ghost.mp3
Recognized: /mnt/music/cd-local/Kristin_Hersh//14_-_Your_Ghost.mp3
Comment by Greg Meyer (oggb4mp3) - Sunday, 26 March 2006, 14:37 GMT
and just to confirm, an upgrade to the official Arch package, and it doesn't work again. BTW, I did also try to build 0.4.2 from source and got the same result.
Comment by Greg Meyer (oggb4mp3) - Sunday, 26 March 2006, 14:53 GMT
Continuing to look at a few things that may help narrrow this down. './configure' for 0.4.2 returns the following erros:


checking for readline in -lreadline... no
*
* The GNU readline library isn't installed.
* This means the sample tagger, tp_tagger, won't
* have readline support.
*

checking for taglib >= 1.4.0... no
*** NOT compiling TagLib support

Now the funny thing is I have both readline and taglib on my system.

$ pacman -Qs readline
local/readline 5.1-2
GNU readline library

$ pacman -Qs taglib
local/taglib 1.4-2
A library for reading and editing the meta-data of several popular audio
formats.

and taglib-config reports the correct version

$ taglib-config --version
1.4
Comment by Rohan Dhruva (rohandhruva) - Sunday, 26 March 2006, 15:41 GMT
The readline problem is solved if you apply the patch from abs, in the extra/multimedia/tunepimp directory.
Comment by Greg Meyer (oggb4mp3) - Sunday, 26 March 2006, 15:51 GMT
yep, got it, sorry for the noise
Comment by Greg Meyer (oggb4mp3) - Sunday, 26 March 2006, 16:26 GMT
it looks like the patch solves the taglib configure check, but I don't see how it fixes the readline configure check error.
Comment by Tobias Powalowski (tpowa) - Monday, 27 March 2006, 18:41 GMT
downgraded to 0.4.1 now, 0.4.2 seems not to work for whatever reason, perhaps it's taglib related who knows or libmp4v2

Loading...