Delete media based on file size
This commit is contained in:
parent
c30850673a
commit
8dcf49c58e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user