better algorithm to handle already played tracks... °_°