enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Screens.MoviePlayer.MoviePlayer Class Reference
Inheritance diagram for Screens.MoviePlayer.MoviePlayer:
Screens.InfoBarGenerics.InfoBarGstreamerErrorPopupSupport Screens.InfoBarGenerics.InfoBarNotifications Screens.InfoBarGenerics.InfoBarPlugins Screens.InfoBarGenerics.InfoBarExtensions Screens.InfoBarGenerics.InfoBarServiceErrorPopupSupport Screens.InfoBarGenerics.InfoBarSubtitleSupport Screens.InfoBarGenerics.InfoBarCueSheetSupport Screens.InfoBarGenerics.InfoBarAudioSelection Screens.InfoBarGenerics.InfoBarShowHide Screens.InfoBarGenerics.InfoBarSeek Components.ServiceEventTracker.InfoBarBase Screens.Screen.Screen

Public Member Functions

def __init__ (self, session, service, restoreService=True, infoCallback=None, getNextService=None, getPrevService=None, stopCallback=None, pauseCallback=None, streamMode=False, askBeforeLeaving=True)
 
def createSummary (self)
 
def playNext (self)
 
def playPrev (self)
 
def playAgain (self)
 
def playService (self, newservice)
 
def play (self)
 
def playpause (self)
 
def stopCurrent (self)
 
def showVideoInfo (self)
 
def handleLeave (self, ask=True, error=False)
 
def leavePlayer (self)
 
def leavePlayerConfirmed (self, answer)
 
def doEofInternal (self, playing)
 
- Public Member Functions inherited from Screens.Screen.Screen
def __init__ (self, session, parent=None, windowTitle=None)
 
def saveKeyboardMode (self)
 
def setKeyboardModeAscii (self)
 
def setKeyboardModeNone (self)
 
def restoreKeyboardMode (self)
 
def execBegin (self)
 
def execEnd (self)
 
def doClose (self, immediate=True)
 
def doCloseInternal (self)
 
def close (self, *retval)
 
def setFocus (self, o)
 
def show (self)
 
def hide (self)
 
def enable (self, do_show=True)
 
def disable (self)
 
def isEnabled (self)
 
def __repr__ (self)
 
def getRelatedScreen (self, name)
 
def setShowHideAnimation (self, animation_key)
 
def neverAnimate (self)
 
def canAnimate (self)
 
def ignoreSource (self, name)
 
- Public Member Functions inherited from Components.GUISkin.GUISkin
def __init__ (self, windowTitle=None)
 
def createGUIScreen (self, parent, desktop, updateonly=False)
 
def deleteGUIScreen (self)
 
def close (self)
 
def addSummary (self, summary)
 
def removeSummary (self, summary)
 
def setTitle (self, title)
 
def getTitle (self)
 
def setDesktop (self, desktop)
 
def applySkin (self)
 
def setZPosition (self, z)
 
- Public Member Functions inherited from Components.ServiceEventTracker.InfoBarBase
def __init__ (self, steal_current_service=False)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarSeek
def __init__ (self, actionmap="InfobarSeekActions")
 
def makeStateForward (self, n)
 
def makeStateBackward (self, n)
 
def makeStateSlowMotion (self, n)
 
def isStateForward (self, state)
 
def isStateBackward (self, state)
 
def isStateSlowMotion (self, state)
 
def getHigher (self, n, lst)
 
def getLower (self, n, lst)
 
def showAfterSeek (self)
 
def up (self)
 
def down (self)
 
def getSeek (self)
 
def isSeekable (self)
 
def setSeekState (self, state, onlyGUI=False)
 
def playpauseService (self)
 
def pauseService (self)
 
def unPauseService (self)
 
def doSeek (self, pts)
 
def doSeekRelative (self, pts)
 
def seekFwd (self)
 
def seekBack (self)
 
def seekFwdManual (self)
 
def fwdSeekTo (self, minutes)
 
def seekBackManual (self)
 
def rwdSeekTo (self, minutes)
 
def checkSkipShowHideLock (self)
 
def calcRemainingTime (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.PlayerBase
def __init__ (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarShowHide
def __init__ (self)
 
def serviceStarted (self)
 
def startHideTimer (self)
 
def doShow (self)
 
def doTimerHide (self)
 
def toggleShow (self)
 
def lockShow (self)
 
def unlockShow (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarAudioSelection
def __init__ (self)
 
def audioSelection (self)
 
def audioSelected (self, ret=None)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarCueSheetSupport
def __init__ (self, actionmap="InfobarCueSheetActions")
 
def playLastCB (self, answer)
 
def hideAfterResume (self)
 
def cueGetCurrentPosition (self)
 
def cueGetEndCutPosition (self)
 
def jumpPreviousNextMark (self, cmp, start=False)
 
def jumpPreviousMark (self)
 
def jumpNextMark (self)
 
def getNearestCutPoint (self, pts, cmp=abs, start=False)
 
def toggleMark (self, onlyremove=False, onlyadd=False, tolerance=5 *90000, onlyreturn=False)
 
def addMark (self, point)
 
def removeMark (self, point)
 
def showAfterCuesheetOperation (self)
 
def uploadCuesheet (self)
 
def downloadCuesheet (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarSubtitleSupport
def __init__ (self)
 
def getCurrentServiceSubtitle (self)
 
def setSubtitlesEnable (self, enable=True)
 
def setSelectedSubtitle (self, idx)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarServiceErrorPopupSupport
def __init__ (self)
 
def setPlaybackState (self, state=None, message=None)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarExtensions
def __init__ (self)
 
def addExtension (self, extension, key=None, type=EXTENSION_SINGLE)
 
def updateExtension (self, extension, key=None)
 
def updateExtensions (self)
 
def showExtensionSelection (self)
 
def extensionCallback (self, answer)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarPlugins
def __init__ (self)
 
def getPluginName (self, name)
 
def getPluginList (self)
 
def runPlugin (self, plugin)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarNotifications
def __init__ (self)
 
def checkNotificationsIfExecing (self)
 
def checkNotifications (self, immediate=False)
 
def getEntryText (self)
 
def showNotificationQueueViewer (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.InfoBarGstreamerErrorPopupSupport
def __init__ (self)
 

Public Attributes

 session
 
 service
 
 infoCallback
 
 getNextServiceCB
 
 getPrevServiceCB
 
 stopCB
 
 pauseCB
 
 callback
 
 screen_timeout
 
 nextservice
 
 is_closing
 
 lastservice
 
 streamMode
 
 returning
 
- Public Attributes inherited from Screens.Screen.Screen
 skinName
 
 session
 
 parent
 
 onClose
 
 onFirstExecBegin
 
 onExecBegin
 
 onShown
 
 onShow
 
 onHide
 
 onExecEnd
 
 onHideFinished
 
 execing
 
 shown
 
 already_shown
 
 renderer
 
 helpList
 
 close_on_next_exec
 
 stand_alone
 
 keyboardMode
 
 active_components
 
 persisted_members
 
- Public Attributes inherited from Components.GUISkin.GUISkin
 onLayoutFinish
 
 summaries
 
 instance
 
 desktop
 
 scale
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarSeek
 fast_winding_hint_message_showed
 
 screen
 
 seekstate
 
 lastseekstate
 
 onPlayStateChanged
 
 lockedBecauseOfSkipping
 
- Public Attributes inherited from Screens.InfoBarGenerics.PlayerBase
 lastservice
 
 prev_player
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarShowHide
 hideTimer
 
 hideTimer_conn
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarCueSheetSupport
 cut_list
 
 is_closing
 
 length
 
 resume_point
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarSubtitleSupport
 subtitle_window
 
 cached_subtitle_checked
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarServiceErrorPopupSupport
 last_error
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarExtensions
 list
 
 extensionsList
 
 availableKeys
 
 extensionKeys
 

Static Public Attributes

bool ENABLE_RESUME_SUPPORT = True
 
 ALLOW_SUSPEND = Screen.SUSPEND_STOPS
 
- Static Public Attributes inherited from Screens.Screen.Screen
int SUSPEND_NONE = 0
 
int SUSPEND_STOPS = 1
 
int SUSPEND_PAUSES = 2
 
int ALLOW_SUSPEND = SUSPEND_NONE
 
- Static Public Attributes inherited from Components.GUISkin.GUISkin
bool IS_DIALOG = False
 
- Static Public Attributes inherited from Screens.InfoBarGenerics.InfoBarSeek
tuple SEEK_STATE_PLAY = (0, 0, 0, ">")
 
tuple SEEK_STATE_PAUSE = (1, 0, 0, "||")
 
tuple SEEK_STATE_EOF = (1, 0, 0, "END")
 
tuple SEEK_STATE_STOP = (0, 0, 0, "STOP")
 
- Static Public Attributes inherited from Screens.InfoBarGenerics.InfoBarShowHide
int STATE_HIDDEN = 0
 
int STATE_HIDING = 1
 
int STATE_SHOWING = 2
 
int STATE_SHOWN = 3
 
- Static Public Attributes inherited from Screens.InfoBarGenerics.InfoBarCueSheetSupport
int CUT_TYPE_IN = 0
 
int CUT_TYPE_OUT = 1
 
int CUT_TYPE_MARK = 2
 
int CUT_TYPE_LAST = 3
 
bool ENABLE_RESUME_SUPPORT = False
 
- Static Public Attributes inherited from Screens.InfoBarGenerics.InfoBarServiceErrorPopupSupport
 STATE_TUNING = _("tuning...")
 
 STATE_CONNECTING = _("connecting...")
 
 MESSAGE_WAIT = _("Please wait!")
 
 STATE_RECONNECTING = _("reconnecting...")
 
- Static Public Attributes inherited from Screens.InfoBarGenerics.InfoBarExtensions
int EXTENSION_SINGLE = 0
 
int EXTENSION_LIST = 1
 

Additional Inherited Members

- Properties inherited from Components.GUISkin.GUISkin
 title = property(getTitle, setTitle)
 
- Properties inherited from Screens.InfoBarGenerics.InfoBarSubtitleSupport
 subtitles_enabled = property(lambda self: self.__subtitles_enabled, setSubtitlesEnable)
 
 selected_subtitle = property(lambda self: self.__selected_subtitle, setSelectedSubtitle)
 

Constructor & Destructor Documentation

◆ __init__()

def Screens.MoviePlayer.MoviePlayer.__init__ (   self,
  session,
  service,
  restoreService = True,
  infoCallback = None,
  getNextService = None,
  getPrevService = None,
  stopCallback = None,
  pauseCallback = None,
  streamMode = False,
  askBeforeLeaving = True 
)

Member Function Documentation

◆ createSummary()

def Screens.MoviePlayer.MoviePlayer.createSummary (   self)

Reimplemented from Components.GUISkin.GUISkin.

◆ doEofInternal()

def Screens.MoviePlayer.MoviePlayer.doEofInternal (   self,
  playing 
)

◆ handleLeave()

def Screens.MoviePlayer.MoviePlayer.handleLeave (   self,
  ask = True,
  error = False 
)

◆ leavePlayer()

def Screens.MoviePlayer.MoviePlayer.leavePlayer (   self)

◆ leavePlayerConfirmed()

def Screens.MoviePlayer.MoviePlayer.leavePlayerConfirmed (   self,
  answer 
)

◆ play()

def Screens.MoviePlayer.MoviePlayer.play (   self)

◆ playAgain()

def Screens.MoviePlayer.MoviePlayer.playAgain (   self)

◆ playNext()

def Screens.MoviePlayer.MoviePlayer.playNext (   self)

◆ playpause()

def Screens.MoviePlayer.MoviePlayer.playpause (   self)

◆ playPrev()

def Screens.MoviePlayer.MoviePlayer.playPrev (   self)

◆ playService()

def Screens.MoviePlayer.MoviePlayer.playService (   self,
  newservice 
)

◆ showVideoInfo()

def Screens.MoviePlayer.MoviePlayer.showVideoInfo (   self)

◆ stopCurrent()

def Screens.MoviePlayer.MoviePlayer.stopCurrent (   self)

Member Data Documentation

◆ ALLOW_SUSPEND

Screens.MoviePlayer.MoviePlayer.ALLOW_SUSPEND = Screen.SUSPEND_STOPS
static

◆ callback

Screens.MoviePlayer.MoviePlayer.callback

◆ ENABLE_RESUME_SUPPORT

bool Screens.MoviePlayer.MoviePlayer.ENABLE_RESUME_SUPPORT = True
static

◆ getNextServiceCB

Screens.MoviePlayer.MoviePlayer.getNextServiceCB

◆ getPrevServiceCB

Screens.MoviePlayer.MoviePlayer.getPrevServiceCB

◆ infoCallback

Screens.MoviePlayer.MoviePlayer.infoCallback

◆ is_closing

Screens.MoviePlayer.MoviePlayer.is_closing

◆ lastservice

Screens.MoviePlayer.MoviePlayer.lastservice

◆ nextservice

Screens.MoviePlayer.MoviePlayer.nextservice

◆ pauseCB

Screens.MoviePlayer.MoviePlayer.pauseCB

◆ returning

Screens.MoviePlayer.MoviePlayer.returning

◆ screen_timeout

Screens.MoviePlayer.MoviePlayer.screen_timeout

◆ service

Screens.MoviePlayer.MoviePlayer.service

◆ session

Screens.MoviePlayer.MoviePlayer.session

◆ stopCB

Screens.MoviePlayer.MoviePlayer.stopCB

◆ streamMode

Screens.MoviePlayer.MoviePlayer.streamMode

The documentation for this class was generated from the following file: