summaryrefslogtreecommitdiff
path: root/plugins/Playlist.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Playlist.py')
-rw-r--r--plugins/Playlist.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Playlist.py b/plugins/Playlist.py
index 1a13545..81c92ad 100644
--- a/plugins/Playlist.py
+++ b/plugins/Playlist.py
@@ -4,14 +4,15 @@ from clPlugin import *
from misc import *
from wgPlaylist import Playlist
from wgSongList import clrRowSel
+from clSettings import settings
class pluginPlaylist(Plugin):
o=None
def __init__(self, winMain):
Plugin.__init__(self, winMain, 'Playlist')
- self.o=Playlist(winMain, self, ['artist', 'title', 'album'], 'The Playlist'
+ def _load(self):
+ self.o=Playlist(self.winMain, self, ['artist', 'title', 'track', 'album'], 'Playlist'
, self.onDoubleClick, self.onKeyPress)
- self.o.setMode('playlist')
monty.addListener('onSongChange', self.onSongChange)
def getInfo(self):
return "The playlist showing the songs that will be played."