enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Plugins.Extensions.MediaPlayer.plugin.MediaPlayer Class Reference
Inheritance diagram for Plugins.Extensions.MediaPlayer.plugin.MediaPlayer:
Screens.HelpMenu.HelpableScreen Screens.InfoBarGenerics.InfoBarSubtitleSupport Screens.InfoBarGenerics.InfoBarNotifications Screens.InfoBarGenerics.InfoBarCueSheetSupport Screens.InfoBarGenerics.InfoBarAudioSelection Screens.InfoBarGenerics.InfoBarSeek Components.ServiceEventTracker.InfoBarBase Screens.Screen.Screen

Public Member Functions

def __init__ (self, session, args=None)
 
def doNothing (self)
 
def createSummary (self)
 
def exit (self)
 
def checkSkipShowHideLock (self)
 
def doEofInternal (self, playing)
 
def delMPTimer (self)
 
def readTitleInformation (self)
 
def updateMusicInformation (self, artist="", title="", album="", year="", genre="", clear=False)
 
def updateSingleMusicInformation (self, name, info, clear)
 
def leftDown (self)
 
def rightDown (self)
 
def leftUp (self)
 
def rightUp (self)
 
def leftTimerFire (self)
 
def rightTimerFire (self)
 
def switchToFileList (self)
 
def switchToPlayList (self)
 
def up (self)
 
def down (self)
 
def showAfterSeek (self)
 
def showAfterCuesheetOperation (self)
 
def hideAfterResume (self)
 
def getIdentifier (self, ref)
 
def updateCurrentInfo (self)
 
def ok (self)
 
def showMenu (self)
 
def menuCallback (self, choice)
 
def playAudioCD (self)
 
def applySettings (self)
 
def showEventInformation (self)
 
def getCurrent (self)
 
def deletePlaylistEntry (self)
 
def skip_listbegin (self)
 
def skip_listend (self)
 
def save_playlist (self)
 
def save_playlist2 (self, name)
 
def load_playlist (self)
 
def PlaylistSelected (self, path)
 
def delete_saved_playlist (self)
 
def DeletePlaylistSelected (self, path)
 
def deleteConfirmed (self, confirmed)
 
def clear_playlist (self)
 
def copyDirectory (self, directory, recursive=True)
 
def deleteFile (self)
 
def deleteConfirmed_offline (self, confirmed)
 
def removeListEntry (self)
 
def copyFile (self)
 
def addPlaylistParser (self, parser, extension)
 
def nextEntry (self)
 
def nextMarkOrEntry (self)
 
def previousMarkOrEntry (self)
 
def deleteEntry (self)
 
def changeEntry (self, index)
 
def playServiceRefEntry (self, serviceref)
 
def xplayEntry (self)
 
def playEntry (self)
 
def updatedSeekState (self)
 
def pauseEntry (self)
 
def stopEntry (self)
 
def unPauseService (self)
 
def subtitleSelection (self)
 
def hotplugCB (self, dev, media_state)
 
- 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 getSeek (self)
 
def isSeekable (self)
 
def setSeekState (self, state, onlyGUI=False)
 
def playpauseService (self)
 
def pauseService (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 calcRemainingTime (self)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.PlayerBase
def __init__ (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 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 uploadCuesheet (self)
 
def downloadCuesheet (self)
 
- 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.InfoBarSubtitleSupport
def __init__ (self)
 
def getCurrentServiceSubtitle (self)
 
def setSubtitlesEnable (self, enable=True)
 
def setSelectedSubtitle (self, idx)
 
- Public Member Functions inherited from Screens.HelpMenu.HelpableScreen
def __init__ (self)
 
def showHelp (self)
 
def callHelpAction (self, *args)
 

Public Attributes

 summary
 
 playlistparsers
 
 filelist
 
 playlist
 
 is_closing
 
 delname
 
 seek_target
 
 player
 
 righttimer
 
 rightKeyTimer
 
 rightKeyTimer_conn
 
 lefttimer
 
 leftKeyTimer
 
 leftKeyTimer_conn
 
 currList
 
 isAudioCD
 
 AudioCD_albuminfo
 
 cdAudioTrackFiles
 
 playlistIOInternal
 
 bitrate
 
 savePlaylistOnExit
 
 service
 
 seekstate
 
- 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.InfoBarCueSheetSupport
 cut_list
 
 is_closing
 
 length
 
 resume_point
 
- Public Attributes inherited from Screens.InfoBarGenerics.InfoBarSubtitleSupport
 subtitle_window
 
 cached_subtitle_checked
 

Static Public Attributes

 ALLOW_SUSPEND = Screen.SUSPEND_STOPS
 
bool ENABLE_RESUME_SUPPORT = True
 
- 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.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
 

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 Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.__init__ (   self,
  session,
  args = None 
)

Member Function Documentation

◆ addPlaylistParser()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.addPlaylistParser (   self,
  parser,
  extension 
)

◆ applySettings()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.applySettings (   self)

◆ changeEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.changeEntry (   self,
  index 
)

◆ checkSkipShowHideLock()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.checkSkipShowHideLock (   self)

◆ clear_playlist()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.clear_playlist (   self)

◆ copyDirectory()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.copyDirectory (   self,
  directory,
  recursive = True 
)

◆ copyFile()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.copyFile (   self)

◆ createSummary()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.createSummary (   self)

Reimplemented from Components.GUISkin.GUISkin.

◆ delete_saved_playlist()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.delete_saved_playlist (   self)

◆ deleteConfirmed()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.deleteConfirmed (   self,
  confirmed 
)

◆ deleteConfirmed_offline()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.deleteConfirmed_offline (   self,
  confirmed 
)

◆ deleteEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.deleteEntry (   self)

◆ deleteFile()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.deleteFile (   self)

◆ deletePlaylistEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.deletePlaylistEntry (   self)

◆ DeletePlaylistSelected()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.DeletePlaylistSelected (   self,
  path 
)

◆ delMPTimer()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.delMPTimer (   self)

◆ doEofInternal()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.doEofInternal (   self,
  playing 
)

◆ doNothing()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.doNothing (   self)

◆ down()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.down (   self)

◆ exit()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.exit (   self)

◆ getCurrent()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.getCurrent (   self)

◆ getIdentifier()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.getIdentifier (   self,
  ref 
)

◆ hideAfterResume()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.hideAfterResume (   self)

◆ hotplugCB()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.hotplugCB (   self,
  dev,
  media_state 
)

◆ leftDown()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.leftDown (   self)

◆ leftTimerFire()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.leftTimerFire (   self)

◆ leftUp()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.leftUp (   self)

◆ load_playlist()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.load_playlist (   self)

◆ menuCallback()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.menuCallback (   self,
  choice 
)

◆ nextEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.nextEntry (   self)

◆ nextMarkOrEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.nextMarkOrEntry (   self)

◆ ok()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.ok (   self)

◆ pauseEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.pauseEntry (   self)

◆ playAudioCD()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playAudioCD (   self)

◆ playEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playEntry (   self)

◆ PlaylistSelected()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.PlaylistSelected (   self,
  path 
)

◆ playServiceRefEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playServiceRefEntry (   self,
  serviceref 
)

◆ previousMarkOrEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.previousMarkOrEntry (   self)

◆ readTitleInformation()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.readTitleInformation (   self)

◆ removeListEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.removeListEntry (   self)

◆ rightDown()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.rightDown (   self)

◆ rightTimerFire()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.rightTimerFire (   self)

◆ rightUp()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.rightUp (   self)

◆ save_playlist()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.save_playlist (   self)

◆ save_playlist2()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.save_playlist2 (   self,
  name 
)

◆ showAfterCuesheetOperation()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.showAfterCuesheetOperation (   self)

◆ showAfterSeek()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.showAfterSeek (   self)

◆ showEventInformation()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.showEventInformation (   self)

◆ showMenu()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.showMenu (   self)

◆ skip_listbegin()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.skip_listbegin (   self)

◆ skip_listend()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.skip_listend (   self)

◆ stopEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.stopEntry (   self)

◆ subtitleSelection()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.subtitleSelection (   self)

◆ switchToFileList()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.switchToFileList (   self)

◆ switchToPlayList()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.switchToPlayList (   self)

◆ unPauseService()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.unPauseService (   self)

◆ up()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.up (   self)

◆ updateCurrentInfo()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.updateCurrentInfo (   self)

◆ updatedSeekState()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.updatedSeekState (   self)

◆ updateMusicInformation()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.updateMusicInformation (   self,
  artist = "",
  title = "",
  album = "",
  year = "",
  genre = "",
  clear = False 
)

◆ updateSingleMusicInformation()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.updateSingleMusicInformation (   self,
  name,
  info,
  clear 
)

◆ xplayEntry()

def Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.xplayEntry (   self)

Member Data Documentation

◆ ALLOW_SUSPEND

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.ALLOW_SUSPEND = Screen.SUSPEND_STOPS
static

◆ AudioCD_albuminfo

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.AudioCD_albuminfo

◆ bitrate

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.bitrate

◆ cdAudioTrackFiles

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.cdAudioTrackFiles

◆ currList

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.currList

◆ delname

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.delname

◆ ENABLE_RESUME_SUPPORT

bool Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.ENABLE_RESUME_SUPPORT = True
static

◆ filelist

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.filelist

◆ is_closing

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.is_closing

◆ isAudioCD

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.isAudioCD

◆ leftKeyTimer

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.leftKeyTimer

◆ leftKeyTimer_conn

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.leftKeyTimer_conn

◆ lefttimer

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.lefttimer

◆ player

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.player

◆ playlist

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playlist

◆ playlistIOInternal

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playlistIOInternal

◆ playlistparsers

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.playlistparsers

◆ rightKeyTimer

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.rightKeyTimer

◆ rightKeyTimer_conn

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.rightKeyTimer_conn

◆ righttimer

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.righttimer

◆ savePlaylistOnExit

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.savePlaylistOnExit

◆ seek_target

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.seek_target

◆ seekstate

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.seekstate

◆ service

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.service

◆ summary

Plugins.Extensions.MediaPlayer.plugin.MediaPlayer.summary

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