Ok so I have been trying to get this to work and I believe it should. I am running ubuntu 13.04 with Plex 0.9.14.6 and I keep getting the following error. I will post my config file and the error below, Any help would be appreciated
Error
matt@AkersServer:~/Plex-Cleaner-master$ python PlexCleaner.py --test
Loading config file: /home/matt/Plex-Cleaner-master/Cleaner.conf
Traceback (most recent call last):
File “PlexCleaner.py”, line 804, in
options = json.loads(opt_string)
File “/usr/lib/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python2.7/json/decoder.py”, line 384, in raw_decode
raise ValueError(“No JSON object could be decoded”)
ValueError: No JSON object could be decoded
Here is the contents of my Cleaner.conf
{
“Host”: “”,
“Port”: “32400”,
“SectionList”: [11],
“IgnoreSections”: [],
“LogFile”: “log.log”,
“trigger_rescan”: true,
“Token”: “”,
“Username”: “USERNAME_FOR_PLEX.TV_ENETER_HERE”,
“Password”: “password_was_enetered_here”,
“Shared”: false,
“DeviceName”: “”,
“RemoteMount”: “”,
“LocalMount”: “”,
“plex_delete”: false,
“similar_files”: true,
“cleanup_movie_folders”: false,
“minimum_folder_size”: 30,
“default_episodes”: 0,
“default_minDays”: 0,
“default_maxDays”: 60,
“default_action”: “flag”,
“default_watched”: true,
“default_progressAsWatched”: 0,
“default_location”: “”,
“default_onDeck”: true,
“default_homeUsers”: “all”,
“ShowPreferences”: {
“Show 1”: {
“maxDays”: 30,
“action”: “delete”,
“onDeck”: true,
“minDays”: 10,
“location”: “/path/to/folder”,
“watched”: true,
“episodes”: 3
},
“Show 2”: {
“maxDays”: 30,
“action”: “delete”,
“onDeck”: false,
“minDays”: 10,
“location”: “/path/to/folder”,
“watched”: false,
“episodes”: 0
},
“Show 3”: {
“action”: “keep”
}
},
“MoviePreferences”: {
“action”: “flag”,
“location”: “”,
“minDays”: 0,
“onDeck”: true,
“watched”: true
},
“Profiles”: {
“Profile 1”: {
“episodes”: 3,
“action”: “delete”,
“onDeck”: true,
“minDays”: 10,
“location”: “/path/to/folder”,
“watched”: true,
“maxDays”: 30,
“homeUsers”: “”
}
},
“Version”: 1.91
}