About this article
This article covers the installation of Autoscan within the QuickBox environment. No matter if you are installing from the Dashboard or via CLI, we have attempted to make the installation and setup of Autoscan a quick and easy process that includes building your config file based on what applications you already have installed. If you are unsure about what Autoscan is, or if you are not sure it fits your needs, please refer to the Autoscan Quick Reference article for links and more about what Autoscan aims to achieve.
Best practice - Before you install
The easiest way to have Autoscan installed and without having to get into a load of elbow grease configuring things. We advise that you first have the application's installed that Autoscan performs tasks for. This ensures that all triggers and targets are automagically setup by the QuickBox install.
Autoscan works with the following applications, and we’ll divide these up into groups.
Triggers
These are the applications responsible for signaling Autoscan to perform it’s tasks for the targets.
- inotify (if RClone is installed)
- Radarr
- Sonarr
Targets
These are the media applications that Autoscan will notify/scan the media to the Library after the triggers have signaled the tasks for Autoscan (on completion). Do note that for Emby and Jellyfin you will need to setup an API Token first. Doing so will reduce any additional effort on your end to setup Autoscan.
- Emby (set an API Token named Autoscan)
- Plex
- Jellyfin (set an API Token named Autoscan)
Install Autoscan from the Dashboard
- Login to your Dashboard at
https://SERVERIP(or)DOMAIN/login.php
- Navigate to your Apps Dashboard and click on the Application Management tab.
- Click on the Install button for Autoscan.
- You’re done! If you already have the applications installed as posted above, then you already have a valid config file generated for Autoscan and there is nothing left to do!
Install Autoscan from CLI
- Login to your server via ssh.
- Once logged into your server type
sudo su -
orsudo -i
followed by hitting enter on your keyboard. This properly elevates your bash environment for runningqb
commands. - Once your bash is elevated you can now type
qb install autoscan USERNAME
(where USERNAME is your actual username within your QuickBox install). - You’re done! If you already have the applications installed as posted above, then you already have a valid config file generated for Autoscan and there is nothing left to do!
Here is a preview of the config.yml after install. This install was done with the applications Radarr, RClone, and Plex installed beforehand.
After installing Autoscan
Once you have Autoscan installed and the service running, you can now navigate to your Emby, Jellyfin, or Plex and disable the scanning provided by those applications. Just let Autoscan do it’s magic!
If you are not utilizing RClone, or you are and notice your media is not being scanned and added to your preferred media solution, then you should setup the proper Webhooks within the Radarr and/or Sonarr applications. This will ensure that Autoscan picks up the completed tasks set by these triggers and perform the necessary scans.