Added edited live video path to inspect, #865

This commit is contained in:
Rhet Turnbull
2022-12-11 20:43:01 -08:00
parent c3bd04f257
commit 3c8d7e13b9

View File

@@ -245,14 +245,18 @@ def format_paths(photo: PhotoInfo) -> str:
"""format photo paths for inspect_photo"""
path_str = bold("Path original: ")
path_str += f"[filepath]{format_path_link(photo.path)}[/]" if photo.path else "-"
if photo.path_edited:
path_str += "\n"
path_str += bold("Path edited: ")
path_str += f"[filepath]{format_path_link(photo.path_edited)}[/]"
if photo.path_live_photo:
path_str += "\n"
path_str += bold("Path live video: ")
path_str += f"[filepath]{format_path_link(photo.path_live_photo)}[/]"
if photo.path_edited:
path_str += "\n"
path_str += bold("Path edited: ")
path_str += f"[filepath]{format_path_link(photo.path_edited)}[/]"
if photo.path_edited_live_photo:
path_str += "\n"
path_str += bold("Path edited live video: ")
path_str += f"[filepath]{format_path_link(photo.path_edited_live_photo)}[/]"
if photo.path_raw:
path_str += "\n"
path_str += bold("Path raw: ")