Enums

Details

class MPID.Error(value)

Bases: GLib.Enum

OK = 0

Indicates no error has occurred

NO_SUCH_DEVICE = 1

Unable to find the device path

DEVICE_DB_FAILED = 2

The device detection mechanism (e.g. udev) failed

NOT_MEDIA_PLAYER = 3

The device is not a media player

DEVICE_INFO_MISSING = 4

The device detection mechanism identified the device but was unable to locate its device information

class MPID.Source(value)

Bases: GLib.Enum

NONE = 0

No device information is available

SYSTEM = 1

Device information provided by the operating system (e.g. udev)

OVERRIDE = 2

Device information provided by an override file on the device itself.

class MPID.SourceType(value)

Bases: GLib.Enum

NO_DEVICE_INFO = 0
SYSTEM_DEVICE_INFO = 1
OVERRIDE_DEVICE_INFO = 2