Rygel.MediaContainer.updated – librygel-server Reference Manual

# updated

## Description:

public void updated (MediaObject? object = null, ObjectEventType event_type = MODIFIED, `bool` sub_tree_update = false)

This method should be called each time this container is updated.

For instance, this should be called if there are metadata changes for this container, if items under it are removed or added, if there are metadata changes to items under it, etc.

If sub_tree_update is true then the caller should later emit the sub_tree_updates_finished signal on the root container of the sub-tree that was updated.

It will eventually result in the server emitting a UPnP LastChange event, though that may be for a batch of these calls.

See the #RygelMediaContainer::container_updated signal.

## Parameters:

object | The object that has changed, or null to mean the container itself.
event_type | This describes what actually happened to the object.
sub_tree_update | Whether the modification is part of a sub-tree update.