Пример #1
0
        private void RemovePlayListItem(int iItem)
        {
            var pl  = _playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_LAST_FM);
            var pli = pl[iItem];

            if (pli == null)
            {
                return;
            }

            _playlistPlayer.Remove(PlayListType.PLAYLIST_LAST_FM, pli.FileName);

            if (GUIWindowManager.ActiveWindow == GetID)
            {
                LoadPlaylist();
            }
        }