#elem-brief: picture interface management #elem-version: 1.0 #elem-type:PICTURE #elem-author:Heero Yui not prefictible) string mediaAdd(obj:zeus-File) #brief:Remove a media in the service (no trash) #param:mediaName:Name of the media void mediaRemove(string) // ----------------- meta-data Access ----------------------- /* #brief:Get all meta-data of a media #param:mediaName:Name of the media #return:a json description of the metadata json mediaMetadataGet(string) */ #brief:Get all meta-data keys of a media #param:mediaName:Name of the media #return:List of all availlable keys vector:string mediaMetadataGetKeys(string) #brief:Get a meta-data value of a key #param:mediaName:Name of the media #param:key:Key of the meta-data #return:data in the key string mediaMetadataGetKey(string, string) #brief:Set a meta-data value of a key #param:name:Name of the media #param:key:Key of the meta-data #param:value:data in the key void mediaMetadataSetKey(string, string, string) /* #brief:Set all meta-data of a media #param:name:Name of the media #param:description: a json description of the metadata void mediaMetadataGet(string, json) */ // ----------------- Album Access ----------------------- #brief: Create an album #param:albumName:Name of the Album #return:Id of the album uint32 albumCreate(string) #brief: Remove an album #param:albumId:Id of the Album void albumRemove(uint32) #brief:Get list of Id of all albums #return:List of all Id of the albums vector:uint32 albumGetList() #brief:Get the name of the album #param:albumId:Id of the Album #return:Name of the Album string albumNameGet(uint32) #brief:Set the name of the album #param:albumId:Id of the Album #param:albumName:Name of the Album void albumNameSet(uint32, string) #brief:Get the description of the album #param:albumId:Id of the Album #return:Description of the Album string albumDescriptionGet(uint32) #brief:Set the description of the album #param:albumId:Id of the Album #param:desc:Description of the Album void albumDescriptionSet(uint32, string) #brief:Add a media in an album #param:albumId:Id of the Album #param:mediaName:Name of the media to add void albumMediaAdd(uint32, string) #brief:Remove a media in an album #param:albumId:Id of the Album #param:mediaName:Name of the media to remove void albumMediaRemove(uint32, string) #brief:Get number of media in an album #param:albumId:Id of the Album #return:Number of medias uint32 albumMediaCount(uint32) #brief:Get list of name of the media in a specific range (<1024) #param:albumId:Id of the Album #param:start:First Id of the media stream requested (range [0..+inf[) #param:stop:Last Id of the media stream requested (excluded) (range [0..+inf[) #return:List of the media names vector:string albumMediaGetName(uint32, uint32,uint32) #brief:Set the parrent album at a specific album #param:albumId:Id of the Album #param:albumParentId:Id of the parent Album void albumParentSet(uint32, uint32) #brief:Remove the parrent album at a specific album #param:albumId:Id of the Album void albumParentRemove(uint32) #brief:Get the parrent album at a specific album #param:albumId:Id of the Album uint32 albumParentGet(uint32) // ----------------- Album Right Access ----------------------- // ----------------- Media Right Access -----------------------