diff --git a/autoupdate_app_sources/autoupdate_app_sources.py b/autoupdate_app_sources/autoupdate_app_sources.py index fd6bc1c1..43ea82e3 100755 --- a/autoupdate_app_sources/autoupdate_app_sources.py +++ b/autoupdate_app_sources/autoupdate_app_sources.py @@ -295,6 +295,10 @@ def apply_version_regex(tag: str) -> Optional[str]: dict(sorted(match.groupdict().items())).values() or match.groups() ) + if app_id == "photoprism": + # Stupid fix for Photoprism whose package version is 2024.x while app version is 24.x + tag = f"20{tag}" + # Then remove leading v tag = tag.lstrip("v") return tag