0f643d9c57
This was very poorly implemented and can't stay as it is right now:
- Every second or so the art image was being loaded from disk, scaled,
base64 encoded and sent over the freakin network!
- The Android interface didn't take into account small screens, and
adding the image would cut stuff out of the screen.
- Didn't manage "edge cases" like playing a song without cover after one
with cover (previous image was still being shown) or changing players.
This reverts commit e66096d05a
.
# Conflicts:
# plugins/mpriscontrol/mpriscontrolplugin.cpp
19 lines
478 B
CMake
19 lines
478 B
CMake
set(kdeconnect_mpriscontrol_SRCS
|
|
mpriscontrolplugin.cpp
|
|
)
|
|
|
|
qt5_add_dbus_interface(
|
|
kdeconnect_mpriscontrol_SRCS
|
|
mprisdbusinterface.xml
|
|
mprisdbusinterface
|
|
)
|
|
|
|
qt5_add_dbus_interface(
|
|
kdeconnect_mpriscontrol_SRCS
|
|
propertiesInterface.xml
|
|
propertiesdbusinterface
|
|
)
|
|
|
|
kdeconnect_add_plugin(kdeconnect_mpriscontrol JSON kdeconnect_mpriscontrol.json SOURCES ${kdeconnect_mpriscontrol_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_mpriscontrol Qt5::DBus kdeconnectcore)
|