set_song_property

@accepts(utf8, utf8, GObject.Value)
@returns(gboolean)
def set_song_property(uri, propname, value)

Attempts to set a property of a database entry identified by its URI. If the URI identifies a file and the property is one associated with a file metadata tag, the new value will be written to the file.

uri :

the URI to modify

propname :

the name of the property to modify

value :

the new value to set

Returns :

True if the property was set successfully.