add_entry

@accepts(RB.RhythmDBEntry, gint)
@returns(none)
def add_entry(entry, index)

Adds an entry to the query model at the specified position. Does not check if the entry matches the query (if any).

entry :

a RB.RhythmDBEntry to add

index :

position at which to add it, or -1 to add at the end