GUPnPDLNA.Profile

g GObject.Object GObject.Object GUPnPDLNA.Profile GUPnPDLNA.Profile GObject.Object->GUPnPDLNA.Profile

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_audio_restrictions ()

get_container_restrictions ()

get_extended ()

get_image_restrictions ()

get_mime ()

get_name ()

get_video_restrictions ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

audio-restrictions

int

r/w/co

Audio restrictions for the DLNA Profile

container-restrictions

int

r/w/co

Container restrictions for the DLNA Profile

extended

bool

r/w/co

Indicates that this profile is not part of the DLNA specification

image-restrictions

int

r/w/co

Image restrictions for the DLNA Profile

mime

str

r/w/co

The MIME type of the DLNA profile

name

str

r/w/co

The name of the DLNA profile

video-restrictions

int

r/w/co

Video restrictions for the DLNA Profile

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class GUPnPDLNA.Profile(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

GUPnPDLNA.ProfileClass

The top-level object used for the in-memory representation of the DLNA Profiles.

get_audio_restrictions()
Returns:

Audio restrictions. Do not modify.

Return type:

[GUPnPDLNA.Restriction]

Gets a list of audio restrictions.

get_container_restrictions()
Returns:

Container restrictions. Do not modify.

Return type:

[GUPnPDLNA.Restriction]

Gets a list of container restrictions.

get_extended()
Returns:

True if self is extended one and False otherwise.

Return type:

bool

get_image_restrictions()
Returns:

Image restrictions. Do not modify.

Return type:

[GUPnPDLNA.Restriction]

Gets a list of image restrictions.

get_mime()
Returns:

The DLNA MIME type of the DLNA profile represented by self.

Return type:

str

get_name()
Returns:

The name of the DLNA profile represented by self.

Return type:

str

get_video_restrictions()
Returns:

Video restrictions. Do not modify.

Return type:

[GUPnPDLNA.Restriction]

Gets a list of video restrictions.

Property Details

GUPnPDLNA.Profile.props.audio_restrictions
Name:

audio-restrictions

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Audio restrictions for the DLNA Profile

GUPnPDLNA.Profile.props.container_restrictions
Name:

container-restrictions

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Container restrictions for the DLNA Profile

GUPnPDLNA.Profile.props.extended
Name:

extended

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether the DLNA profile is not a part of DLNA specification.

GUPnPDLNA.Profile.props.image_restrictions
Name:

image-restrictions

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Image restrictions for the DLNA Profile

GUPnPDLNA.Profile.props.mime
Name:

mime

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

MIME type of the DLNA profile.

GUPnPDLNA.Profile.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Name of the DLNA profile.

GUPnPDLNA.Profile.props.video_restrictions
Name:

video-restrictions

Type:

int

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Video restrictions for the DLNA Profile