Commit 3bb646d8 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

fix Seek mpris2 DBus method

parent 7ca2b1c3
......@@ -223,8 +223,8 @@ bool MediaPlayer2Player::CanControl() const
void MediaPlayer2Player::Seek(qlonglong Offset) const
{
if (mediaPlayerPresent()) {
int offset = Offset / 1000;
m_manageAudioPlayer->playerSeek(Position() + offset);
int offset = (m_position + Offset) / 1000;
m_manageAudioPlayer->playerSeek(offset);
}
}
......
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