entry_move_to_trash

@accepts(RB.RhythmDBEntry)
@returns(none)
def entry_move_to_trash(entry)

Trashes the file represented by entry. If possible, the file is moved to the user's trash directory and the entry is set to hidden, otherwise the error will be stored as the playback error for the entry.

entry :

RB.RhythmDBEntry to trash