Public bug reported:

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.

** Affects: qtmultimedia-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1483806

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+bug/1483806/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to