Commit 436cb514 authored by Kempe's avatar Kempe
Browse files

[FEATURE] Add station name to mpris information

parent d3b0c57b
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment