crunchyroll support #49

Merged
Seil0 merged 42 commits from feature/crunchyroll into develop 2022-03-19 20:42:54 +01:00
Owner

Add crunchyroll support to teapod.

Note: To use the current state you need to add an API Key in Crunchyroll.kt#L54

TODO Basic

  • login
    • On-Boarding
  • browse
  • 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

  • media info
  • watchlist (indication, post, delete)
  • seasons
    • parse and show first season
    • pre select preferred season based on preferred language
    • allow season change (language/shows with multiple seasons)
  • episodes (has link to playback json)
  • episodes playback state -> playheads
    • show playhead/progress per episode (Netflix like) (later)
  • auto play next episode
    • localy via current episode
    • in media fragment -> up_next_series
    • update playhead progress/fully watched on resume (when returning from the player)
  • similat_to (nice to have) will be implemented in #50

TODO Playback

  • index (policyy signature, key_pair_id)
  • playheads progress reporting
  • add playhead/start at second to player
  • auto play next episode

TODO Home

  • carousel (replaced with a random title from newly added)
  • up_next_account
    • show up next in homescreen
    • start playback of the selected episode (currently the series is shown) will be implemented in #50
  • watchlist
  • simulcasts (latest season)
    • browse with season_tag=fall-2021
    • needs /content/v1/season_list for season_tag list
  • recommendations will be implemented in #50

TODO Account

  • preferred content language
  • profile may be implemented in #50
  • subscriptions may be implemented in #50

closes #48

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
Seil0 added 16 commits 2022-01-03 14:52:51 +01:00
Seil0 added 1 commit 2022-01-05 00:28:57 +01:00
2fa5a0aacd
add up next to home screen
for now up next will show the series and not play the actual episode
Seil0 added 1 commit 2022-01-05 01:28:43 +01:00
04b1ac5a53
add playheads to crunchyroll parser
* show watched icon, if episode has been fully watched
* add seasonTag to browse()
Seil0 added 1 commit 2022-01-06 18:39:30 +01:00
22d2d777c8
add newly added title to HomeFragment
* add support for season_list to crunchyroll parser
Seil0 added 1 commit 2022-01-06 19:01:04 +01:00
Seil0 added this to the 1.0.0 milestone 2022-01-08 15:44:24 +01:00
Seil0 added 1 commit 2022-01-08 19:20:29 +01:00
e98e75456e
Update the onboarding process to support crunchyroll
* only save credentials during onboarding, if login was successful
* show onboarding, if login failed
Seil0 added 1 commit 2022-01-09 18:41:38 +01:00
a10287f747
add upNextSeries
the MediaFragment will show the next episodes title instead for the series title and play the "next up" episode when the play button is clicked
Seil0 added 1 commit 2022-01-09 19:23:40 +01:00
Seil0 added 1 commit 2022-01-09 19:24:28 +01:00
Seil0 added 1 commit 2022-01-18 18:38:00 +01:00
1e54bc7983
don't show next ep button or autoplay if the current ep is the last ep
next_episode_id can be non null, even if it's the last episode
Seil0 added 1 commit 2022-01-29 20:00:42 +01:00
Seil0 added 1 commit 2022-01-29 20:33:08 +01:00
Seil0 added 1 commit 2022-01-30 12:24:55 +01:00
Seil0 force-pushed feature/crunchyroll from 35563eeefe to 9bf0ae2f63 2022-02-01 17:22:51 +01:00 Compare
Seil0 added 1 commit 2022-02-04 23:08:07 +01:00
Seil0 added 1 commit 2022-02-05 20:02:52 +01:00
Seil0 added 1 commit 2022-02-05 20:11:07 +01:00
Seil0 added 1 commit 2022-03-04 20:29:54 +01:00
Seil0 added 1 commit 2022-03-04 20:42:29 +01:00
Seil0 added 1 commit 2022-03-05 19:22:54 +01:00
Seil0 added 1 commit 2022-03-05 20:41:51 +01:00
75204e522d
Use ktor instead of fuel for http requests [Part 2/2]
* 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
Seil0 added 1 commit 2022-03-06 18:43:11 +01:00
0797e9fa3d
Fix multiple language related issues
* 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
Seil0 added 1 commit 2022-03-06 18:58:01 +01:00
Seil0 added 1 commit 2022-03-07 19:43:38 +01:00
be1c001942
Fix getPreferredSeason() (again)
fix selection of preferred season for languages other than english
Seil0 added 2 commits 2022-03-19 20:14:46 +01:00
Seil0 changed title from WIP: crunchyroll support to crunchyroll support 2022-03-19 20:15:00 +01:00
Seil0 added 1 commit 2022-03-19 20:38:28 +01:00
Seil0 added 1 commit 2022-03-19 20:42:16 +01:00
Seil0 merged commit 0aece1d8fa into develop 2022-03-19 20:42:54 +01:00
Sign in to join this conversation.
No description provided.