fix convert error, improoved tmdb data retrive

This commit is contained in:
sha
2026-01-03 19:19:47 +00:00
parent 24f31166d3
commit 390e8e8f83
10 changed files with 57 additions and 18 deletions
+1
View File
@@ -71,6 +71,7 @@ class MediaPanelView:
self._props.tmdb_title,
self._props.tmdb_original_title,
self._props.tmdb_year,
self._props.tmdb_countries,
self._props.tmdb_genres,
self._props.tmdb_database_info,
self._props.tmdb_url,
+9
View File
@@ -123,6 +123,15 @@ class MediaPanelProperties:
"""Get TMDB year formatted with label."""
return self._extractor.get("year", "TMDB")
@property
@text_decorators.blue()
@conditional_decorators.wrap("Countries: ")
@text_decorators.yellow()
@conditional_decorators.default("<None>")
def tmdb_countries(self) -> str:
"""Get TMDB production countries formatted with label."""
return self._extractor.get("production_countries", "TMDB")
@property
@text_decorators.blue()
@conditional_decorators.wrap("Genres: ")