[vlc-devel] [PATCH 0/4] Add multi-playlist support

Romain Vimont rom1v at videolabs.io
Thu Aug 20 17:44:19 CEST 2020


Currently, VLC has exactly one playlist (with its player).

This patchset adds a playlist repo to manage other playlists (each one with
its own player), identified by a string.

The immediate goal is to make VLM use these (playlist,player) couples. It
would also make it possible to view/edit these playlists (managed by VLM or
not) from the UI.

For convenience, the main playlist is also exposed directly (without
interacting with the repo instance).

Romain Vimont (4):
  playlist: add refcount
  playlist: introduce playlist repository
  playlist: add multi-playlist support
  playlist: add unit tests for playlist repo

 include/vlc_interface.h   |   5 +-
 include/vlc_playlist.h    | 147 +++++++++++++++++++-
 src/Makefile.am           |   2 +
 src/interface/interface.c |  67 +---------
 src/libvlc.c              |  11 +-
 src/libvlc.h              |   4 +-
 src/libvlccore.sym        |  13 +-
 src/playlist/playlist.c   |  23 +++-
 src/playlist/playlist.h   |   5 +
 src/playlist/repo.c       | 272 ++++++++++++++++++++++++++++++++++++++
 src/playlist/repo.h       |  34 +++++
 src/playlist/test.c       |  62 ++++-----
 test/Makefile.am          |   3 +
 test/src/playlist/repo.c  | 113 ++++++++++++++++
 14 files changed, 654 insertions(+), 107 deletions(-)
 create mode 100644 src/playlist/repo.c
 create mode 100644 src/playlist/repo.h
 create mode 100644 test/src/playlist/repo.c

-- 
2.28.0



More information about the vlc-devel mailing list