func contains(s []track.Track, t track.Track) bool { for _, v := range s { if v.ID() == t.ID() { return true } } return false }