[vlc-devel] [RFC PATCH 0/8] Integrate new medialibrary

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Jun 25 10:09:58 CEST 2018


Hi,

This patchset is an early RFC for the integration of our new
medialibrary.
That ML has already been used on android for the 3.0 release (and the
previous beta)
This draft sure misses a lot of things, but it should roughly describe
how it will be used once fully integrated.

Feedback is welcomed!

Hugo Beauzée-Luyssen (8):
  contrib: Update & reactivate sqlite
  contribs: Add medialibrary
  modules: Remove references to the old media library
  core: Remove old medialibrary
  core: Expose input_CreatePreparser
  Add a new media library core API
  TMP: Instantiate media library from playlist
  Add a new medialibrary module

 configure.ac                                  |   1 +
 contrib/src/medialibrary/rules.mak            |  33 +
 contrib/src/sqlite/SHA512SUMS                 |   2 +-
 contrib/src/sqlite/rules.mak                  |  12 +-
 include/vlc_input.h                           |  14 +
 include/vlc_media_library.h                   | 730 +++++++++++++++--
 include/vlc_playlist.h                        |  16 +-
 modules/control/oldrc.c                       |   4 +-
 modules/control/win_msg.c                     |   3 +-
 .../VLCConvertAndSaveWindowController.m       |   2 +-
 modules/gui/macosx/VLCMainMenu.m              |   6 +-
 modules/gui/macosx/VLCMainWindow.m            |   6 +-
 modules/gui/ncurses.c                         |   2 +-
 .../gui/qt/components/playlist/playlist.cpp   |   6 +-
 .../qt/components/playlist/playlist_model.cpp |   8 +-
 .../qt/components/playlist/playlist_model.hpp |   1 -
 .../gui/qt/components/playlist/selector.cpp   |  17 +-
 .../gui/qt/components/playlist/selector.hpp   |   1 -
 modules/gui/qt/components/playlist/sorting.h  |  22 -
 .../qt/components/playlist/standardpanel.cpp  |   2 +-
 modules/gui/qt/dialogs/open.cpp               |  11 +-
 modules/gui/qt/dialogs/open.hpp               |   5 +-
 modules/gui/qt/dialogs_provider.cpp           |  35 +-
 modules/gui/qt/dialogs_provider.hpp           |   2 -
 modules/gui/qt/main_interface.cpp             |   7 +-
 modules/gui/qt/main_interface.hpp             |   3 +-
 modules/gui/qt/recents.cpp                    |  11 +-
 modules/gui/qt/recents.hpp                    |   4 +-
 modules/gui/skins2/commands/cmd_playlist.cpp  |   2 +-
 modules/gui/skins2/vars/playtree.cpp          |   6 -
 modules/lua/libs/playlist.c                   |   5 +-
 modules/misc/Makefile.am                      |   8 +
 .../misc/medialibrary/MetadataExtractor.cpp   | 219 +++++
 modules/misc/medialibrary/entities.cpp        | 339 ++++++++
 modules/misc/medialibrary/medialib.cpp        | 758 ++++++++++++++++++
 modules/misc/medialibrary/medialibrary.h      | 267 ++++++
 src/Makefile.am                               |   3 +-
 src/input/input_interface.h                   |  13 -
 src/libvlccore.sym                            |  16 +
 src/misc/medialibrary.c                       | 214 +++++
 src/playlist/engine.c                         |  32 +-
 src/playlist/item.c                           |  13 +-
 src/playlist/loadsave.c                       | 119 +--
 src/playlist/playlist_internal.h              |   4 -
 44 files changed, 2594 insertions(+), 390 deletions(-)
 create mode 100644 contrib/src/medialibrary/rules.mak
 create mode 100644 modules/misc/medialibrary/MetadataExtractor.cpp
 create mode 100644 modules/misc/medialibrary/entities.cpp
 create mode 100644 modules/misc/medialibrary/medialib.cpp
 create mode 100644 modules/misc/medialibrary/medialibrary.h
 create mode 100644 src/misc/medialibrary.c

-- 
2.18.0



More information about the vlc-devel mailing list