private void AppendItems(IEnumerable <TrackViewModel> items, Action <Dictionary <SynoTrack, Guid> > callback) { var tracks = items.Select(o => o.TrackInfo); // int insertPosition = _playbackService.GetTracksCountInQueue(); int insertPosition = PlayQueueItems.Count(); _playbackService.InsertTracksToQueue(tracks, insertPosition, callback); //foreach (var trackViewModel in items) //{ // PlayQueueItems.Add(trackViewModel); //} }