mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Set service name for MPRIS
This commit is contained in:
@@ -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) {
|
||||
|
Submodule Telegram/lib_base updated: b721f4d130...9cf6edbb67
Reference in New Issue
Block a user