Bug 123931 - Musicbrainz tag lookup not working
Summary: Musicbrainz tag lookup not working
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-19 21:06 UTC by Rohan Dhruva
Modified: 2006-06-11 12:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
archlinux libtunepimp patch (7.66 KB, text/x-diff)
2006-03-21 19:29 UTC, Tobias Powalowski
Details
archlinux cvs (7.66 KB, text/x-diff)
2006-03-21 19:30 UTC, Tobias Powalowski
Details
archlinux cvs (7.66 KB, text/x-diff)
2006-03-21 19:30 UTC, Tobias Powalowski
Details
archlinux cvs (7.66 KB, text/plain)
2006-03-21 19:30 UTC, Tobias Powalowski
Details
archlinux cvs (7.66 KB, text/plain)
2006-03-21 19:31 UTC, Tobias Powalowski
Details
archlinux cvs (7.66 KB, text/x-diff)
2006-03-21 19:31 UTC, Tobias Powalowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Dhruva 2006-03-19 21:06:37 UTC
Version:           1.3.8 and 1.4-svn (using KDE KDE 3.5.1)
Installed from:    Unspecified Linux
Compiler:          GCC 4.0.3 
OS:                Linux

Hello,

I am using arch linux 0.7.1. It has kde 3.5.1. I tried both amarok 1.3.8, and compiling 1.4 from svn, but in neither of them could I use the lookup tags functionality. The button greys out and displays "Generating audio fingerprint". I have not changed any config files that can trigger this. Also, it does not work on files which are known to work -- like, the ones which I had filled using musicbrainz itself. Note that my router blocks all ports by default -- does musicbrainz need any additional port(s) open ?

I am pasting here the output of strace from the point when i clicked on the "Fill tags using musicbrainz" button, in amarok 1.4-svn.

amarok: [void TagDialog::musicbrainzQuery()]
amarok: [virtual void KTRMLookup::unrecognized()] /mnt/hdc5/Fav_songs/English/Robbie Williams/robbie williams - angels.mp3
amarok: BEGIN: ScanController::ScanController(CollectionDB*, bool, const QStringList&)
amarok:   BEGIN: void ScanController::initIncremental()
amarok:   END__: void ScanController::initIncremental() - Took 0.0095s
amarok: END__: ScanController::ScanController(CollectionDB*, bool, const QStringList&) - Took 0.01s
amarok: BEGIN: virtual void ThreadWeaver::Thread::run()
amarok:   BEGIN: virtual bool ScanController::doJob()
amarok:     BEGIN: SqliteConnection::SqliteConnection(SqliteConfig*)
amarok:     END__: SqliteConnection::SqliteConnection(SqliteConfig*) - Took 0.0029s
amarok:   END__: virtual bool ScanController::doJob() - Took 0.0043s
amarok:   [CollectionDB] JobFinishedEvent from Incremental ScanController received.
amarok:   [ThreadWeaver] Job completed: CollectionScanner. Jobs pending: 0
amarok:   BEGIN: virtual ScanController::~ScanController()
amarok:   END__: virtual ScanController::~ScanController() - Took 0.00028s
amarok: END__: virtual void ThreadWeaver::Thread::run() - Took 0.016s

Thanks, and regards,
Rohan.
Comment 1 Rohan Dhruva 2006-03-19 21:09:19 UTC
Oh, maybe I was not completely clear - 
The button greys out and displays "Generating audio fingerprint" for a long time, and nothing happens. No activity, neither cpu nor net is used. Please  tell me if any more files / debug logs are needed. The tunepimp version in arch linux is 0.4.2, but this function works for a friend on the same distro. 
Comment 2 Mark Kretschmann 2006-03-19 21:16:11 UTC
Your libtunepimp must be built with mp3 support. Else it won't work with mp3 files.

Comment 3 Rohan Dhruva 2006-03-19 21:22:27 UTC
You can check here -- http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/multimedia/tunepimp/PKGBUILD?rev=1.9&cvsroot=Extra&only_with_tag=CURRENT&content-type=text/vnd.viewcvs-markup

There is no explicit disabling of MP3, and the same package works for a friend, as I said. Also, I checked, the tag lookup facility does not work for .ogg files either.
Comment 4 Mark Kretschmann 2006-03-19 21:37:09 UTC
amaroK 1.3.8 only supports libtunepimp 0.3. The 0.4 version is incompatible.
Comment 5 Rohan Dhruva 2006-03-19 21:40:18 UTC
In that case, why does amarok 1.4 svn not work ? 
Comment 6 Mark Kretschmann 2006-03-20 09:55:55 UTC
We can't reproduce this though. Musicbrainz works for me and Alex. So there got to be something wrong with your libtunepimp.
Comment 7 Rohan Dhruva 2006-03-20 13:51:28 UTC
I tried the tag lookup after disconnecting internet. It popped up "The track does not exist in MusicBrainz" database. It means that connection to net and generating audioprint works. I will try removing amarok directory from ~/.kde/share/apps and see if it works. 
Comment 8 Seb Ruiz 2006-03-20 14:02:40 UTC
Both oggb4mp3 and I are also experiencing the same problem - so that means the three of us, who are using arch linux have this problem.

I'm using tunepimp 0.4.2, and I get an infinite busy cursor after trying to fetch.
Comment 9 Rohan Dhruva 2006-03-20 14:14:39 UTC
OK, then I conclude it is an arch linux problem. Filing a bug there.
Comment 10 Alexandre Oliveira 2006-03-20 16:52:47 UTC
I tested with tunepimp 0.4.0 and 0.4.2, and with two different musicbrainz versions as well, and it works ok on Gentoo, here (actually, I renamed the ebuild to get 0.4.2).
I'd like to see arch's cvs to see if they applied any patches, but their web interface is not working, and I can't use a cvs client right now.

Rohan Dhruva. don't pay much attention to the error message, see bug #104264. It shows that message for any error. 
Also, please, paste here a link to the report you sent to Arch,
Comment 11 Rohan Dhruva 2006-03-21 19:07:44 UTC
Ok, rebuilding tunepimp from source did not work. I posted a bug on the arch linux  bugzilla. Here is the link :

http://bugs.archlinux.org/task/4230
Comment 12 Tobias Powalowski 2006-03-23 09:21:18 UTC
well, one file works here to tag but that is the only one, if one is tried to tag that fails the first file is not taggable until restart, strange heh.
perhaps a timing issue in lookup routine i don't know.
greetings
tpowa
Comment 13 Rohan Dhruva 2006-03-24 06:47:54 UTC
What are the all patches attached below ? Specifically, what is the "archlinux libtunepimp patch" ? It is applied to the official amarok package, however I am not applying to my amarok-svn packages. Is it needed ? What purpose does it serve ?