Constants

Details

TotemPlParser.PARSER_CONTENT_RATING_CLEAN = 'clean'
TotemPlParser.PARSER_CONTENT_RATING_EXPLICIT = 'explicit'
TotemPlParser.PARSER_CONTENT_RATING_UNRATED = 'unrated'
TotemPlParser.PARSER_FIELD_ABSTRACT = 'abstract'

Metadata field for an entry’s abstract text.

TotemPlParser.PARSER_FIELD_ALBUM = 'album'

Metadata field for an entry’s album.

TotemPlParser.PARSER_FIELD_AUDIO_TRACK = 'audio-track'

Metadata field for an entry’s default audio-track selection. The default track is defined as None. Note that the value is sent as a string.

TotemPlParser.PARSER_FIELD_AUTHOR = 'author'

Metadata field for an entry’s author/composer/director.

TotemPlParser.PARSER_FIELD_AUTOPLAY = 'autoplay'

Metadata field for an entry’s “autoplay” flag, which is True if the entry should play automatically.

TotemPlParser.PARSER_FIELD_BASE = 'base'

Metadata field for an entry’s base path.

TotemPlParser.PARSER_FIELD_CONTACT = 'contact'

Metadata field for an entry’s contact details for the webmaster.

TotemPlParser.PARSER_FIELD_CONTENT_RATING = 'content-rating'

Metadata field for an entry’s content rating. It is TotemPlParser.PARSER_CONTENT_RATING_CLEAN for clean content, TotemPlParser.PARSER_CONTENT_RATING_EXPLICIT for explicit content and TotemPlParser.PARSER_CONTENT_RATING_UNRATED for content which is not rated.

TotemPlParser.PARSER_FIELD_CONTENT_TYPE = 'content-type'

Metadata field for an entry’s content-type (usually a mime-type coming from a web server).

Metadata field for an entry’s copyright line.

TotemPlParser.PARSER_FIELD_DESCRIPTION = 'description'

Metadata field for an entry’s description.

TotemPlParser.PARSER_FIELD_DOWNLOAD_URI = 'download-url'

Metadata field for an entry’s download URI. Only used if an alternate download location is available for the entry.

New in version 2.26.

TotemPlParser.PARSER_FIELD_DURATION = 'duration'

Metadata field for an entry’s playback duration, which should be parsed using TotemPlParser.Parser.parse_duration().

TotemPlParser.PARSER_FIELD_DURATION_MS = 'duration-ms'

Metadata field for an entry’s playback duration, in milliseconds. It’s only used when an entry’s duration is available in that format, so one would get either the TotemPlParser.PARSER_FIELD_DURATION or TotemPlParser.PARSER_FIELD_DURATION_MS as metadata.

TotemPlParser.PARSER_FIELD_ENDTIME = 'endtime'

Metadata field for an entry’s playback end time.

TotemPlParser.PARSER_FIELD_FILESIZE = 'filesize'

Metadata field for an entry’s filesize in bytes. This is only advisory, and can sometimes not match the actual filesize of the stream.

TotemPlParser.PARSER_FIELD_GENRE = 'genre'

Metadata field for an entry’s genre.

TotemPlParser.PARSER_FIELD_ID = 'id'

Metadata field for an entry’s identifier. Its use is dependent on the format of the playlist parsed, and its origin.

TotemPlParser.PARSER_FIELD_IMAGE_URI = 'image-url'

Metadata field for an entry’s thumbnail image URI.

New in version 2.26.

TotemPlParser.PARSER_FIELD_IS_PLAYLIST = 'is-playlist'

Metadata field used to tell the calling code that the parsing of a playlist started. It is only True for the metadata passed to TotemPlParser.Parser ::playlist-started or TotemPlParser.Parser ::playlist-ended signal handlers.

TotemPlParser.PARSER_FIELD_LANGUAGE = 'language'

Metadata field for an entry’s audio language.

TotemPlParser.PARSER_FIELD_MOREINFO = 'moreinfo'

Metadata field for an entry’s “more info” URI.

TotemPlParser.PARSER_FIELD_PLAYING = 'playing'

Metadata field for an entry’s status in a playlist. This is usually used when saving the state of an on-going playlist.

TotemPlParser.PARSER_FIELD_PUB_DATE = 'publication-date'

Metadata field for an entry’s publication date, which should be parsed using TotemPlParser.Parser.parse_date().

TotemPlParser.PARSER_FIELD_SCREENSIZE = 'screensize'

Metadata field for an entry’s preferred screen size.

TotemPlParser.PARSER_FIELD_STARTTIME = 'starttime'

Metadata field for an entry’s playback start time, which should be parsed using TotemPlParser.Parser.parse_duration().

TotemPlParser.PARSER_FIELD_SUBTITLE_URI = 'subtitle-uri'

The URI of the entry’s subtitle file.

TotemPlParser.PARSER_FIELD_TITLE = 'title'

Metadata field for an entry’s displayable title.

TotemPlParser.PARSER_FIELD_UI_MODE = 'ui-mode'

Metadata field for an entry’s preferred UI mode.

TotemPlParser.PARSER_FIELD_URI = 'url'

Metadata field for an entry’s URI.

New in version 2.26.

TotemPlParser.PARSER_FIELD_VOLUME = 'volume'

Metadata field for an entry’s playback volume.

TotemPlParser.PARSER_VERSION_MAJOR = 3
TotemPlParser.PARSER_VERSION_MICRO = 6
TotemPlParser.PARSER_VERSION_MINOR = 26