{"id":13551800,"url":"https://github.com/ngovil21/Plex-Cleaner","last_synced_at":"2025-04-03T02:31:46.142Z","repository":{"id":31204926,"uuid":"34765853","full_name":"ngovil21/Plex-Cleaner","owner":"ngovil21","description":"A script to clean up movies and episodes in Plex Media Server","archived":true,"fork":false,"pushed_at":"2018-12-12T20:13:27.000Z","size":258,"stargazers_count":238,"open_issues_count":28,"forks_count":43,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-03T22:33:32.960Z","etag":null,"topics":["plex","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngovil21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-29T01:39:39.000Z","updated_at":"2024-11-02T18:42:46.000Z","dependencies_parsed_at":"2022-08-26T11:34:01.418Z","dependency_job_id":null,"html_url":"https://github.com/ngovil21/Plex-Cleaner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngovil21%2FPlex-Cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngovil21%2FPlex-Cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngovil21%2FPlex-Cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngovil21%2FPlex-Cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngovil21","download_url":"https://codeload.github.com/ngovil21/Plex-Cleaner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246925361,"owners_count":20855876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plex","python"],"created_at":"2024-08-01T12:01:53.875Z","updated_at":"2025-04-03T02:31:45.828Z","avatar_url":"https://github.com/ngovil21.png","language":"Python","funding_links":["https://www.paypal.me/ngovil21/1","https://www.paypal.me/ngovil21/3"],"categories":["Python"],"sub_categories":[],"readme":"## Please update the script to version 1.94 to avoid problems with your server by creating too many devices!\n\n# Plex Cleaner\n\nA Script to clean up space on your Plex Media Server!\n\nAutomatically delete watched episodes or movies. Lots of customizable options.\n\n## Configuration\n\nTo begin make a copy of Cleaner.conf.default and rename it as Cleaner.conf. You can then make edits to the Cleaner.conf file with your own settings. Descriptions of the settings are in the PlexCleaner.py script.\n\nAlternatively you can create a config file by running the script with the option --dump [Path to Config file].\n\n    python PlexCleaner.py --dump \"/path/to/config/file\"\n\nPlexCleaner will then create a config file at the path specified with example values. You can then make edits to the config file based on your preferences. The formatting is very specific for the config file, if you have difficulty editing it, you can edit the default values in the script and then run the `--dump` argument to create a properly formatted config file.\n\nBy default plex will check in the users home directory for a .plexcleaner file, then in the current directory for a .plexcleaner or Cleaner.conf file. If you stored the config file in another location you will need to load the config file using the `--config` argument.\nTo do so you would run PlexCleaner as:\n\n    python PlexCleaner.py --config \"/path/to/config/file\"\n\nIf the script is updated and you need to update your config file without losing your settings you can run PlexCleaner with `--update_config` argument. This will add any new configuration settings without overwriting any of your settings in the config file.\n\nAfter you have entered your settings, it is recommended you first run the script with the `--test` flag. The `--test` flag will run the script without performing any actions, and flagging files that would be marked for deletion, copying, or moving. Once you have determined that the output is correct, you can run the script without the `--test` flag. The `--test` flag will also output the token used to login so you don't have to leave login details in the script.\n\n## Docker\n\nYou can find a dockerized version of this script here: https://github.com/NitriKx/docker-Plex-Cleaner\n\n```\ndocker pull nitrikx/plex-cleaner\ndocker run -ti -v /path/to/config/folder nitrikx/plex-cleaner\n```\n\n## Support\n\nIf you want to support me (does not equal development): \u003cbr\u003e\n\u003ca href=\"https://www.paypal.me/ngovil21/1\" target=blank\u003e\u003cimg src=http://imgur.com/WSVZSTW.png alt=\"Buy Me a Coffee\" height=75 width=150 align='center'\u003e\u003c/a\u003e \u0026nbsp;\u0026nbsp; or \u0026nbsp;\u0026nbsp; \u003ca href=\"https://www.paypal.me/ngovil21/3\" target=blank\u003e\u003cimg src=http://imgur.com/gnvlm6n.jpg alt=\"Buy Me a Beer\" height=75 width=150 align='center'\u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngovil21%2FPlex-Cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngovil21%2FPlex-Cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngovil21%2FPlex-Cleaner/lists"}