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

Bug #1483806 reported by Albert Astals Cid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Undecided
Unassigned
qtmultimedia-opensource-src (Ubuntu)
Fix Released
Critical
Jim Hodapp

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.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Confirmed this and am working on a fix for it so that I can land background playlist support in vivid.

Changed in qtmultimedia-opensource-src (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Jim Hodapp (jhodapp)
status: Triaged → In Progress
Jim Hodapp (jhodapp)
Changed in qtmultimedia-opensource-src (Ubuntu):
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: New → Fix Committed
milestone: none → ww46-2015
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Changed in qtmultimedia-opensource-src (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.