mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 06:54:03 +02:00
add ability to update show's metadata and extract the poster image download logic into a separate function
This commit is contained in:
@@ -24,6 +24,15 @@ class AbstractMetadataProvider(ABC):
|
||||
def search_show(self, query) -> list[MetaDataProviderShowSearchResult]:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def download_show_poster_image(self, show: Show) -> bool:
|
||||
"""
|
||||
Downloads the poster image for a show.
|
||||
:param show: The show to download the poster image for.
|
||||
:return: True if the image was downloaded successfully, False otherwise.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
metadata_providers = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user