Jamendo Plugin for Exaile

Bug #135982 reported by Adam Olsen
10
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Wishlist
Light-

Bug Description

Have a plugin that allows the user with a valid Jamendo login to browse, play and download albums on Jamendo. Would be nice to have

Adam Olsen (arolsen)
Changed in exaile:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
reacocard (reacocard) wrote :

attachment lost, probably would need a rewrite anyway.

Changed in exaile:
status: Confirmed → Invalid
Revision history for this message
Light- (erin-dru) wrote :

I have been working on such a plugin. Currently it can only browse the jamendo catalogue (based on your search terms) and stream songs. I do plan to add the ability to download songs to your music library, as well as much more advanced/useful search capabilities.

Here are a few limitations you need to be aware of (at this stage):
- Plugin will only work on latest released version of Exaile (version 0.3.0.1). It will NOT work with the latest bzr revision, as revision 2567 breaks the loading of the interface file. I could fix this, but then the plugin would only work for the latest bzr revision. So for now, I will leave it working with the latest official version.
- You have to play a file twice to make the cover art show. This is a known bug in exaile, see bug #460815
- The Album information will show as "http://www.jamendo.com". This is due to a bug in the way ogg metadata is handled, which was fixed in revision 2574
- All tracks will have the track number showing as "1". There is nothing that can be done about this, as that is the metadata in the files that Jamendo is serving up

To install: In Exaile, click Edit->Preferences, go to Plugins, click "Install Plugin File" and browse to wherever you downloaded jamendo.exz to, select it and click ok. You will then be able to enable it in the plugin manager.

reacocard (reacocard)
summary: - Jamendo Plugin for Exaile 0.2.8
+ Jamendo Plugin for Exaile
description: updated
Changed in exaile:
status: Invalid → Confirmed
Revision history for this message
KDontenville (kevin-keepnet) wrote :

Thanks for this, that works for well for me in 3.02.

As you say, I would also like to have access to lists like the top 100 or similar on a button. The search facility works well if you know what you want - which unfortunately in this case I don't ;-).

I am wondering if I can create a plugin for Ampache so I might review your plugin to see if I can get any pointers if that's ok light- ?

Not sure what your license might be so thought I should check just i case!

Revision history for this message
reacocard (reacocard) wrote :

a few comments:
 - there's no license headers at all in the plugin, you need to add some or we can't distribute it (gplv2+ is preferred)
 - could you make expansion work like it does in the collection panel? some users may find it confusing that in one you click the arrow to expand, and in the other you double-click the entry itself. (in the collection code, we do this by adding a blank entry below each shown entry, then on expansion we replace that with the actual contents.)
 - the plugin needs to be made to run against trunk before it can be committed - no new features can go into 0.3.0.x.

Changed in exaile:
status: Confirmed → In Progress
assignee: nobody → Light- (erin-dru)
Revision history for this message
Light- (erin-dru) wrote :

@KDontenville: Heh I didnt even think about licensing, its "do whatever the hell you want with it". I guess i'll have to copypaste the GPLv3 license headers into the files to be more "official" though.

I have some time this weekend, i'll incorporate Aren's suggestions + a few other things and post a new version

Revision history for this message
reacocard (reacocard) wrote :

If you want a more "do whatever the hell you want with it" license, feel free to use a BSD or MIT license or something like that instead. Exaile's core license has an added clause that explicitly permits plugins to be licensed differently from core, under nonfree licenses even. That said, if you want to match core, you would want a license header stating it is for gplv2 or later.

Revision history for this message
Light- (erin-dru) wrote :

Here's a new version

Features
- Contains GPL headers and runs against trunk (I have not tested it on any other version)
- Uses threads now for getting information from jamendo, makes the interface more responsive
- Much more advanced search capabilities
- Saves your settings and restores them when Exaile is restarted

I still need to add support for downloading albums to the media library though.

Revision history for this message
Light- (erin-dru) wrote :

And another version based on some feedback from Aren

This one has *greatly* improved performance in terms of adding tracks to the playlist, it turns out I was doing it in a rather boneheaded way previously.
It also fixes another bug to do with adding an album to the playlist.
And defaults to 100 search results.

Revision history for this message
Light- (erin-dru) wrote :

Aaand another version

This one fixes a bug adding all the albums for an artist to the playlist when the album data had not already been downloaded (albums would be added twice or more depending on the total number of albums)

reacocard (reacocard)
Changed in exaile:
milestone: none → 0.3.1
status: In Progress → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.