refactor notifications

This commit is contained in:
2026-02-01 16:10:42 +01:00
parent 17aef717b7
commit 178a4451d4
18 changed files with 449 additions and 236 deletions

View File

@@ -1,4 +1,5 @@
#include "services/dbus/mpris.hpp"
#include "services/dbus/messages.hpp"
#include <iostream>
#include <map>
@@ -94,7 +95,7 @@ void MprisController::launchNotification() {
auto notifactionController = NotificationController::getInstance();
MprisController::MprisPlayer2Message mpris;
MprisPlayer2Message mpris;
mpris.title = StringHelper::trimToSize(title, 30);
mpris.artist = StringHelper::trimToSize(artist, 30);
mpris.artwork_url = artwork_url;