diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-26 15:32:37 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-26 15:32:37 +0100 |
commit | ae8e72788e8f2db33efea6045e5ee835266b10eb (patch) | |
tree | 7f2010696a61bed78c74b292996c1ec95b3ff249 /plugins/media/media-api.h | |
parent | f1a75365067fb89dd293aa2c8e003c3b041a3c9a (diff) |
Fix getPostFile() upload function, return bare JSON in list
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>
Diffstat (limited to 'plugins/media/media-api.h')
-rw-r--r-- | plugins/media/media-api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/media/media-api.h b/plugins/media/media-api.h index 70dcc1e6..5a3cf9f0 100644 --- a/plugins/media/media-api.h +++ b/plugins/media/media-api.h @@ -29,6 +29,6 @@ typedef struct { unsigned int index; /* currently selected media file */ } mediaCtxHandleT; -PUBLIC char* _rygel_list (mediaCtxHandleT *); +PUBLIC json_object* _rygel_list (mediaCtxHandleT *); #endif /* MEDIA_API_H */ |