From 60ab760d39f37afa40fc7269d993af54bc1d3ffe Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Wed, 14 Apr 2021 20:30:41 +0300 Subject: [PATCH] Fix mpris --- Telegram/SourceFiles/platform/linux/linux_mpris_support.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/platform/linux/linux_mpris_support.cpp b/Telegram/SourceFiles/platform/linux/linux_mpris_support.cpp index 9cd382425..468f58cb6 100644 --- a/Telegram/SourceFiles/platform/linux/linux_mpris_support.cpp +++ b/Telegram/SourceFiles/platform/linux/linux_mpris_support.cpp @@ -33,9 +33,9 @@ namespace Platform { namespace internal { namespace { -constexpr auto kService = "org.mpris.MediaPlayer2.tdesktop"_cs; +constexpr auto kService = "org.mpris.MediaPlayer2.Kotatogram"_cs; constexpr auto kObjectPath = "/org/mpris/MediaPlayer2"_cs; -constexpr auto kFakeTrackPath = "/org/telegram/desktop/track/0"_cs; +constexpr auto kFakeTrackPath = "/org/kotatogram/desktop/track/0"_cs; constexpr auto kInterface = "org.mpris.MediaPlayer2"_cs; constexpr auto kPlayerInterface = "org.mpris.MediaPlayer2.Player"_cs; constexpr auto kPropertiesInterface = "org.freedesktop.DBus.Properties"_cs;