It's going to work that way once silo 45 with inline playback improvements lands. From now on previews will transparently use media- hub playlist, meaining all songs from the preview will be played. No change in scopes code needed
** Changed in: unity-scopes-api (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity-scopes-api in Ubuntu. https://bugs.launchpad.net/bugs/1496981 Title: Wishlist: Preview widget type queues audio tracks Status in unity-scopes-api package in Ubuntu: Invalid Bug description: If more than one audio tracks are put into VariantBuilder object, it would be nice, if audio tracks will be added into a queue and will be played automatically in any kind of order, one after the other track. E.g.: { PreviewWidget w1("tracks", "audio"); VariantBuilder builder; builder.add_tuple({ {"title", Variant("Track #1")}, {"source", Variant("file:///tmp/song1.mp3")}, {"length", Variant(194)} }); builder.add_tuple({ {"title", Variant("Track #2")}, {"source", Variant("file:///tmp/song2.mp3")}, {"length", Variant(207)} }); w1.add_attribute_value("tracks", builder.end()); ... } If song1.mp3 is clicked, song2.mp3 will be played automatically without any user's click. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1496981/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp