From cbbb5b1cebeea242ecf2135f65264c1d2815f467 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Wed, 8 Mar 2017 17:06:30 +0100 Subject: [PATCH] Change playlist type from 'picture' to 'photo' --- resources/lib/playqueue.py | 2 ++ resources/lib/variables.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/playqueue.py b/resources/lib/playqueue.py index 7adfca1a..551bd5f3 100644 --- a/resources/lib/playqueue.py +++ b/resources/lib/playqueue.py @@ -53,6 +53,8 @@ class Playqueue(Thread): else: # Currently, only video or audio playqueues available playqueue.kodi_pl = PlayList(PLAYLIST_VIDEO) + # Overwrite 'picture' with 'photo' + playqueue.type = v.KODI_TYPE_PHOTO self.playqueues.append(playqueue) # sort the list by their playlistid, just in case self.playqueues = sorted( diff --git a/resources/lib/variables.py b/resources/lib/variables.py index dda52ac5..cf05a893 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -198,7 +198,7 @@ KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE = { PLEX_TYPE_ALBUM: KODI_TYPE_AUDIO, PLEX_TYPE_SONG: KODI_TYPE_AUDIO, PLEX_TYPE_AUDIO: KODI_TYPE_AUDIO, - PLEX_TYPE_PHOTO: 'picture' + PLEX_TYPE_PHOTO: KODI_TYPE_PHOTO }