Rygel.WritableContainer.add_item – librygel-server – Vala Binding Reference

Rygel.WritableContainer.add_item – librygel-server Reference Manual

# add_item

## Description:

public abstract async void add_item (MediaItem item, `Cancellable`? cancellable) throws `Error`

Add a new item directly under this container.

This doesn't imply creation of file(s) pointed to by item's URI(s), that is handled for you.

## Parameters:

item | The item to add to this container
cancellable | optional cancellable for this operation

## Returns:

nothing.