Merge pull request #668 from croneter/pr_sequence_item
Fix playlist sync: sequence item 0: expected string or unicode
This commit is contained in:
commit
1d17dd867c
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ def add_items(playlist, plex_ids):
|
|||
'title': playlist.plex_name,
|
||||
'smart': 0,
|
||||
'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/',
|
||||
action_type='POST',
|
||||
|
|
Loading…
Reference in a new issue