Enums

Details

class RB.DisplayPageGroupCategory(value)

Bases: GLib.Enum

FIXED = 0
REMOVABLE = 1
PERSISTENT = 2
TRANSIENT = 3
TOOLS = 4
LAST = 5
class RB.DisplayPageGroupType(value)

Bases: GObject.GEnum

Predefined categories of page group. The order they’re defined here is the order they appear in the page tree.

FIXED = 0

Fixed single instance sources (e.g., library)

REMOVABLE = 1

Sources representing removable devices

PERSISTENT = 2

Persistent multiple-instance sources (e.g. playlists)

TRANSIENT = 3

Transient sources (e.g. network shares)

TOOLS = 4

Utility (ie non-source) pages

class RB.DisplayPageModelColumn(value)

Bases: GObject.GEnum

Columns present in the display page model.

PLAYING = 0

True if the page is the playing source

PAGE = 1

the RB.DisplayPage object

class RB.EncoderError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
FORMAT_UNSUPPORTED = 0
INTERNAL_ERROR = 1
FILE_ACCESS_ERROR = 2
OUT_OF_SPACE = 3
DESTINATION_READ_ONLY = 4
DESTINATION_EXISTS = 5
class RB.EntryViewColumn(value)

Bases: GObject.GEnum

Predefined column types to use in RB.EntryView s. Use RB.EntryView.append_column to add these to an entry view. The predefined column names map directly to the RB.RhythmDBEntry properties the columns display.

TRACK_NUMBER = 0

the track number column

TITLE = 1

the title column

YEAR = 10

the year (release date) column

LAST_PLAYED = 11

the last played time column

FIRST_SEEN = 12

the first seen (imported) column

LAST_SEEN = 13

the last seen column

LOCATION = 14

the location column

BPM = 15

the BPM column

ERROR = 16

the error column

COMPOSER = 17

the composer column

ARTIST = 2

the artist column

ALBUM = 3

the album column

GENRE = 4

the genre column

COMMENT = 5

the comment column

DURATION = 6

the duration column

QUALITY = 7

the quality (bitrate) column

RATING = 8

the rating column

PLAY_COUNT = 9

the play count column

class RB.EntryViewState(value)

Bases: GObject.GEnum

NOT_PLAYING = 0
PLAYING = 1
PAUSED = 2
class RB.ExtDBSourceType(value)

Bases: GObject.GEnum

NONE = 0
SEARCH = 1
EMBEDDED = 2
USER = 3
USER_EXPLICIT = 4
class RB.GstMediaType(value)

Bases: GLib.Enum

NONE = 0
CONTAINER = 1
AUDIO = 2
VIDEO = 3
OTHER = 4
class RB.MetaDataError(value)

Bases: GLib.Enum

IO = 0
MISSING_PLUGIN = 1
UNRECOGNIZED = 2
UNSUPPORTED = 3
GENERAL = 4
INTERNAL = 5
EMPTY_FILE = 6
class RB.MetaDataField(value)

Bases: GLib.Enum

TITLE = 0
ARTIST = 1
DESCRIPTION = 10
VERSION = 11
ISRC = 12
ORGANIZATION = 13
COPYRIGHT = 14
CONTACT = 15
LICENSE = 16
PERFORMER = 17
DURATION = 18
CODEC = 19
ALBUM = 2
BITRATE = 20
TRACK_GAIN = 21
TRACK_PEAK = 22
ALBUM_GAIN = 23
ALBUM_PEAK = 24
LANGUAGE_CODE = 25
BPM = 26
MUSICBRAINZ_TRACKID = 27
MUSICBRAINZ_ARTISTID = 28
MUSICBRAINZ_ALBUMID = 29
DATE = 3
MUSICBRAINZ_ALBUMARTISTID = 30
ARTIST_SORTNAME = 31
ALBUM_SORTNAME = 32
ALBUM_ARTIST = 33
ALBUM_ARTIST_SORTNAME = 34
COMPOSER = 35
COMPOSER_SORTNAME = 36
LAST = 37
GENRE = 4
COMMENT = 5
TRACK_NUMBER = 6
MAX_TRACK_NUMBER = 7
DISC_NUMBER = 8
MAX_DISC_NUMBER = 9
class RB.MetadataErrorType(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
IO_ERROR = 0
MISSING_PLUGINS = 1
IDENTIFY_FAILED = 2
UNSUPPORTED_FILETYPE = 3
GENERAL_ERROR = 4
INTERNAL_ERROR = 5
EMPTY_FILE = 6
class RB.MetadataFieldType(value)

Bases: GObject.GEnum

TITLE = 0
ARTIST = 1
DESCRIPTION = 10
VERSION = 11
ISRC = 12
ORGANIZATION = 13
COPYRIGHT = 14
CONTACT = 15
LICENSE = 16
PERFORMER = 17
DURATION = 18
CODEC = 19
ALBUM = 2
BITRATE = 20
REPLAYGAIN_TRACK_GAIN = 21
REPLAYGAIN_TRACK_PEAK = 22
REPLAYGAIN_ALBUM_GAIN = 23
REPLAYGAIN_ALBUM_PEAK = 24
LANGUAGE_CODE = 25
BEATS_PER_MINUTE = 26
MUSICBRAINZ_TRACKID = 27
MUSICBRAINZ_ARTISTID = 28
MUSICBRAINZ_ALBUMID = 29
DATE = 3
MUSICBRAINZ_ALBUMARTISTID = 30
MUSICBRAINZ_SORTNAME = 31
ALBUM_SORTNAME = 32
ALBUM_ARTIST = 33
ALBUM_ARTIST_SORTNAME = 34
COMPOSER = 35
COMPOSER_SORTNAME = 36
GENRE = 4
COMMENT = 5
TRACK_NUMBER = 6
TRACK_COUNT = 7
ALBUM_DISC_NUMBER = 8
ALBUM_DISC_COUNT = 9
class RB.PlayerError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
NO_AUDIO = 0

Audio playback not available

GENERAL_ERROR = 1

Nonspecific error

INTERNAL_ERROR = 2

Internal error

NOT_FOUND = 3

The resource could not be found

class RB.PlayerPlayType(value)

Bases: GObject.GEnum

REPLACE = 0

Replace the existing stream

START_AFTER_EOS = 1

Start the new stream after the current stream ends

CROSSFADE = 2

Crossfade between the existing stream and the new stream

class RB.PlaylistExportType(value)

Bases: GLib.Enum

UNKNOWN = 0
M3U = 1
PLS = 2
XSPF = 3
class RB.PlaylistManagerError(value)

Bases: GLib.Enum

PARSE = 0
PLAYLIST_EXISTS = 1
PLAYLIST_NOT_FOUND = 2
class RB.PodcastParseError(value)

Bases: GLib.Enum

FILE_INFO = 0
MIME_TYPE = 1
XML_PARSE = 2
NO_ITEMS = 3
class RB.RhythmDBEntryAvailability(value)

Bases: GObject.GEnum

Various events that can result in changes to the entry’s availability.

CHECKED = 0

File was checked and found present

MOUNTED = 1

Filesystem holding the file was mounted

UNMOUNTED = 2

Filesystem holding the file was unmounted

NOT_FOUND = 3

File was checked or played and could not be found

class RB.RhythmDBEntryCategory(value)

Bases: GObject.GEnum

Categories used to group entry types. These are used in a few places to control handling of entries.

NORMAL = 0

Normal files on disk

STREAM = 1

Endless streams (eg shoutcast)

CONTAINER = 2

Containers for other entries (eg podcast feeds)

VIRTUAL = 3

Things Rhythmbox shouldn’t normally deal with

class RB.RhythmDBError(value)

Bases: GLib.Enum

RHYTHMDB_ERROR_ACCESS_FAILED = 0
class RB.RhythmDBPropType(value)

Bases: GObject.GEnum

TYPE = 0
ENTRY_ID = 1
DURATION = 10
FILE_SIZE = 11
LOCATION = 12
MOUNTPOINT = 13
MTIME = 14
FIRST_SEEN = 15
LAST_SEEN = 16
RATING = 17
PLAY_COUNT = 18
LAST_PLAYED = 19
TITLE = 2
BITRATE = 20
DATE = 21
REPLAYGAIN_TRACK_GAIN = 22
REPLAYGAIN_TRACK_PEAK = 23
REPLAYGAIN_ALBUM_GAIN = 24
REPLAYGAIN_ALBUM_PEAK = 25
MEDIA_TYPE = 26
TITLE_SORT_KEY = 27
GENRE_SORT_KEY = 28
ARTIST_SORT_KEY = 29
GENRE = 3
ALBUM_SORT_KEY = 30
TITLE_FOLDED = 31
GENRE_FOLDED = 32
ARTIST_FOLDED = 33
ALBUM_FOLDED = 34
LAST_PLAYED_STR = 35
HIDDEN = 36
PLAYBACK_ERROR = 37
FIRST_SEEN_STR = 38
LAST_SEEN_STR = 39
ARTIST = 4
SEARCH_MATCH = 40
YEAR = 41
KEYWORD = 42
STATUS = 43
DESCRIPTION = 44
SUBTITLE = 45
SUMMARY = 46
LANG = 47
COPYRIGHT = 48
IMAGE = 49
ALBUM = 5
POST_TIME = 50
MB_TRACKID = 51
MB_ARTISTID = 52
MB_ALBUMID = 53
MB_ALBUMARTISTID = 54
MB_ARTISTSORTNAME = 55
ALBUM_SORTNAME = 56
ARTIST_SORTNAME_SORT_KEY = 57
ARTIST_SORTNAME_FOLDED = 58
ALBUM_SORTNAME_SORT_KEY = 59
TRACK_NUMBER = 6
ALBUM_SORTNAME_FOLDED = 60
COMMENT = 61
ALBUM_ARTIST = 62
ALBUM_ARTIST_SORT_KEY = 63
ALBUM_ARTIST_FOLDED = 64
ALBUM_ARTIST_SORTNAME = 65
ALBUM_ARTIST_SORTNAME_SORT_KEY = 66
ALBUM_ARTIST_SORTNAME_FOLDED = 67
BEATS_PER_MINUTE = 68
COMPOSER = 69
TRACK_TOTAL = 7
COMPOSER_SORT_KEY = 70
COMPOSER_FOLDED = 71
COMPOSER_SORTNAME = 72
COMPOSER_SORTNAME_SORT_KEY = 73
COMPOSER_SORTNAME_FOLDED = 74
DISC_NUMBER = 8
DISC_TOTAL = 9
class RB.RhythmDBPropertyModelColumn(value)

Bases: GObject.GEnum

PROPERTY_TITLE = 0
VALUE_PRIORITY = 1
TRACK_COUNT = 2
class RB.RhythmDBQueryModelLimitType(value)

Bases: GObject.GEnum

NO_LIMIT = 0
LIMIT_COUNT = 1
LIMIT_SIZE = 2
LIMIT_DURATION = 3
class RB.RhythmDBQueryType(value)

Bases: GObject.GEnum

QUERY_END = 0
DISJUNCTIVE_MARKER = 1
LESS_THAN = 10
WITHIN_CURRENT_TIME = 11
NOT_WITHIN_CURRENT_TIME = 12
YEAR_EQUALS = 13
YEAR_NOT_EQUALS = 14
YEAR_GREATER_THAN = 15
YEAR_LESS_THAN = 16
SUBQUERY = 2
EQUALS = 3
NOT_EQUAL = 4
FUZZY_MATCH = 5
INVERTED_FUZZY_MATCH = 6
STARTS_WITH = 7
ENDS_WITH = 8
GREATER_THAN = 9
class RB.ShellActivationType(value)

Bases: GObject.GEnum

SELECT = 0
PLAY = 1
ALWAYS_PLAY = 2
class RB.ShellError(value)

Bases: GLib.Enum

NO_SUCH_URI = 0
NO_SUCH_PROPERTY = 1
IMMUTABLE_PROPERTY = 2
INVALID_PROPERTY_TYPE = 3
NO_SOURCE_FOR_URI = 4
class RB.ShellErrorType(value)

Bases: GObject.GEnum

classmethod quark()
Returns:shell error #GQuark
Return type:int

Returns the #GQuark used for RB.Shell errors

NO_SUCH_URI = 0
NO_SUCH_PROPERTY = 1
IMMUTABLE_PROPERTY = 2
INVALID_PROPERTY_TYPE = 3
NO_SOURCE_FOR_URI = 4
class RB.ShellPlayerError(value)

Bases: GObject.GEnum

classmethod quark()
Return type:int
PLAYLIST_PARSE_FAILED = 0
END_OF_PLAYLIST = 1
NOT_PLAYING = 2
NOT_SEEKABLE = 3
POSITION_NOT_AVAILABLE = 4
class RB.ShellPrefsUILocation(value)

Bases: GObject.GEnum

Locations available for adding new widgets to the preferences dialog.

GENERAL = 0

The “general” preferences page

PLAYBACK = 1

THe “playback” preferences page

class RB.ShellUILocation(value)

Bases: GObject.GEnum

SIDEBAR = 0
RIGHT_SIDEBAR = 1
MAIN_TOP = 2
MAIN_BOTTOM = 3
class RB.SourceEOFType(value)

Bases: GObject.GEnum

ERROR = 0
STOP = 1
RETRY = 2
NEXT = 3
class RB.SourceLoadStatus(value)

Bases: GObject.GEnum

NOT_LOADED = 0
WAITING = 1
LOADING = 2
LOADED = 3
class RB.TaskOutcome(value)

Bases: GObject.GEnum

NONE = 0
COMPLETE = 1
CANCELLED = 2