Set service name for MPRIS

This commit is contained in:
Ilya Fedin 2021-07-09 15:17:48 +04:00 committed by John Preston
parent cc7f569c77
commit c53564cfdc
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,7 @@ SystemMediaControlsManager::SystemMediaControlsManager(
base::Platform::SystemMediaControls::PlaybackStatus;
using Command = base::Platform::SystemMediaControls::Command;
_controls->setServiceName(qsl("org.mpris.MediaPlayer2.tdesktop"));
_controls->setApplicationName(AppName.utf16());
const auto inited = _controls->init(controller->widget());
if (!inited) {

@ -1 +1 @@
Subproject commit b721f4d1302c5119d59ab35ddfd5abb90fab42ed
Subproject commit 9cf6edbb6784b734946c09a563845264b76cfaaa