Delete media based on file size

This commit is contained in:
Pranjal 2023-07-13 10:46:35 -05:00
parent c30850673a
commit 8dcf49c58e

View File

@ -807,6 +807,8 @@ if __name__ == '__main__':
if opts.action == "show": if opts.action == "show":
action_show(size_lst, opts.select, opts.date) action_show(size_lst, opts.select, opts.date)
elif opts.action == 'delete':
plex_deletion(size_lst, libraries, opts.toggleDeletion)
else: else:
print("Size must end with one of these notations: {}".format(", ".join(UNTIS.keys()))) print("Size must end with one of these notations: {}".format(", ".join(UNTIS.keys())))
pass pass