aboutsummaryrefslogtreecommitdiff
path: root/xbmc/PlayListPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/PlayListPlayer.h')
-rw-r--r--xbmc/PlayListPlayer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/xbmc/PlayListPlayer.h b/xbmc/PlayListPlayer.h
index 961aaf28d4..f17abf6280 100644
--- a/xbmc/PlayListPlayer.h
+++ b/xbmc/PlayListPlayer.h
@@ -55,19 +55,22 @@ public:
* \brief Creates a new playlist for an item and starts playing it
* \param pItem The item to play.
* \param player The player name.
+ * \param forceSelection for Blurays, force simple menu to change playlist (default to false)
* \return True if has success, otherwise false.
*/
- bool Play(const CFileItemPtr& pItem, const std::string& player);
+ bool Play(const CFileItemPtr& pItem, const std::string& player, bool forceSelection = false);
/*! \brief Start playing a particular entry in the current playlist
\param index the index of the item to play. This value is modified to ensure it lies within the current playlist.
\param replace whether this item should replace the currently playing item. See CApplication::PlayFile (defaults to false).
\param playPreviousOnFail whether to go back to the previous item if playback fails (default to false)
+ \param forceSelection for Blurays, force simple menu to change playlist (default to false)
*/
bool Play(int index,
const std::string& player,
bool replace = false,
- bool playPreviousOnFail = false);
+ bool playPreviousOnFail = false,
+ bool forceSelection = false);
/*! \brief Returns the index of the current item in active playlist.
\return Current item in the active playlist.