Parlatype.MediaInfo¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted when the player has updated the metadata of the current stream. |
Fields¶
- Inherited:
Class Details¶
- class Parlatype.MediaInfo(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- dump_caps()¶
-
Returns a string with all available GstCaps in the current track, even those without a getter method in
Parlatype.MediaInfo. This is meant for debug purposes.New in version 4.3.
- dump_tags()¶
-
Returns a string with all available GstTags in the current track, even those without a getter method in
Parlatype.MediaInfo. This is meant for debug purposes.New in version 4.3.
- get_album()¶
-
Gets the album’s name.
New in version 4.3.
- get_artist()¶
-
Gets the track’s artists.
New in version 4.3.
Signal Details¶
- Parlatype.MediaInfo.signals.media_info_changed(media_info)¶
- Signal Name:
media-info-changed- Flags:
- Parameters:
media_info (
Parlatype.MediaInfo) – The object which received the signal
Emitted when the player has updated the metadata of the current stream. This will typically happen just after opening a stream.
Call pt_media_info_get_<artist|title|etc.>() to query the updated metadata.