From 0afe26552471fdd93abd97252dd62e8357ebc995 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Mon, 5 Sep 2016 20:57:08 +0200 Subject: [PATCH] Fix TypeError --- resources/lib/PlexFunctions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/PlexFunctions.py b/resources/lib/PlexFunctions.py index 3d487e9f..ba42e254 100644 --- a/resources/lib/PlexFunctions.py +++ b/resources/lib/PlexFunctions.py @@ -386,8 +386,8 @@ def GetPlexPlaylist(itemid, librarySectionUUID, mediatype='movie'): url = "{server}/playQueues" args = { 'type': mediatype, - 'uri': 'library://%s/item/%2Flibrary%2Fmetadata%2F%s' - % (librarySectionUUID, itemid), + 'uri': ('library://' + librarySectionUUID + + '/item/%2Flibrary%2Fmetadata%2F' + itemid), 'includeChapters': '1', 'extrasPrefixCount': trailerNumber, 'shuffle': '0',