CoverArt Browser  v2.0
Browse your cover-art albums in Rhythmbox
coverart_album.Album Class Reference

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

returns a str combinationi of real_year + album name

Definition at line 365 of file coverart_album.py.

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.

return the calculated year e.g. 1989

Definition at line 351 of file coverart_album.py.


The documentation for this class was generated from the following file:
 All Classes Functions