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

Romain Vimont git at videolan.org
Thu Nov 15 17:29:07 CET 2018


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Oct 15 16:30:17 2018 +0200| [7c82c7bf08ac11cbe81e96d309e54a2a559f19a8] | 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=7c82c7bf08ac11cbe81e96d309e54a2a559f19a8
---

 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=7c82c7bf08ac11cbe81e96d309e54a2a559f19a8


More information about the vlc-commits mailing list