If you are looking to integrate LibMediaProvider into your own project, the library provides several straightforward Lua functions available on GitHub :
The library successfully decouples application logic from storage specifics. Switching from a localfs provider to a media-scanner (SQLite-backed) or smb remote provider requires changing exactly one line of URI scheme. The MediaProviderInterface is clean and minimal (only 5 primary methods). libmediaprovider-1.0