This app searches the specified folders for TV shows, and removes them if they are marked as watched on Trakt.tv.
This app requires a Trakt API app to be created.
Command line options can be specified when running the app:
Usage of ./series-cleanup:
-c string
Specify config file to use (default "settings.json")
-d string
Specify folder to store data (default "/data")
Create a copy of examples/settings.json and modify the settings to your preferences. Make sure to specify the Trakt Client ID and Client Secret according to your Trakt API app values.
The Trakt Client ID and Client Secret can also be provided as environment variables instead of putting them in the configuration file:
TRAKT_CLIENT_ID
TRAKT_CLIENT_SECRET
A Docker image can be found here: GitHub Container Registry. This image expects the configuration file to be available at /data/settings.json
.