Public bug reported:

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.

** Affects: unity-scopes-api (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/1496981

Title:
  Wishlist: Preview widget type queues audio tracks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1496981/+subscriptions

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

Reply via email to