[vlc-commits] core: playlist: new playlist API

Romain Vimont git at videolan.org
Thu Nov 15 16:23:34 CET 2018


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Oct 15 16:30:17 2018 +0200| [e5de50638cd7f34179c15af01d33ac594adc7a0d] | committer: Thomas Guillem

core: playlist: new playlist API

Add a new playlist API.

A playlist contains a simple list of items, and owns a player.

Callbacks are exposed so that clients (UI) are notified when items are
updated, insert, moved or removed. The playlist is responsible for the
playback order and repeat mode, and manages a cursor to the "current"
item.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e5de50638cd7f34179c15af01d33ac594adc7a0d
---

 include/vlc_playlist.h  |  701 ++++++++++++++++++++++++++
 src/Makefile.am         |   27 +-
 src/libvlccore.sym      |   33 ++
 src/playlist/content.c  |  271 ++++++++++
 src/playlist/content.h  |   35 ++
 src/playlist/control.c  |  368 ++++++++++++++
 src/playlist/control.h  |   40 ++
 src/playlist/item.c     |   63 +++
 src/playlist/item.h     |   38 ++
 src/playlist/notify.c   |  112 ++++
 src/playlist/notify.h   |   70 +++
 src/playlist/player.c   |  185 +++++++
 src/playlist/player.h   |   34 ++
 src/playlist/playlist.c |   78 +++
 src/playlist/playlist.h |   70 +++
 src/playlist/preparse.c |  109 ++++
 src/playlist/preparse.h |   37 ++
 src/playlist/test.c     | 1289 +++++++++++++++++++++++++++++++++++++++++++++++
 18 files changed, 3559 insertions(+), 1 deletion(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=e5de50638cd7f34179c15af01d33ac594adc7a0d


More information about the vlc-commits mailing list