Dmap.AvRecord¶
- Implementations:
None
Methods¶
class |
|
|
Virtual Methods¶
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Song data bitrate in Kb/s |
||
r/w |
Song disc number |
||
r/w |
Song duration in seconds |
||
r/w |
Song data size in bytes |
||
r/w |
FIXME |
||
r/w |
Song data format |
||
r/w |
Song has video component |
||
r/w |
Hash of media file contents |
||
r/w |
URI pointing to song data |
||
r/w |
Media kind |
||
r/w |
Song modification time |
||
r/w |
Song rating |
||
r/w |
Album name |
||
r/w |
Album id |
||
r/w |
Song artist |
||
r/w |
Song genre |
||
r/w |
Album sort name |
||
r/w |
Song artist sort name |
||
r/w |
Song title |
||
r/w |
Song track number |
||
r/w |
Song publication year |
Signals¶
None
Fields¶
None
Class Details¶
- class Dmap.AvRecord¶
- Bases:
- Structure:
- classmethod cmp_by_album(a, b, db)¶
- Parameters:
- Return type:
Compares the two records associated with the provided keys according to album. Suitable to sort lists of albums.
- read()¶
- Raises:
- Returns:
A
Gio.InputStream
that provides read-only access to the data stream associated with record.- Return type:
- do_itunes_compat() virtual¶
- do_read() virtual¶
- Returns:
A
Gio.InputStream
that provides read-only access to the data stream associated with record.- Return type:
Property Details¶
- Dmap.AvRecord.props.bitrate¶
-
Song data bitrate in Kb/s
- Dmap.AvRecord.props.disc¶
-
Song disc number
- Dmap.AvRecord.props.duration¶
-
Song duration in seconds
- Dmap.AvRecord.props.filesize¶
-
Song data size in bytes
- Dmap.AvRecord.props.firstseen¶
-
FIXME
- Dmap.AvRecord.props.format¶
-
Song data format
- Dmap.AvRecord.props.has_video¶
-
Song has video component
- Dmap.AvRecord.props.hash¶
- Name:
hash
- Type:
- Default Value:
- Flags:
Hash of media file contents
- Dmap.AvRecord.props.location¶
-
URI pointing to song data
- Dmap.AvRecord.props.mediakind¶
- Name:
mediakind
- Type:
- Default Value:
- Flags:
Media kind
- Dmap.AvRecord.props.mtime¶
-
Song modification time
- Dmap.AvRecord.props.rating¶
-
Song rating
- Dmap.AvRecord.props.songalbum¶
-
Album name
- Dmap.AvRecord.props.songalbumid¶
-
Album id
- Dmap.AvRecord.props.songartist¶
-
Song artist
- Dmap.AvRecord.props.songgenre¶
-
Song genre
- Dmap.AvRecord.props.sort_album¶
-
Album sort name
- Dmap.AvRecord.props.sort_artist¶
-
Song artist sort name
- Dmap.AvRecord.props.title¶
-
Song title
- Dmap.AvRecord.props.track¶
-
Song track number