Media Handling

FIXME: Describe media handling here including media query and attributes.

Media.get(key, default=None)
Get value.
Media.__getitem__(key)
Get value
Media.__setitem__(key, value)
Set value
Media.eject()
Eject the media.
Media.isdir
Return False for items directly on the media without dir, like a dvd video.
beacon.list_media(available=True)
List all media objects.
beacon.delete_media(id)

Delete media with the given id.

Parameters:
  • id – Media object ID

Previous topic

Beacon Item

Next topic

Thumbnails

This Page

Quick search