private void MovePlayListItemDown() { if (playlistPlayer.CurrentPlaylistType == PlayListType.PLAYLIST_NONE) { playlistPlayer.CurrentPlaylistType = PlayListType.PLAYLIST_TVSERIES; } if (playlistPlayer.CurrentPlaylistType != PlayListType.PLAYLIST_TVSERIES || m_Facade.CurrentLayout != GUIFacadeControl.Layout.Playlist || m_Facade.PlayListLayout == null) { return; } int iItem = m_Facade.SelectedListItemIndex; PlayList playList = playlistPlayer.GetPlaylist(PlayListType.PLAYLIST_TVSERIES); // Prevent moving fowards past the last item in the list // as this would cause the currently playing item to scroll // off of the list view... playList.MovePlayListItemDown(iItem); int selectedIndex = m_Facade.MoveItemDown(iItem, true); if (iItem == playlistPlayer.CurrentItem) { playlistPlayer.CurrentItem = selectedIndex; } m_Facade.SelectedListItemIndex = selectedIndex; UpdateButtonStates(); }