Skip to content

A python script for creating playlists and collections for all server users from sources like IMDB and Trakt

Notifications You must be signed in to change notification settings

pbrink231/plex_top_playlists

Repository files navigation

DEPRICATED

Suggest plex-meta-manager as a replacement for this project. It can do everything this does and more. I am also working on adding a module into Overseerr to allow list management with a nice UI that was missing from this project.

plex_top_playlists

Python 3 ONLY. Python 2 no longer works. Please check out settings.ini.example and adjust. Requires Python >= 3.6

A python script to get top weekly or top popular lists and put them in plex as playlists. It will make a playlist for each user on your server. This is my first time ever creating a python script. Also the first time really adding something useful to GitHub

Use at your own risk. I have it running nightly

Read This

This script is assuming you are using "Plex Movie" as your library check. If you are using TMDB it will not work.

The TV Shows playlists give the last episode in your library for the show. You can easily click the show name to go to it.

The playlists can be created for any of the following

  • All shared users (Normal or Managed)
  • Specific users by username
  • Only the script running user

NEW - Collections

  • Can use same lists like playlists but add a collection tag to the media instead of putting them in a playlist
  • Best when order does not matter

What lists this script currently retreives

  • Trakt Playlists Movies
  • Trakt Playlists Shows
  • IMDB Chart Lists
  • IMDB Custom lists
  • IMDB Search Lists
  • Missing Movies or Shows can be shown with relevent IDs to search in Sonarr or Radarr
  • Send message to discord with summary
  • Helper commands to see relevent information or one off playlist actions

Future wants to add (any help is welcome)

  • Add Tautulli Lists
  • Auto Add to Radarr
  • Auto Add to Sonarr
  • Tautulli history algorithim to suggest unwatched to a playlist or collection

Getting Started

Setup Instructions

Obtain Required Plex key and other optional keys

Examples

This created a playlist for each user in plex for all found in the list. The output shows what was not added because it was missing.

movie list output

movie list output

Used references to create the script

Thank you JonnyWong16 for his amazing scripts which I heavily referenced.

https://gist.github.com/JonnyWong16/2607abf0e3431b6f133861bbe1bb694e https://gist.github.com/JonnyWong16/b1aa2c0f604ed92b9b3afaa6db18e5fd

Thank you to gkspranger for forking and updating the script while I was MIA. I heavily used his updates.

About

A python script for creating playlists and collections for all server users from sources like IMDB and Trakt

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages