Make lastfmcovers use pylast 0.4
Bug #506060 reported by
Ubuntuxer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I rewrote lastfmcovers, so it uses pylast 0.4 to fetch the cover. I inserted the lib pylast 0.4 into the directory xl, so that in the future other plugins can use this lib, too. (e.g. contextinfo)
Besides I added in the class Track of pylast 0.4 a function named get_cover_image().
Changed in exaile: | |
status: | New → Invalid |
To post a comment you must log in.
Please don't embed libs into core that will only be used by plugins. Libs used only by plugins must either be external deps or embedded into the plugin itself. Modifying upstream libs, even when embedded, is also discouraged.
Also, I'm not sure you understand how find_covers is supposed to work. find_covers returns a list of strings you can pass to get_cover_data to retrieve the actual data, it does NOT itself return that data, as your code appears to.