#include <ApplicationPlay.h>
|
| static bool | ResolvePath (CFileItem &item) |
| | Resolves a vfs dynpath to an actual file path.
|
| |
| static bool | ResolveStack (CFileItem &item, std::string &player, const std::shared_ptr< CApplicationStackHelper > &stackHelper, bool &bRestart) |
| | Extracts a specific playable part from a stack://.
|
| |
| static void | GetOptionsAndUpdateItem (CFileItem &item, CPlayerOptions &options, const std::shared_ptr< CApplicationStackHelper > &stackHelper, bool bRestart) |
| | Determines if there is a resume point for the item and updates the player options accordingly Also resolves a removable media path if needed.
|
| |
| static bool | GetPlaylistIfDisc (CFileItem &item, CPlayerOptions &options, const std::string &player, const std::unique_ptr< CServiceManager > &serviceManager) |
| | If the item is a bluray that has not been played before and simple menu is enabled, then prompt user to select playlist.
|
| |
| static void | DetermineFullScreen (const CFileItem &item, CPlayerOptions &options, const std::shared_ptr< CApplicationStackHelper > &stackHelper) |
| | Determine if playback should go fullscreen based on media type and settings.
|
| |
◆ DetermineFullScreen()
Determine if playback should go fullscreen based on media type and settings.
- Parameters
-
| item | The CFileItem |
| options | The player options to update with the outcome (options.fullscreen) |
| stackHelper | The initialised application stack helper |
◆ GetOptionsAndUpdateItem()
Determines if there is a resume point for the item and updates the player options accordingly Also resolves a removable media path if needed.
- Parameters
-
| item | The CFileItem |
| options | The player options to update |
| stackHelper | The initialised application stack helper |
| bRestart | Set to true if playback should restart from beginning |
◆ GetPlaylistIfDisc()
If the item is a bluray that has not been played before and simple menu is enabled, then prompt user to select playlist.
- Parameters
-
| item | The CFileItem for disc |
| options | The player options to update |
| player | The player that to be used for playback (reset if stack resolved) |
| serviceManager | The initialised service manager |
- Returns
- false if user cancels playlist selection, true otherwise
◆ ResolvePath()
Resolves a vfs dynpath to an actual file path.
- Parameters
-
- Returns
- true if resolved successfully, false otherwise
◆ ResolveStack()
Extracts a specific playable part from a stack://.
- Parameters
-
| item | The CFileItem for the stack |
| player | The player that to be used for playback (reset if stack resolved) |
| stackHelper | The initialised application stack helper |
| bRestart | Set to true if playback should restart from beginning |
- Returns
- true if resolved successfully, false otherwise
The documentation for this class was generated from the following files: