Add crunchyroll support to teapod.
Note: To use the current state you need to add an API Key in [Crunchyroll.kt#L54](https://git.mosad.xyz/Seil0/teapod/src/branch/feature/crunchyroll/app/src/main/java/org/mosad/teapod/parser/crunchyroll/Crunchyroll.kt#L54)
### TODO Basic
* [x] login
* [x] On-Boarding
* [x] browse
* [x] refresh tokens if they expire (needed for production ready)
* on request -> just get a new token, if the old one is expired (cr does it too)
### TODO Media
* [x] media info
* [x] watchlist (indication, post, delete)
* [x] seasons
* [x] parse and show first season
* [x] pre select preferred season based on preferred language
* [x] allow season change (language/shows with multiple seasons)
* [x] episodes (has link to playback json)
* [x] episodes playback state -> [playheads](https://github.com/hyugogirubato/API-Crunchyroll-Beta/wiki/Playhead)
* show playhead/progress per episode (Netflix like) (later)
* [x] auto play next episode
* [x] localy via current episode
* [x] in media fragment -> [up_next_series](https://github.com/hyugogirubato/API-Crunchyroll-Beta/wiki/Up-next-series)
* [x] update playhead progress/fully watched on resume (when returning from the player)
* [x] ~~similat_to (nice to have)~~ will be implemented in #50
### TODO Playback
* [x] index (policyy signature, key_pair_id)
* [x] [playheads](https://github.com/hyugogirubato/API-Crunchyroll-Beta/wiki/Playhead) progress reporting
* [x] add playhead/start at second to player
* [x] auto play next episode
### TODO Home
* [x] ~~carousel~~ (replaced with a random title from newly added)
* [x] up_next_account
* [x] show up next in homescreen
* [x] ~~start playback of the selected episode (currently the series is shown)~~ will be implemented in #50
* [x] watchlist
* [x] simulcasts (latest season)
* [x] browse with season_tag=fall-2021
* [x]needs /content/v1/season_list for season_tag list
* [x] ~~recommendations~~ will be implemented in #50
### TODO Account
* [x] preferred content language
* [x] ~~profile~~ may be implemented in #50
* [x] ~~subscriptions~~ may be implemented in #50
### TODO Legal
* [x] https://git.mosad.xyz/mosad/NonePublicIssues/issues/1
closes #48
Seil0
self-assigned this 2022-01-03 14:52:50 +01:00
* update preferred locale in preferences, is is the actual locale implementation
* update token handling for crunchy (country via token)
* update TMDBApiController to use ktor
* add parsable dates to NoneTMDBTVShow and NoneTMDBMovie
* fix playback for other shows with no language set in cr API
* fix selection of preferred season for languages other than german
* add support for all content languages to TMDBApiController
* preferSecondary is now preferSubbed, this describes the function more clearly
* remove jsoup, not used anymore
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Add crunchyroll support to teapod.
Note: To use the current state you need to add an API Key in Crunchyroll.kt#L54
TODO Basic
TODO Media
similat_to (nice to have)will be implemented in #50TODO Playback
TODO Home
carousel(replaced with a random title from newly added)start playback of the selected episode (currently the series is shown)will be implemented in #50recommendationswill be implemented in #50TODO Account
profilemay be implemented in #50subscriptionsmay be implemented in #50TODO Legal
closes #48
35563eeefeto9bf0ae2f63