forked from mopidy/mopidy-soundcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return track images via library get_images(), fixing mopidy#111
Previously, track images were provided via album images. That is obsolete in Mopidy 3, and was removed in e4efb79. This uses the new LibraryProvider get_images() API to provide images. The same SoundCloud API request used to lookup() a track also provides the image URL. These requests are now cached via _get_track_data(). Like in the previous implementation, user avatar is used if there is no track image.
- Loading branch information
1 parent
310ef8a
commit 5320324
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters