Plex-Cleaner icon indicating copy to clipboard operation
Plex-Cleaner copied to clipboard

[QUESTION] How to setup the script for myself AND shared user(s)?

Open moostmartijn opened this issue 1 year ago • 6 comments

I was already using this script for myself and it works great. Since a few days I'm sharing my server with a family member, and I would like this script to only delete a movie or episode if both of us watched it. I'm just not sure how to set it up. Do I need the Plex token of the shared user?

Thanks in advance!

{
  "test": false,
  "Host": "192.168.1.11",
  "Port": "32400",
  "SectionList": [],
  "IgnoreSections": [],
  "LogFile": "",
  "LogFileMode": "overwrite",
  "trigger_rescan": false,
  "EmailLog": false,
  "EmailServer": "",
  "EmailServerPort": 0,
  "EmailServerUseTLS": false,
  "EmailUsername": "",
  "EmailPassword": "",
  "EmailRecipient": "",
  "Token": "xxxxx",
  "Username": "",
  "Password": "",
  "Shared": false,
  "DeviceName": "",
  "RemoteMount": "",
  "LocalMount": "",
  "plex_delete": true,
  "similar_files": true,
  "cleanup_movie_folders": true,
  "minimum_folder_size": 10,
  "default_episodes": 0,
  "default_minDays": 0,
  "default_maxDays": 60,
  "default_action": "delete",
  "default_watched": true,
  "default_progressAsWatched": 0,
  "default_location": "",
  "default_onDeck": true,
  "default_homeUsers": "",
  "default_ignoreFolders": [],
  "ShowPreferences": {
    "Show 1": {
      "episodes": 3,
      "watched": true,
      "minDays": 0,
      "action": "delete",
      "location": "/path/to/folder",
      "onDeck": true,
      "maxDays": 30,
      "homeUsers": "Bob,Joe,Will"
    },
    "Show 2": {
      "episodes": 0,
      "watched": false,
      "minDays": 10,
      "action": "delete",
      "location": "/path/to/folder",
      "onDeck": false,
      "maxDays": 30
    },
    "Show 3": {
      "action": "keep"
    },
    "Show Preferences": {}
  },
  "MoviePreferences": {},
  "Profiles": {
    "Profile 1": {
      "episodes": 3,
      "watched": true,
      "minDays": 0,
      "action": "delete",
      "location": "/volume1/Films_2",
      "onDeck": true,
      "maxDays": 30,
      "homeUsers": ""
    }
  },
  "Version": 2.0,
  "Client_ID": "xxxxx"
}

moostmartijn avatar Mar 21 '23 14:03 moostmartijn