From a248580f2497444a2b934903513d45b7ed96348d Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Sun, 7 Aug 2016 16:31:07 +0200 Subject: [PATCH] Fix faulty playlist init --- resources/lib/PlexCompanion.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/lib/PlexCompanion.py b/resources/lib/PlexCompanion.py index ca6e161c..51233ede 100644 --- a/resources/lib/PlexCompanion.py +++ b/resources/lib/PlexCompanion.py @@ -86,13 +86,11 @@ class PlexCompanion(threading.Thread): self.queueId = None if self.playlist is None: if data.get('type') == 'music': - self.playlist = playlist.Playlist('music', - player=self.player) + self.playlist = playlist.Playlist('music') elif data.get('type') == 'video': - self.playlist = playlist.Playlist('video', - player=self.player) + self.playlist = playlist.Playlist('video') else: - self.playlist = playlist.Playlist(player=self.player) + self.playlist = playlist.Playlist() if queueId != self.queueId: self.logMsg('New playlist received, updating!', 1) self.queueId = queueId