Skip to content
Snippets Groups Projects
Commit 436cb514 authored by Kempe's avatar Kempe
Browse files

[FEATURE] Add station name to mpris information

parent d3b0c57b
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@ QVariantMap MprisPlayer::Metadata()
{
QVariantMap metadata;
metadata.insert("mpris:trackid", QString("/org/mpris/MediaPlayer2/Track/%1").arg(1));
metadata.insert("xesam:artist", m_player->station());
metadata.insert("xesam:title", m_player->title());
metadata.insert("xesam:genre", m_player->genre());
// TODO add more metadata
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment