Fix TypeError

This commit is contained in:
tomkat83 2016-09-05 20:57:08 +02:00
parent cf3cc2c3a9
commit 0afe265524

View file

@ -386,8 +386,8 @@ def GetPlexPlaylist(itemid, librarySectionUUID, mediatype='movie'):
url = "{server}/playQueues" url = "{server}/playQueues"
args = { args = {
'type': mediatype, 'type': mediatype,
'uri': 'library://%s/item/%2Flibrary%2Fmetadata%2F%s' 'uri': ('library://' + librarySectionUUID +
% (librarySectionUUID, itemid), '/item/%2Flibrary%2Fmetadata%2F' + itemid),
'includeChapters': '1', 'includeChapters': '1',
'extrasPrefixCount': trailerNumber, 'extrasPrefixCount': trailerNumber,
'shuffle': '0', 'shuffle': '0',