ngovil21/Plex-Cleaner

Flag only that cannot be deleted, moved ...

mtungtn opened this issue · 0 comments

Please help, I tried changing the default action to move, delete, but after running with --test, only the flag will be displayed and never deleted?
I experimented with movies, not TV shows

        Summary -- Script Completed

** Currently in testing mode. Please review the changes below. **
Remove test from the configuration if everything looks okay.

Config file: /home/pi/Cleaner.conf
Total File Count 451
Kept Show Files 437
On Deck Files 13
Deleted Files 0
Moved Files 0
Copied Files 0
Flagged Files 14
Rescanned Sections

and in /home/pi/Cleaner.conf:

{
“test”: true,
“Host”: “127.0.0.1”,
“Port”: “32400”,
“SectionList”: [
7,
3
],
“LogFile”: “/mnt/usbdrive/Backup/Log/plexclean.log”,
“LogFileMode”: “overwrite”,
“trigger_rescan”: false,
“Token”: “xxxxxx”,
“Shared”: true,
“DeviceName”: “xxxx”,
“plex_delete”: false,
“similar_files”: true,
“cleanup_movie_folders”: false,
“minimum_folder_size”: 30,
“default_episodes”: 1,
“default_minDays”: 1,
“default_maxDays”: 2,
“default_action”: “move”,
“default_watched”: true,
“default_progressAsWatched”: 50,
“default_location”: “/mnt/usbdrive/Movies/Test/”,
“default_onDeck”: true,
“default_homeUsers”: “xxxxx”,
“default_ignoreFolders”: [
“/mnt/usbdrive/4K video/”,
“/mnt/usbdrive/Music/”
],
“ShowPreferences”: {
“Show 1”: {
“onDeck”: true,
“maxDays”: 2,
“minDays”: 1,
“episodes”: 3,
“location”: “/mnt/usbdrive/”,
“action”: “move”,
“watched”: true
},
“Show 2”: {
“onDeck”: false,
“maxDays”: 2,
“minDays”: 1,
“episodes”: 0,
“location”: “/path/to/folder”,
“action”: “move”,
“watched”: true
},
“Show 3”: {
“action”: “keep”
}
},
“MoviePreferences”: {
“action”: “move”,
“location”: “”,
“minDays”: 1,
“onDeck”: true,
“watched”: true
},
“Profiles”: {
“Profile 1”: {
“onDeck”: true,
“maxDays”: 2,
“minDays”: 1,
“homeUsers”: “”,
“episodes”: 3,
“location”: “/path/to/folder”,
“action”: “move”,
“watched”: true
}
},
“Version”: 2.0,
“Client_ID”: “xxxxxxxx”
}