Creating playlists / adding items to playlists

Is it possible to do this from a plugin? For example during metadata aggregation, add specific media items to an existing playlist, or create a new one if it doesn't exist yet?

 

 

I've found this script which is a good starting point: https://github.com/dakusan/PlexPlaylistImporter/blob/master/PlexPlaylistImporter.py

However, when importing `sqlite3` inside an agent, the module is not found. Looks like it's not available in the plex runtime.

Is this a restriction by the plex devs?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.