bluray: display title selection even if "play next video auto" is on
authorJoakim Plate <elupus@ecce.se>
Fri, 14 Dec 2012 20:06:07 +0000 (21:06 +0100)
committerJoakim Plate <elupus@ecce.se>
Fri, 14 Dec 2012 20:06:07 +0000 (21:06 +0100)
xbmc/video/windows/GUIWindowVideoBase.cpp

index 54e43dc..528edc3 100644 (file)
@@ -1572,9 +1572,13 @@ bool CGUIWindowVideoBase::OnPlayAndQueueMedia(const CFileItemPtr &item)
   if (iPlaylist != PLAYLIST_NONE && g_playlistPlayer.IsShuffled(iPlaylist))
      g_playlistPlayer.SetShuffle(iPlaylist, false);
 
+  CFileItemPtr movieItem(new CFileItem(*item));
+  if(!ShowPlaySelection(movieItem))
+    return false;
+
   // Call the base method to actually queue the items
   // and start playing the given item
-  return CGUIMediaWindow::OnPlayAndQueueMedia(item);
+  return CGUIMediaWindow::OnPlayAndQueueMedia(movieItem);
 }
 
 void CGUIWindowVideoBase::PlayMovie(const CFileItem *item)