summaryrefslogtreecommitdiffstats
path: root/plugins/media
AgeCommit message (Collapse)AuthorFilesLines
2016-01-26Finalize Media Plugin upload API with full transfer logicManuel Bachmann1-23/+20
We now really transfer the file to the Media Server (Rygel e.g.) when the initial POST upload function has succeeded. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-26Fix getPostFile() upload function, return bare JSON in listManuel Bachmann3-9/+19
getPostFile() does not fail anymore when creating a new folder (return value was incorrect). Media Plugin list API now directly returns JSON, with track list array indexed as "list". Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-25Media Plugin list API now returns a JSON objectManuel Bachmann1-5/+19
We now return a JSON object instead of an arbitrary string with the "list" API. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-25Fix Media Plugin refresh, add seek APIManuel Bachmann3-15/+62
We no longer fail if init() is called multiple times (typical refresh case). We now support a "seek?value=<seconds>" API. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-22Implement Media Plugin upload API, update README.mdManuel Bachmann3-25/+212
Media Plugin now supports a "upload?value=<file>" API. Add Media Plugin requirements to README.md. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-21Add choose, play, pause, stop to Media PluginManuel Bachmann4-20/+420
We can now play/pause/stop a track after having chosen its index number (default is 0). Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-20Fix Media Plugin content list APIManuel Bachmann4-8/+36
Listing content had various pointer-related issues. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-11Add Media PluginManuel Bachmann5-0/+354
Add a Media Plugin, based off Rygel (UPnP), with only an initialization and a "list" function for now. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>