Ejemplo n.º 1
0
        public async Task SeekCurrent(int pos)
        {
            if (queue.Head == null)
            {
                return;
            }

            PlayerQueueEntry entry;

            if ((entry = queue.Prev()) != null)
            {
                queue.Remove(entry);
            }
            if ((entry = queue.Next()) != null)
            {
                queue.Remove(entry);
            }

            await queue.Head.Seek(pos);
        }