Module e.p.y.library_completion

Part of elisa.plugins.yesfm

No module docstring
Line # Kind Name Docs
41 Class NoAvailableCompletionError Undocumented
45 Class CompleteAlbumsForArtist Undocumented
179 Function add_action_complete_albums_for_artist Undocumented
193 Class CompleteTracksForAlbum Undocumented
349 Function add_action_complete_tracks_for_album Undocumented
362 Function album_matcher Undocumented
365 Function track_matcher Undocumented
371 Function compare_albums Undocumented
374 Function compare_tracks Undocumented
380 Function insert_sorted Insert item into model keeping model sorted.
def add_action_complete_albums_for_artist(controller):
Undocumented
def add_action_complete_tracks_for_album(controller):
Undocumented
def album_matcher(album1, album2):
Undocumented
def track_matcher(track1, track2):
Undocumented
def compare_albums(album1, album2):
Undocumented
def compare_tracks(track1, track2):
Undocumented
def insert_sorted(model, item, matcher, comparator):
Insert item into model keeping model sorted. It uses matcher to make sure model is not already in model. It uses comparator to compare item with the other elements of model. Return True if item was inserted, False otherwise.
Parametersmodellist in which to insert the item (type: list )
itemitem to insert (type: object )
matcherfunction returning True if its two arguments are identical, False otherwise (type: callable )
comparatorfunction returning True if its first argument is smaller than its second one, False otherwise (type: callable )
Returns (type: bool )
API Documentation for Elisa Media Center, generated by pydoctor at 2008-11-19 19:51:49.