|
CoverArt Browser
v2.0
Browse your cover-art albums in Rhythmbox
|
Public Member Functions | |
| def | __init__ |
| def | album_artist_sort |
| def | album_sort |
| def | artists |
| def | track_titles |
| def | composers |
| def | year |
| def | real_year |
| def | calc_year_sort |
| def | genres |
| def | rating |
| def | rating |
| def | track_count |
| def | duration |
| def | cover |
| def | cover |
| def | get_tracks |
| def | add_track |
| def | create_ext_db_key |
| def | do_modified |
| def | __str__ |
| def | __eq__ |
| def | __ne__ |
Public Attributes | |
| name | |
| artist | |
| cover | |
An album. It's conformed from one or more tracks, and many of it's information is deduced from them. :param name: `str` name of the album. :param cover: `Cover` cover for this album.
Definition at line 260 of file coverart_album.py.
| def coverart_album.Album.add_track | ( | self, | |
| track | |||
| ) |
Adds a track to the album. :param track: `Track` track to be added.
Definition at line 443 of file coverart_album.py.
| def coverart_album.Album.calc_year_sort | ( | self | ) |
returns a str combinationi of real_year + album name
Definition at line 365 of file coverart_album.py.
| def coverart_album.Album.create_ext_db_key | ( | self | ) |
Creates a `RB.ExtDBKey` from this album's tracks.
Definition at line 478 of file coverart_album.py.
| def coverart_album.Album.get_tracks | ( | self, | |
rating_threshold = 0 |
|||
| ) |
Returns the tracks on this album. If rating_threshold is provided,
only those tracks over the threshold will be returned. The track list
returned is ordered by track number.
:param rating_threshold: `float` threshold over which the rating of the
track should be to be returned.
Definition at line 424 of file coverart_album.py.
| def coverart_album.Album.real_year | ( | self | ) |
return the calculated year e.g. 1989
Definition at line 351 of file coverart_album.py.