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

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: ")