get_previous_from_entry

@accepts(RB.RhythmDBEntry)
@returns(RB.RhythmDBEntry)
def get_previous_from_entry(entry)

Locates and returns the RB.RhythmDBEntry in the model before the specified entry. The caller owns a reference to the returned entry.

entry :

a RB.RhythmDBEntry

Returns :

the previous RB.RhythmDBEntry in the model, if any