Support “albumart” command (close #30)

Load the album covers using MPD’s new “albumart” command instead of
reading the covers from the harddrive. Remove the corresponding UI
elements and configuration option.
This commit is contained in:
coderkun 2019-09-22 18:41:02 +02:00
commit bb8b816e8f
5 changed files with 266 additions and 230 deletions

View file

@ -16,11 +16,6 @@
<summary>MPD port</summary>
<description>MPD port to connect to</description>
</key>
<key type="s" name="image-dir">
<default>''</default>
<summary>Image directory</summary>
<description>Directory which a webserver is providing images on</description>
</key>
<key type="b" name="connected">
<default>false</default>
<summary>Connection state</summary>

View file

@ -664,7 +664,7 @@
<packing>
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="height">8</property>
<property name="height">6</property>
</packing>
</child>
<child>
@ -680,18 +680,6 @@
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="server-image-dir">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="placeholder_text" translatable="yes">Enter URL or local path</property>
<signal name="focus-out-event" handler="on_server-image-dir_focus_out_event" swapped="no"/>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkEntry" id="server-password">
<property name="visible">True</property>
@ -756,18 +744,6 @@
<property name="top_attach">4</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Image Directory:</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">6</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
@ -1813,6 +1789,7 @@
<object class="GtkStack" id="library-standalone-stack">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="transition_type">crossfade</property>
<child>
<object class="GtkSpinner" id="library-standalone-spinner">
<property name="visible">True</property>