can we load different playlist on run time?

Hi,

Is it possible to load a different playlist on run-time For example, currently the system loads and plays playlist VPLST010.XPL. Then let say there's a 3 buttons in the main menu. And can we program so when user click button1, it will load and use playlist000, or clicking button2 will play playlist001 and so on

Thanks & I hope you understand what i'm trying to say.
-k



Answer this question

can we load different playlist on run time?

  • Marcello2

    Probably the more likely reason for a new playlist is that you have downloaded content from the network that you want to play. Downloaded playlists can also refer to content on the disc, so you could have (eg) a bunch of bonus material on the disc, but not have it referenced in the playlist. Then if the user connects to the website and downloads a new playlist, they can "unlock" the hidden content on the disc (this saves you the bandwidth of actually downloading the new content -- it was already on the disc).

    If you wanted to change any playlist-wide settings (like framerate, streaming buffer size, aperture, etc.) you could swicth playlists too. So if you have some 720 50fps video and some 1080 60fps video, you might put them in different playlists and switch between them. Also, you might have some parts of your application that do no networking and need all 64MB of the filecache, so you set streaming buffer to be zero. But then you have another application that needs to stream some data (but doesn't need all the filecache), so you rebooty into the network playlist for the network application.



  • James_Steven

    'kay....will try this trick. Thank you.


  • Alex_UTL

    Can you give a example where we can load playlist(from a network server) at run time
  • Victor Leung

    The examples won't work on the current simulator, which doesn't support networking. Basically you first need to download the playlist (and supporting AACS-related files and any new assets) to the persistent storage area, then you make the call above. I should be posting some networking samples once you can actually use them on an updated version of ihdsim.

    You can jump to playlists from the disc, from memory, or from persistent storage (you can't directly jump to the network, but you can download and then jump).



  • DeanoCalver

    Thanks peter. I'm clear with your explanations. Can u give a scenario where we need a new playlist to be used at run time
  • Bhudev

    Absolutely; this is how networking scenarios (amongst others) will most likely be coded.

    Player.playlist.load(uri_to_playlist)

    will do the trick.



  • can we load different playlist on run time?