enigma2  2.6
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser Class Reference
Inheritance diagram for Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser:
Screens.Screen.Screen Components.GUISkin.GUISkin Plugins.Extensions.MediaCenter.MediaBrowserDB.MediaBrowserDB Plugins.Extensions.MediaCenter.MediaBrowserFile.MediaBrowserFile Plugins.Extensions.MediaCenter.MediaBrowserSearch.MediaBrowserSearch Plugins.Extensions.MediaCenter.MediaBrowserUPnP.MediaBrowserUPnP

Public Member Functions

def __init__ (self, session, type=MediaCore.TYPE_AUDIO, player=None)
 
def ok (self)
 
def getSelectedItemData (self)
 
def getItemName (self, item=None)
 
def addAndPlaySelected (self)
 
def addCurrentToPlaylist (self, play=False)
 
def setStatus (self, item, error=False)
 
def addToPlaylist (self, ref, extra=None)
 
def addAndPlay (self, ref, extra=None)
 
def canAddSelected (self)
 
def addFolderToPlaylist (self, folder, recursive=True)
 
- 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 createSummary (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)
 

Static Public Member Functions

def search (needle)
 

Public Attributes

 skinName
 
 title
 
- 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
 

Static Public Attributes

int ITEM_TYPE_FOLDER = 0
 
int ITEM_TYPE_AUDIO = 1
 
int ITEM_TYPE_VIDEO = 2
 
int ITEM_TYPE_PICTURE = 3
 
int ITEM_TYPE_UP = 1000
 
int ITEM_TYPE_ALL = 1001
 
 ITEM_TEXT_UP = _("[up]")
 
dictionary ITEM_PIXMAPS
 
bool IS_DIALOG = True
 
bool FEATURE_FILTER_TYPE = False
 
bool FEATURE_ADD_FOLDER = False
 
bool FEATURE_SEARCH = False
 
 TITLE = _("Browser")
 
string skin
 
- 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.MediaBrowser.MediaBrowser.__init__ (   self,
  session,
  type = MediaCore.TYPE_AUDIO,
  player = None 
)

Member Function Documentation

◆ addAndPlay()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.addAndPlay (   self,
  ref,
  extra = None 
)

◆ addAndPlaySelected()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.addAndPlaySelected (   self)

◆ addCurrentToPlaylist()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.addCurrentToPlaylist (   self,
  play = False 
)

◆ addFolderToPlaylist()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.addFolderToPlaylist (   self,
  folder,
  recursive = True 
)

◆ addToPlaylist()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.addToPlaylist (   self,
  ref,
  extra = None 
)

◆ canAddSelected()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.canAddSelected (   self)

◆ getItemName()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.getItemName (   self,
  item = None 
)

◆ getSelectedItemData()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.getSelectedItemData (   self)

◆ ok()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ok (   self)

◆ search()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.search (   needle)
static

◆ setStatus()

def Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.setStatus (   self,
  item,
  error = False 
)

Member Data Documentation

◆ FEATURE_ADD_FOLDER

bool Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.FEATURE_ADD_FOLDER = False
static

◆ FEATURE_FILTER_TYPE

bool Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.FEATURE_FILTER_TYPE = False
static

◆ FEATURE_SEARCH

bool Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.FEATURE_SEARCH = False
static

◆ IS_DIALOG

bool Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.IS_DIALOG = True
static

◆ ITEM_PIXMAPS

dictionary Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_PIXMAPS
static
Initial value:
= {
ITEM_TYPE_FOLDER: "extensions/directory.png",
ITEM_TYPE_AUDIO: "extensions/music.png",
ITEM_TYPE_VIDEO: "extensions/movie.png"
}

◆ ITEM_TEXT_UP

Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TEXT_UP = _("[up]")
static

◆ ITEM_TYPE_ALL

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_ALL = 1001
static

◆ ITEM_TYPE_AUDIO

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_AUDIO = 1
static

◆ ITEM_TYPE_FOLDER

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_FOLDER = 0
static

◆ ITEM_TYPE_PICTURE

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_PICTURE = 3
static

◆ ITEM_TYPE_UP

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_UP = 1000
static

◆ ITEM_TYPE_VIDEO

int Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.ITEM_TYPE_VIDEO = 2
static

◆ skin

string Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.skin
static
Initial value:
= """
<screen name="MediaBrowser" position="center,120" size="820,520" title="Browser">
<widget name="list" position="10,5" size="800,420" enableWrapAround="1" scrollbarMode="showOnDemand"/>
<eLabel backgroundColor="grey" position="10,430" size="800,1" />
<widget name="status" position="10,440" size="800,20" font="Regular;18" halign="left" foregroundColors="white,white,white" backgroundColors="background,#1f771f,#9f1313"/>
<eLabel backgroundColor="grey" position="10,470" size="800,1" />
<ePixmap pixmap="skin_default/buttons/button_off.png" zPosition="1" position="10,490" size="20,20" />
<widget source="button_green" zPosition="2" render="Pixmap" pixmap="skin_default/buttons/button_green.png" position="10,490" size="20,20">
<convert type="ConditionalShowHide" />
</widget>
<widget name="add" position="40,480" size="200,40" font="Regular;18" halign="left" valign="center">
</widget>
<ePixmap pixmap="skin_default/buttons/button_off.png" zPosition="1" position="240,490" size="20,20" />
<widget source="button_blue" zPosition="2" render="Pixmap" pixmap="skin_default/buttons/button_blue.png" position="240,490" size="20,20">
<convert type="ConditionalShowHide" />
</widget>
<widget name="add_and_play" position="270,480" size="400,40" font="Regular;18" halign="left" valign="center"/>
</screen>"""

◆ skinName

Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.skinName

◆ TITLE

Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.TITLE = _("Browser")
static

◆ title

Plugins.Extensions.MediaCenter.MediaBrowser.MediaBrowser.title

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