enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer Class Reference
Inheritance diagram for Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer:
Plugins.Extensions.MediaCenter.PlaylistPlayer.PlaylistPlayer Screens.Screen.Screen Screens.HelpMenu.HelpableScreen Screens.InfoBarGenerics.PlayerBase Components.GUISkin.GUISkin

Public Member Functions

def __init__ (self, session, playlist=None)
 
def createSummary (self)
 
def play (self, playSelected=True)
 
def pause (self)
 
def stop (self)
 
def removeSelectedPlaylistEntry (self)
 
- Public Member Functions inherited from Plugins.Extensions.MediaCenter.PlaylistPlayer.PlaylistPlayer
def __init__ (self, session, playlist_string, type)
 
def loadIOPlaylist (self)
 
def saveIOPlaylist (self)
 
def playNext (self)
 
def playPrev (self)
 
def playLast (self)
 
def addToPlaylist (self, serviceref, extra)
 
def addAllToPlaylist (self, items)
 
def addAndPlay (self, serviceref, extra)
 
def removeSelectedEntry (self)
 
def clearPlaylist (self)
 
def clearPlaylistCB (self, answer)
 
def editPlaylist (self)
 
- Public Member Functions inherited from Screens.Screen.Screen
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 Screens.HelpMenu.HelpableScreen
def __init__ (self)
 
def showHelp (self)
 
def callHelpAction (self, *args)
 
- Public Member Functions inherited from Screens.InfoBarGenerics.PlayerBase
def __init__ (self)
 

Public Attributes

 service
 
- Public Attributes inherited from Plugins.Extensions.MediaCenter.PlaylistPlayer.PlaylistPlayer
 service
 
- 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.PlayerBase
 lastservice
 
 prev_player
 

Static Public Attributes

 title = _("Video Player")
 
 add = _("Add")
 
 clear = _("Clear List")
 
 remove = _("Remove")
 
string skin
 
- Static Public Attributes inherited from Plugins.Extensions.MediaCenter.PlaylistPlayer.PlaylistPlayer
 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
 

Additional Inherited Members

- Properties inherited from Components.GUISkin.GUISkin
 title = property(getTitle, setTitle)
 

Constructor & Destructor Documentation

◆ __init__()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.__init__ (   self,
  session,
  playlist = None 
)

Member Function Documentation

◆ createSummary()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.createSummary (   self)

Reimplemented from Components.GUISkin.GUISkin.

◆ pause()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.pause (   self)

◆ play()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.play (   self,
  playSelected = True 
)

◆ removeSelectedPlaylistEntry()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.removeSelectedPlaylistEntry (   self)

◆ stop()

def Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.stop (   self)

Member Data Documentation

◆ add

Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.add = _("Add")
static

◆ clear

Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.clear = _("Clear List")
static

◆ remove

Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.remove = _("Remove")
static

◆ service

Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.service

◆ skin

string Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.skin
static
Initial value:
= """
<screen position="center,120" size="820,520" title="%s">
<widget source="playlist" render="Listbox" position="5,60" size="810,455" enableWrapAround="1" scrollbarMode="showOnDemand">
<convert type="TemplatedMultiContent">
{"templates":{
"default": (35, [
MultiContentEntryText(pos = (5,0), size = (800,35), font = 0, flags = RT_VALIGN_CENTER, text = 2),
]),
"simple": (35, [
MultiContentEntryText(pos = (5,0), size = (800,35), font = 0, flags = RT_VALIGN_CENTER, text = 2),
]),
},
"fonts": [gFont("Regular",22)]
}
</convert>
</widget>
<ePixmap pixmap="skin_default/buttons/red.png" position="10,0" size="200,40" />
<ePixmap pixmap="skin_default/buttons/green.png" position="210,0" size="200,40" />
<ePixmap pixmap="skin_default/buttons/blue.png" position="610,0" size="200,40" />
<eLabel position="10,50" size="800,1" backgroundColor="grey" />
<eLabel text="%s" position="10,0" zPosition="1" size="200,40" font="Regular;20" halign="center" valign="center" foregroundColor="white" backgroundColor="#9f1313" transparent="1" />
<eLabel text="%s" position="210,0" zPosition="1" size="200,40" font="Regular;20" halign="center" valign="center" foregroundColor="white" backgroundColor="#1f771f" transparent="1" />
<eLabel text="%s" position="610,0" zPosition="1" size="200,40" font="Regular;20" halign="center" valign="center" foregroundColor="white" backgroundColor="#18188b" transparent="1" />
</screen>""" % (title, clear, add, remove)

◆ title

Plugins.Extensions.MediaCenter.VideoPlayer.VideoPlayer.title = _("Video Player")
static

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