Exemplo n.º 1
0
 def globalList(self):
     self._stopUpdateLoop()
     self.ltype = "sl_glob_playlist"
     self["ContentTitle"].setText("Global Playlist-%02d" % self.playlist_num)
     self.filelist = SimplePlaylistIO.getPL("mp_global_pl_%02d" % self.playlist_num)
     if self.filelist == []:
         self.keyLocked = True
         self.filelist.append((_("No entrys found!"), "", "dump", None))
     else:
         self.keyLocked = False
     self.ml.setList(map(self._defaultlistleft, self.filelist))
     self["liste"].moveToIndex(0)
Exemplo n.º 2
0
 def globalList(self):
     self._stopUpdateLoop()
     self.ltype = 'sl_glob_playlist'
     self['ContentTitle'].setText("Global Playlist-%02d" %
                                  self.playlist_num)
     self.filelist = SimplePlaylistIO.getPL('mp_global_pl_%02d' %
                                            self.playlist_num)
     if self.filelist == []:
         self.keyLocked = True
         self.filelist.append((_("No entries found!"), "", "dump", None))
     else:
         self.keyLocked = False
     self.ml.setList(map(self._defaultlistleft, self.filelist))
     self['liste'].moveToIndex(0)
Exemplo n.º 3
0
	def globalList(self):
		self.ltype = 'sl_glob_playlist'
		self['ContentTitle'].setText("Global Playlist-%02d" % self.playlist_num)
		self['F4'].show()
		self.filelist = SimplePlaylistIO.getPL('mp_global_pl_%02d' % self.playlist_num)
		if self.filelist == []:
			self.keyLocked = True
			self['F4'].hide()
			self.filelist.append((_("No entrys found!"), "", "dump"))
		else:
			self['F4'].show()
			self.keyLocked = False
		self.ml.setList(map(self._defaultlistleft, self.filelist))