This bug was fixed in the package qtubuntu-media -
0.7.1+14.10.20140604-0ubuntu1

---------------
qtubuntu-media (0.7.1+14.10.20140604-0ubuntu1) utopic; urgency=low

  [ Jim Hodapp ]
  * Allow the QMediaPlaylist loop=true case to work correctly while
    still keeping compatability with music-app and mediaplayer-app (LP:
    #1320008)
 -- Ubuntu daily release <[email protected]>   Wed, 04 Jun 2014 
20:34:27 +0000

** Changed in: qtubuntu-media (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtubuntu-media in Ubuntu.
https://bugs.launchpad.net/bugs/1320008

Title:
  QMediaPlayer never changes status to "Stopped" automatically

Status in Media Hub:
  Fix Committed
Status in QT Ubuntu Media:
  In Progress
Status in “qtubuntu-media” package in Ubuntu:
  Fix Released

Bug description:
  In telephony-service-indicator we noticed that QMediaPlayer never goes into 
Stopped mode once the stream reaches its end.
  As a workaround we are doing the following():

  if (mediaPlayer.duration() == mediaPlayer.position()) {
      mediaPlayer.stop();
  }

  if (mediaPlayer.state() == QMediaPlayer::StoppedState) {
  ....
  }

  Not sure if related, but we noticed that calling stop() in a
  QMediaPlayer that is already stopped and that uses a playlist causes
  it to start playing again. As a workaround we are clearing the
  playlist before calling stop().

  These two bugs started to happen at the same time last week.
  For now we added those workarounds to telephony-service here: 
https://code.launchpad.net/~tiagosh/telephony-service/fix-indicator-bugs/+merge/219607

To manage notifications about this bug go to:
https://bugs.launchpad.net/media-hub/+bug/1320008/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-sdk-bugs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-sdk-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to