Skip to content
Snippets Groups Projects
Commit 3e0cc194 authored by Romain Vimont's avatar Romain Vimont Committed by Thomas Guillem
Browse files

media source: introduce media source/tree API


Add an API to manage "services discovery" easily from UI clients.

A "media source provider" allows to retrieve media sources (each
associated to a services discovery module).

A media source holds a media tree, containing both the media detected by
the services discovery module and the media detected by preparsing.
Clients may listen to the tree to be notified of changes.

A client may retrieve a media source at any time and listen to its
media tree, even if it is already populated, without race condition.

Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent 9bdfb351
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment