Sets a property of a resource identified by a URI. More...
Sets a property of a resource identified by a URI.
Path: /metatadata/seturiprop
[in] | URI | The URI of the resource. |
[in] | propname | The property name being set. Has to conform to standard upnp properties (including the xml namespace prefix). For example: upnp:rating upnp:author etc. |
[in] | propvalue | The value to set. If omitted or empty, then deletes the property from the database (geturiprop will return an empty result). |
[in] | is_recursive | (optional) Set to 1 to affect child resources. Set to 0 or omit to affect only the specified resource. Child resources are defined by the context of the get function. If geturiprop_byid function is used then the TVersity media library defines hierarchy. Otherwise, URL hierarchy is being used. |
Examples:
http://localhost:<port>/metadata/seturiprop?uri=file://c:/users/mambo/downloads/videos&propname=upnp:rating&is_recursive=1&propvalue=clean
<response status="success" message=""> <resultset> <result uri="file://c:/users/mambo/downloads/videos" propname="upnp:rating" propvalue="clean"> </resultset> </response>