[vlc-devel] [RFC PATCH 0/8] Samba navigation via libvlc
Thomas Guillem
thomas at gllm.fr
Thu Nov 27 12:00:10 CET 2014
These commits add samba navigation via libvlc (and navigation via other
services_discovery).
I added the libvlc_media_discoverer_navigate function, that tell the
services_discovery to search for media in a new uri.
It's fully asynchronous, all new items will be given by libvlc_event_manager_t.
These commits are not ready to be merged, I'll do more test via android and
maybe change some stuffs.
Thomas Guillem (8):
services_discovery: add SD_CMD_NAVIGATE
libvlc: add libvlc_media_discoverer_navigate
dsm: refactorize
dsm: only one function to browse share and directory
dsm: don't export too common functions
dsm: add "smb://" if not present
dsm/sd: discover in a separate thread
dsm/sd: thread stay alive and handle commands
include/vlc/libvlc_media_discoverer.h | 10 +
include/vlc_services_discovery.h | 3 +-
lib/media_discoverer.c | 28 ++
modules/access/Makefile.am | 2 +-
modules/access/dsm/access.c | 339 ++++-------------------
modules/access/dsm/browser.c | 191 -------------
modules/access/dsm/common.c | 501 ++++++++++++++++++++++++++++++++++
modules/access/dsm/common.h | 32 ++-
modules/access/dsm/sd.c | 198 +++++++++++---
9 files changed, 791 insertions(+), 513 deletions(-)
delete mode 100644 modules/access/dsm/browser.c
create mode 100644 modules/access/dsm/common.c
--
2.1.3
More information about the vlc-devel
mailing list