Play list order

This forum is about all development around libVLC.
gam2046
New Cone
New Cone
Posts: 6
Joined: 17 Dec 2015 05:32

Play list order

Postby gam2046 » 05 Jan 2016 09:12

Hello:

LibVlc Version : 2.2.1 Terry Pratchett (Weatherwax)

I add 3 items to playlist with libvlc_media_list_add_media, eg:
1.mp4
2.mp4
3.mp4

Then I Stop the playlist with libvlc_media_list_player_stop and libvlc_media_new_location to play a new media(eg. insert.mp4). finally, I Called libvlc_media_list_player_play_item_at_index to return playlist.(eg. return the 2.mp4)

The result is that the player play the insert.mp4 instead of 3.mp4 when the 2.mp4 is finished. That's why?

I use libvlc_media_list_count / libvlc_media_list_item_at_index to traverse the playlist, but insert.mp4 is not in the play list.

Thanks!

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 38 guests