1. Carlos Ribeiro
  2. Radio Tray
  3. Issues
Issue #280 new

Get back album cover download feature

Markus Schmidt
created an issue

Downloading and displaying album cover is broken on recent version of Radiotray.

To get back the feature apply this patch to AudioPlayerGStreamer.py:

--- AudioPlayerGStreamer.py     2015-01-06 12:37:50.000000000 +0100
+++ AudioPlayerGStreamer.py.new 2016-10-27 08:02:07.000000000 +0200
@@ -202,6 +202,11 @@
                metadata['title'] = value
                metadata['station'] = station
.
+               (present, value) = taglist.get_string('homepage')
+
+               if present:
+                   metadata['homepage'] = value
+
                self.eventManager.notify(EventManager.SONG_CHANGED, metadata)
.
            #if there is no song information, there's no point in triggering song change event

BTW: To send album cover with icecast + ezstream + MP3 simply include a line in ezstream's config XML:

<metadata_format>@a@ - @t@';StreamUrl='http://your-domain/url/of/album/cover.jpg</metadata_format>

/url/of/album/cover.jpg could be a dynamic symbolic link, so that it is possible to send different covers for each song.

Comments (1)

  1. Log in to comment