Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378161 - media-sound/picard-0.15.1: coverart downloader plugin does not work
Summary: media-sound/picard-0.15.1: coverart downloader plugin does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 04:24 UTC by Martin Dummer
Modified: 2011-09-29 08:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix coverart.py URL (picard-0.15.1.ebuild.patch,495 bytes, patch)
2011-09-28 14:56 UTC, Gordon Pettey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Dummer 2011-08-08 04:24:20 UTC
After ugrading picard to 0.15.1 the coverart plugin which is installed by the coverart use flag does not work any more.

Reproducible: Always

Steps to Reproduce:
1. install picard with USE=coverart
2. open terminal window
3. start picard
Actual Results:  
when started from a terminal I can see the following message:

I: 139784768124672 05:54:37 Plugin 'Cover Art Downloader' from '/usr/lib64/python2.7/site-packages/picard/plugins/coverart.pyc' is not compatible with this version of Picard.

picard works but the coverart downloader is gone

Expected Results:  
picard working with coverart downloader

the API version of the picard plugins has changed. This can be easily checked with

bash# grep PLUGIN_API_VERSIONS /usr/portage/distfiles/coverart.py
PLUGIN_API_VERSIONS = ["0.12"]

The necessary API version is 0.15
I downloaded a working version of the plugin here:

http://users.musicbrainz.org/~luks/picard-plugins/coverart.py

Please add it to the ebuild and do a version bump (I propose 0.15.1-r1).
Unfortunately the upstream authors did not append a version number, so I think this has to be done here in the ebuild if breaking the old versions should not occur....
Comment 1 Scott Alfter 2011-09-20 16:54:56 UTC
I noticed the same behavior, which was especially maddening as I had just added the coverart USE flag when I upgraded from 0.12.1 to 0.15.1.  Disabling the USE flag and downloading the correct plugin (and putting it in ~/.config/MusicBrainz/Picard/plugins) works in the meantime.
Comment 2 Gordon Pettey 2011-09-28 14:56:25 UTC
Created attachment 288091 [details, diff]
fix coverart.py URL

The issue here is that the ebuild is downloading the wrong version of coverart.py. There is one version for 0.12-0.14, and one for 0.15. The 0.15 ebuild is using the same URL as the older ebuilds.
Comment 3 Tim Harder gentoo-dev 2011-09-29 08:56:45 UTC
Sorry I didn't notice this right away. Upstream should really consider versioning their plugins in some fashion in the filename.

Anyway, it should finally be fixed in CVS.