Skip to content

Plex Auto Collections

James Shopland edited this page Apr 2, 2021 · 2 revisions

PLACEHOLDER - ROLE NOT ADDED YET

Setup

Step 1 - Settings

In the community settings.yml you should see

plex_auto_collections:
  cron_time: hourly
  state: present

These are the settings for the cron job.

  • cron_time can be annually, daily, hourly, monthly, reboot, weekly, yearly
  • state can be 'present' or 'absent'. Absent deletes the cron job, for if you'd prefer to run the script manually.

If you changed these settings, re run the tag.

Note: for more control over the cron time, just edit the entry at crontab -e. If you do edit this however, please remove the Ansible header above it and set 'state' to absent in settings.yml to ensure it does not get added on update.

Step 2 - Config

After running the tag you will need to set up your config.yml in /opt/plex-auto-collections/config.

A template is provided in that folder. The wiki for the config set up can be found here https://github.com/mza921/Plex-Auto-Collections

Step 3 - Verify

Now that you have made you config, I highly recommend attempting a manual run through. To do this run /opt/plex-auto-collections/pac-initial.sh This allows you to set up trakt auth etc. Just follow the on screen prompts.

You do not have to start the collection adding process, just verify it gets there.

With all the above complete, plex-auto-collections will automatically run at the cron_time.

Extra - Headless mode (ignore if state set to present (default))

To run the docker in headless mode, run the script `/opt/plex-auto-collections/pac-headless.sh

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally