Fix playlist sync: sequence item 0: expected string or unicode
This commit is contained in:
parent
b3402fc3d5
commit
d09d2e6aaf
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ def add_items(playlist, plex_ids):
|
||||||
'title': playlist.plex_name,
|
'title': playlist.plex_name,
|
||||||
'smart': 0,
|
'smart': 0,
|
||||||
'uri': ('server://%s/com.plexapp.plugins.library/library/metadata/%s'
|
'uri': ('server://%s/com.plexapp.plugins.library/library/metadata/%s'
|
||||||
% (app.CONN.machine_identifier, ','.join(plex_ids)))
|
% (app.CONN.machine_identifier,
|
||||||
|
','.join(unicode(x) for x in plex_ids)))
|
||||||
}
|
}
|
||||||
xml = DU().downloadUrl(url='{server}/playlists/',
|
xml = DU().downloadUrl(url='{server}/playlists/',
|
||||||
action_type='POST',
|
action_type='POST',
|
||||||
|
|
Loading…
Reference in a new issue