D15863: [MPris Plugin] Support Seek()

Fabian Vogt noreply at phabricator.kde.org
Mon Oct 1 10:50:53 BST 2018


fvogt requested changes to this revision.
fvogt added a comment.
This revision now requires changes to proceed.


  Seek has a different behaviour for `position() + offset < 0` and `position() + offset == m_length`:
  
    A negative value seeks back. If this would mean seeking back further than the start of the track, the position is set to 0.
    
    If the value passed in would mean seeking beyond the end of the track, acts like a call to Next.
  
  SetPosition has:
  
    If the Position argument is less than 0, do nothing.
    
    If the Position argument is greater than the track length, do nothing.
  
  which is different.

REPOSITORY
  R856 Plasma Browser Integration

REVISION DETAIL
  https://phabricator.kde.org/D15863

To: broulik, #plasma, davidedmundson, fvogt, nicolasfella
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181001/4d909ac7/attachment-0001.html>


More information about the Plasma-devel mailing list