Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions plexadm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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

Expand Down