Rygel.VideoItem – librygel-server – Vala Binding Reference

Rygel.VideoItem – librygel-server Reference Manual

# VideoItem

## Object Hierarchy:

## Description:

public class VideoItem : AudioItem, VisualItem

Represents a video item.

Namespace: Rygel
Package: librygel-server

## Content:

### Constants:

- public const unowned string UPNP_CLASS

### Properties:

- public string author { set; get; }
- public int width { set; get; }
  The width of the item source content (this.uri) in pixels A value of - 1 means that the width is unknown
- public int height { set; get; }
  The height of the item source content (this.uri) in pixels A value of -1 means that the height is unknown
- public int color_depth { set; get; }
  The number of bits per pixel in the source video resource (this.uri) A value of -1 means that the color depth is unknown
- public ArrayList<Thumbnail> thumbnails { protected set; get; }
  Thumbnail pictures to represent the video.
- public ArrayList<Subtitle> subtitles { protected set; get; }

### Creation methods:

- public VideoItem (string id, MediaContainer parent, string title, string upnp_class = UPNP_CLASS)

### Methods:

- public override void constructed ()
- public override void add_uri (string uri)

### Inherited Members:

All known members inherited from class Rygel.AudioItem

- UPNP_CLASS
- duration
- bitrate

- sample_freq
- bits_per_sample

- channels
- album

All known members inherited from class Rygel.MediaFileItem

- mime_type
- dlna_profile
- size
- place_holder

- ocm_flags
- create_stream_source_for_resource
- get_primary_resource
- get_extension

- ext_from_mime_type
- add_engine_resources
- address_regex
- mime_to_ext

All known members inherited from class Rygel.MediaItem

- UPNP_CLASS

- description

All known members inherited from class Rygel.MediaObject

- id
- ref_id
- upnp_class
- date
- creator
- modified
- object_update_id
- artist
- genre
- parent

- parent_ref
- title
- ocm_flags
- apply_replacements
- get_uris
- get_primary_uri
- add_uri
- constructed
- get_writable

- get_writables
- get_resource_list
- get_resource_by_name
- serialize
- serialize_resource_list
- create_stream_source_for_resource
- compare_string_props
- compare_int_props
- parent_ptr

All known members inherited from class GLib.Object

- interface_find_property
- interface_install_property
- interface_list_properties
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating

- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- is_floating
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set

- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref
- notify
- ref_count

All known members inherited from interface Rygel.VisualItem

- width
- height

- color_depth

- thumbnails