mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix wallpaper api
This commit is contained in:
@@ -77,5 +77,7 @@ def wallpapers() -> Any:
|
|||||||
return WebUtils.get_bing_wallpapers()
|
return WebUtils.get_bing_wallpapers()
|
||||||
elif settings.WALLPAPER == "mediaserver":
|
elif settings.WALLPAPER == "mediaserver":
|
||||||
return MediaServerChain().get_latest_wallpapers()
|
return MediaServerChain().get_latest_wallpapers()
|
||||||
else:
|
elif settings.WALLPAPER == "tmdb":
|
||||||
return TmdbChain().get_trending_wallpapers()
|
return TmdbChain().get_trending_wallpapers()
|
||||||
|
else:
|
||||||
|
return []
|
||||||
|
|||||||
Reference in New Issue
Block a user