ShokoAnime / ShokoServer

Repository for Shoko Server.
http://shokoanime.com/shoko-server/
MIT License
386 stars 75 forks source link

feature: add base augmentations to Series, Episode and File #1016

Closed revam closed 1 year ago

revam commented 1 year ago

add base augmentations to Series, Episode and File, allowing clients to fetch the AniDB/TvDB (and TMDB in the future) metadata for an entry in the same request.

revam commented 1 year ago

note: the underscores are used because otherwise will the property names conflict with the sub-classes present on the class.

revam commented 1 year ago

also, works on my machine™

revam commented 1 year ago

I've added the query parameter to multiple endpoints since I think Shokofin (and potentially other clients) can benefit from using the parameter. (Web ui only needed it for the /api/v3/Series/{seriesID}/Episode endpoint)

maxpiva commented 1 year ago

Could you compare it with the changes here https://github.com/ShokoAnime/ShokoServer/tree/Feat_ProviderCrossRefRefactor, will merge from main and start testing MovieDB episodes and CrossReference consolidations.

revam commented 1 year ago

Could you compare it with the changes here https://github.com/ShokoAnime/ShokoServer/tree/Feat_ProviderCrossRefRefactor, will merge from main and start testing MovieDB episodes and CrossReference consolidations.

@maxpiva I don't know what to compare between the two branches. Did you have anything specific in mind for the comparison?