Fix TypeError
This commit is contained in:
parent
cf3cc2c3a9
commit
0afe265524
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Add table
Reference in a new issue