diff --git a/examples/examples.py b/examples/examples.py index 82e77dca..361cb6ac 100644 --- a/examples/examples.py +++ b/examples/examples.py @@ -35,7 +35,7 @@ def example_003_list_all_clients(plex): def example_004_play_avatar_on_iphone(plex): """ Example 4: Play the Movie Avatar on my iPhone. """ avatar = plex.library.section('Movies').get('Avatar') - client = plex.client("Michael's iPhone") + client = plex.client("iphone-mike") client.playMedia(avatar) diff --git a/plexapi/playqueue.py b/plexapi/playqueue.py index 96261c4d..3eba0b38 100644 --- a/plexapi/playqueue.py +++ b/plexapi/playqueue.py @@ -25,7 +25,7 @@ class PlayQueue(object): def create(cls, server, video, shuffle=0, continuous=0): # NOTE: I have not yet figured out what __GID__ is below or where the proper value # can be obtained. However, the good news is passing anything in seems to work. - path = 'playQueues%s' % utils.joinArgs({ + path = '/playQueues%s' % utils.joinArgs({ 'uri': 'library://__GID__/item/%s' % video.key, 'key': video.key, 'type': 'video',