← Back to team overview

touch-packages team mailing list archive

[Bug 1483806] Re: addSource to a Playlist are ignored if it's not part of a player

 

** Changed in: canonical-devices-system-image
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtmultimedia-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1483806

Title:
  addSource to a Playlist are ignored if it's not part of a player

Status in Canonical System Image:
  Fix Released
Status in qtmultimedia-opensource-src package in Ubuntu:
  Fix Committed

Bug description:
  I was doing

  audio.playlist = null;

  playlist.clear();
              // Look for newSource in newPlaylist
              for (var i in newPlaylist) {
                  playlist.addSource(newPlaylist[i]);
              }
              audio.playlist = playlist;

  And the addSource didn't do anything, i've now moved the

              audio.playlist = playlist;

  before the addSource and it works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1483806/+subscriptions


References