Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Custom python plexlibrary libraries

Veepas edited this page Sep 23, 2018 · 21 revisions

Create custom libraries like...

Movies - 1001 Movies You Must See Before You Die
Movies - Anime
Movies - IMDB Top 250
Movies - Kids
Movies - Recommended
Movies - Trending
TV - Trending
  1. cd ~/cloudbox
  2. sudo ansible-playbook cloudbox.yml --tags python-plexlibrary
  3. nano /opt/python-plexlibrary/config.yml (fill out details)
  4. cp /opt/python-plexlibrary/recipes/examples/cloudbox/movies_1001_you_must_see_before_you_die.yml /opt/python-plexlibrary/recipes
  5. nano /opt/python-plexlibrary/recipes/movies_1001_you_must_see_before_you_die.yml (fill out details)
  6. python plexlibrary movies_1001_you_must_see_before_you_die
  7. Navigate to Plex Web.
  8. Wait till you see the new library appear.
  9. Quickly edit the library and turn off Include in Dashboard + Enable video preview thumbnails + set Collections = Disabled.

Tip #1:

You can run the command plexlibrary from anywhere to run through each recipe you have in /opt/python-plexlibrary/recipes/


Tip #2:

Set "--skip-links": null in your /opt/cloudplow/config.json to ignore the symlink warnings and stop cloudplow triggering unnecessarily.

"rclone_extras": {
    "--checkers": 16,
    "--drive-chunk-size": "64M",
    "--stats": "60s",
    "--transfers": 8,
    "--verbose": 1,
    "--skip-links": null
  },

Tip #3:

Set the path in the recipes for the source_libraries as follows:

# Source library details
source_libraries:
    # [Cloudbox] 'name' = Plex library name.
  - name: 'Filme'
    # [Cloudbox] 'folders' = Plex library path (i.e '/data/...').
    folders:
      - '/data/Movies/Movies/'

The plex docker container has set "/mnt/unionfs/Media/" to "/data/" . Keep that in mind when setting the path.

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally