# plexapi - How to add to playqueue?

**URL:** <https://forums.plex.tv/t/plexapi-how-to-add-to-playqueue/225716>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [February 15, 2018, 11:41pm UTC](https://forums.plex.tv/t/plexapi-how-to-add-to-playqueue/225716 "2018-02-15T23:41:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![socon](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@socon](https://forums.plex.tv/u/socon)\
**Post date:** [February 15, 2018, 11:41pm UTC](https://forums.plex.tv/t/plexapi-how-to-add-to-playqueue/225716/1 "2018-02-15T23:41:20Z")

</div>

I’m working on a python script that runs on Rasplex at startup to add all videos in a specific library to the playqueue and play the queue.

I have gotten this to work by first creating a playlist containing all the videos in a particular library and then create a playqueue from the playlist ( plex.createPlayQueue(playlist, shuffle=1, repeat=1)) Is there no method to add all videos in one library into the playqueue without creating a playlist first?

I see how the same call can create a playqueue by specifying one single media file plex.createPlayQueue(video) but I cannot seem to find how to add more videos to this playqueue.

My goal is to simply to add all videos from one specific library to the playqueue. Any help appreciated!

---

<div class="post-metadata">

**Author:** ![PKKid](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pkkid/32/991_2.png) [@PKKid](https://forums.plex.tv/u/PKKid)\
**Post date:** [February 16, 2018, 3:46pm UTC](https://forums.plex.tv/t/plexapi-how-to-add-to-playqueue/225716/2 "2018-02-16T15:46:12Z")

</div>

It looks like we just never implemented this yet. If you open a bug on the github page we’ll make it one of the next things we work on. [https://github.com/pkkid/python-plexapi/issues](https://github.com/pkkid/python-plexapi/issues)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 8:07pm UTC](https://forums.plex.tv/t/plexapi-how-to-add-to-playqueue/225716/3 "2020-01-08T20:07:09Z")

</div>


