diff --git a/plexadm/cli.py b/plexadm/cli.py index 9f7e48a..56ac5d3 100644 --- a/plexadm/cli.py +++ b/plexadm/cli.py @@ -514,6 +514,9 @@ def list_renames(args: argparse.Namespace) -> int: if not any(filter_text in entry for entry in haystack): continue + if args.script and len(locations) > 1: + continue + filename = Path(locations[0]).name match_found = any(video.title in location for location in locations) @@ -523,6 +526,7 @@ def list_renames(args: argparse.Namespace) -> int: or "PPV" in filename or " PPV " in locations[0] or "?" in video.title + or not video.title.isascii() ): match_found = True