mpris2: emit CanSeek notification in EngineStateChanged
When the engine status is Playing must emit the notification CanSeek
This commit is contained in:
parent
5b066991ab
commit
91c144478b
@ -134,6 +134,8 @@ void Mpris2::EngineStateChanged(Engine::State newState) {
|
||||
}
|
||||
|
||||
EmitNotification("PlaybackStatus", PlaybackStatus(newState));
|
||||
if (newState == Engine::Playing)
|
||||
EmitNotification("CanSeek", CanSeek(newState));
|
||||
}
|
||||
|
||||
void Mpris2::VolumeChanged() { EmitNotification("Volume"); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user