From 8dcf49c58e9a87d425d24dbbaaa8d31e3dad26cb Mon Sep 17 00:00:00 2001 From: Pranjal Date: Thu, 13 Jul 2023 10:46:35 -0500 Subject: [PATCH] Delete media based on file size --- utility/media_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utility/media_manager.py b/utility/media_manager.py index 9b95b49c..78a5be0a 100644 --- a/utility/media_manager.py +++ b/utility/media_manager.py @@ -807,6 +807,8 @@ def action_show(items, selector, date, users=None): if opts.action == "show": action_show(size_lst, opts.select, opts.date) + elif opts.action == 'delete': + plex_deletion(size_lst, libraries, opts.toggleDeletion) else: print("Size must end with one of these notations: {}".format(", ".join(UNTIS.keys()))) pass