2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-18 14:00:09 +00:00

Fix mpris

This commit is contained in:
RadRussianRus
2021-04-14 20:30:41 +03:00
parent 2eabfee52b
commit 60ab760d39

View File

@@ -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;