internal void QueueReveiced(object s, PiecePosArgs e) { int qPos = e.QPos == -1 ? Queue.Count : e.QPos; Queue.Insert(qPos, e.MusicPiece); renderQueue(); }
public void SuccessfulQueued(object s, PiecePosArgs e) { //await getQueue(); int qPos = e.QPos == -1 ? Queue.Count : e.QPos; Queue.Insert(qPos, e.MusicPiece); renderQueue(); }