Search the Community
Showing results for tags 'IRemoteMetadataProvider'.
-
Hello, this is somewhat related to a previous request of mine, about accessing existing series metadata. Some metadata providers store seasons as individual series and only store the prequel and sequel seasons. Because of this the metadata of the series (e.g. the first season) is not in sync with its child seasons. For example the Status, Community Rating, Release date, Year and End date only relate to the first season. This breaks filters on a series level, since the series entity is out of sync with the metadata of its seasons other than season 1. It would be nice if we could sync the series metadata with its child seasons. I thought about being able to do this modification of the overlying series object in IRemoteMetadataProvider<Season, SeasonInfo>, but it could introduce unexpected side effects and would violate the single responsibility principle. Maybe we can come up with a different API for cases like this, where the structure of metadata is not in a tree shape (series > season > episode). Thanks for all your hard work!
- 5 replies
-
- IRemoteMetadataProvider
- Season
-
(and 1 more)
 Tagged with:
-
Accessing existing Series Metadata from within IRemoteMetadataProvider<Season, SeasonInfo>
Tobi Uchiha posted a topic in Developer API
Hello, I was wondering how I would access existing Series Metadata from within a class that implements IRemoteMetadataProvider<Season, SeasonInfo>. I need the series name in order to search for related seasons. I can get the Series Id from info.SeriesProviderIds, but to get the name I would have to once again query the API, which is unneeded, since the series metadata is already present at the time the RemoteMetadataProvider of the Season is called. Is there any Metadata store i can query or something of the likes? Thanks in advance!