summaryrefslogtreecommitdiffstats
path: root/plugins/media/media-api.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-13media: uploading - first stepJosé Bollo1-35/+114
Change-Id: I469dac8883f2c8e94fa2384612723ff29e6eae41 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-05-11Fix typo in media-apiManuel Bachmann1-1/+1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-05-11Update Radio plugin, Media pluginManuel Bachmann1-78/+110
Radio and Media plugins are now ported to the new API and build again. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-04-18changing the license to apache 2José Bollo1-10/+9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-30refactoringJosé Bollo1-1/+1
Change-Id: I8dd46cf7fa57962e20e02f0fe34b3ffaa4c94f08 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-03-17removed private api and fix some few warningsJosé Bollo1-0/+2
Change-Id: I8d4427c94ca2b88a4f1add70b065d0b6d0865286 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
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 Bachmann1-6/+16
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-25Fix Media Plugin refresh, add seek APIManuel Bachmann1-9/+29
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 Bachmann1-1/+23
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 Bachmann1-4/+74
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 Bachmann1-1/+7
Listing content had various pointer-related issues. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2016-01-11Add Media PluginManuel Bachmann1-0/+90
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>