Compare commits
2 Commits
v0.1.76.0-
...
v0.1.77.0-
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ccda44623 | |||
| 1dbc93afd1 |
@@ -1,3 +1,11 @@
|
||||
## 0.1.76.5-dev - 2026-03-10
|
||||
|
||||
- dev: Versionsfilter fuer 4-teilige Versionsnummern korrigiert
|
||||
|
||||
## 0.1.76.0-dev - 2026-03-10
|
||||
|
||||
- dev: bump to 0.1.76.0-dev – aeltere Versionen im Update-Dialog, Release-Branch-Zuordnung, README ueberarbeitet
|
||||
|
||||
## 0.1.74-dev - 2026-03-10
|
||||
|
||||
- dev: bump to 0.1.74-dev – BurningSeries entfernt, Paging-Fix Neuste Titel
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.76.0-dev" provider-name="ViewIt">
|
||||
<addon id="plugin.video.viewit" name="ViewIt" version="0.1.77.0-dev" provider-name="ViewIt">
|
||||
<requires>
|
||||
<import addon="xbmc.python" version="3.0.0" />
|
||||
<import addon="script.module.requests" />
|
||||
|
||||
@@ -1242,15 +1242,15 @@ def _version_sort_key(version: str) -> tuple[int, ...]:
|
||||
|
||||
|
||||
def _is_stable_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _is_nightly_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+-nightly$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?-nightly$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _is_dev_version(version: str) -> bool:
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+-dev$", str(version or "").strip()))
|
||||
return bool(re.match(r"^\d+\.\d+\.\d+(\.\d+)?-dev$", str(version or "").strip()))
|
||||
|
||||
|
||||
def _filter_versions_for_channel(channel: int, versions: list[str]) -> list[str]:
|
||||
@@ -1418,7 +1418,7 @@ def _extract_changelog_section(changelog_text: str, version: str) -> str:
|
||||
start = idx
|
||||
break
|
||||
if start < 0:
|
||||
return f"Kein Changelog-Abschnitt fuer Version {wanted} gefunden."
|
||||
return ""
|
||||
|
||||
end = len(lines)
|
||||
for idx in range(start + 1, len(lines)):
|
||||
@@ -1441,7 +1441,7 @@ def _fetch_changelog_for_channel(channel: int, version: str) -> str:
|
||||
try:
|
||||
text = _read_text_url(url)
|
||||
except Exception:
|
||||
return "Changelog konnte nicht geladen werden."
|
||||
return ""
|
||||
return _extract_changelog_section(text, version)
|
||||
|
||||
|
||||
@@ -3732,6 +3732,7 @@ def _show_version_selector() -> None:
|
||||
|
||||
version = versions[selected]
|
||||
changelog = _fetch_changelog_for_channel(channel, version)
|
||||
if changelog:
|
||||
viewer = getattr(xbmcgui.Dialog(), "textviewer", None)
|
||||
if callable(viewer):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user