Commit Graph

232 Commits

Author SHA1 Message Date
be1c001942 Fix getPreferredSeason() (again)
fix selection of preferred season for languages other than english
2022-03-07 19:43:26 +01:00
30a5331bbc load preferred sub/content language on startup 2022-03-06 18:57:55 +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
2022-03-06 18:43:02 +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
2022-03-05 20:41:39 +01:00
2016e03e56 Use ktor instead of fuel for http requests [Part 1/2] 2022-03-05 19:22:47 +01:00
4505f95309 don't show fully watched episodes in "Up next" 2022-03-04 20:42:21 +01:00
e8bf63a666 add preferred content language selection
followup to 0b5a8e69fb
2022-03-04 20:29:37 +01:00
a51001ec2e replace MaterialDialog with MaterialAlertDialogBuilder in AboutFragment 2022-02-05 20:10:59 +01:00
0b5a8e69fb add preferred content language selection to AccountFragment
this contains only gui work
2022-02-05 20:02:33 +01:00
61c96f5ce2 update playhead on manually selected next episode & start fully watched episodes from the beginning 2022-02-04 23:07:48 +01:00
9bf0ae2f63 refresh access token, if it is expired, before doing a request 2022-02-01 17:21:42 +01:00
f66fca7ebb MediaFragment: update playhead progress/fully watched on resume 2022-02-01 17:21:42 +01:00
df4f43c0a2 Player: load media async and use playhead for initial episode 2022-02-01 17:21:42 +01:00
287ef57bdb 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
2022-02-01 17:21:42 +01:00
aa41884db5 the media type should not change while playing a media (tv show/movie) 2022-02-01 17:21:42 +01:00
bec0dc2628 implement playhead reporting to crunchyroll 2022-02-01 17:21:42 +01:00
4fed3ddb91 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
2022-02-01 17:21:42 +01:00
e652c001d3 Update the onboarding process to support crunchyroll
* only save credentials during onboarding, if login was successful
* show onboarding, if login failed
2022-02-01 17:21:42 +01:00
2f78fbea73 add highlight (random of newly added (n=10)) 2022-02-01 17:21:42 +01:00
a1fe08840f add newly added title to HomeFragment
* add support for season_list to crunchyroll parser
2022-02-01 17:21:42 +01:00
402fb06c9e add playheads to crunchyroll parser
* show watched icon, if episode has been fully watched
* add seasonTag to browse()
2022-02-01 17:21:42 +01:00
188d0d9162 add up next to home screen
for now up next will show the series and not play the actual episode
2022-02-01 17:21:42 +01:00
d5d70e49d2 add watchlist to home fragment 2022-02-01 17:21:42 +01:00
f2a798d4f7 add watchlist support for media fragment 2022-02-01 17:21:42 +01:00
d427691f6e update copyright/license notice 2022-02-01 17:21:42 +01:00
b4daac0814 replace tmdb multi search with type search (movie/tv)
multi search often retuns a wrong result, therfore use movie or tv show search
2022-02-01 17:21:42 +01:00
554af530e3 move TMDBApiCOntroller to Fuel and kotlinx.serialization
* add year and maturityRatings to MediaFragment
* don't show season selection if only one season is present
2022-02-01 17:21:42 +01:00
27e7f2a249 add subtitle selection to player 2022-02-01 17:21:42 +01:00
f97d07c2b8 implement season selection in MediaFragment 2022-02-01 17:21:42 +01:00
ecbbc5db7b implement preferred season/languag choosing in MediaFragment 2022-02-01 17:21:42 +01:00
4fd6f9ca7e add search for tv shows
media items are currently not selectable, the app will crash
2022-02-01 17:21:42 +01:00
63ce910ec5 implement lazy loading for LibraryFragment & code cleanup 2022-02-01 17:21:42 +01:00
7dc41da13c add support for crunchyroll media playback in player 2022-02-01 17:21:42 +01:00
236ca9a6c9 Implement media fragment for tv shows 2022-02-01 17:21:42 +01:00
a46fd4c6d2 implement index call
index is needed to retrieve identifiers necessary for streaming
2022-02-01 17:21:42 +01:00
c4bc3c7ea2 add rudimentary parsing for browsing results 2022-02-01 17:21:42 +01:00
844ff41dd3 add crunchyroll login and browse (no parsing for now) 2022-02-01 17:21:42 +01:00
3935f37267 update libraries
* kotlinx-coroutines-android 1.5.1 -> 1.5.2
* exoplayer 2.14.2 -> 2.15.0
* jsoup 1.13.1 -> 1.14.2
* gradle agp 7.0.1 -> 7.0.2
2021-09-05 13:43:27 +02:00
eeb1c33e43 use the epsidoeId for the next epsiode in PlayerViewModel 2021-09-05 11:54:55 +02:00
8753d4f36f fix tmdb episode description in player 2021-09-05 00:08:53 +02:00
5ea94b7ded add numberStr to AoDEpisode type & show tmdb episode info in player
* use numberStr instead of index to display the correct episode number, allowing for number such as "12.5"
* show tmdb episode description in player if found and aod description is missing
2021-09-05 00:08:03 +02:00
062013489d use notifyItem...() instead of notifyDataSetChanged() in MediaFragment 2021-09-05 00:04:59 +02:00
ed9eff433b AoDParser Media handling rework [Part 2/2]
* move Player to new AoD media Implementation
* remove old AoD media Implementation from AoDParser
2021-09-04 13:33:46 +02:00
c2a5f768b8 AoDParser Media handling rework [Part 1/2] 2021-08-31 19:47:18 +02:00
a505315781 fix crash if media is not found in tmdb 2021-08-29 15:05:34 +02:00
d76538cf28 use locale instead of string for language in AoDPlaylist 2021-08-29 15:05:34 +02:00
309a991007 fix for AoDParser related code clean up 2021-08-29 15:05:34 +02:00
0340c83b47 clean up some AoDParser related code 2021-08-29 15:05:34 +02:00
9dfd2cf70b added skip opening for tv shows
* available for tv shows, where metaDB has the needed information
2021-08-29 15:05:34 +02:00
26d2da923b use Gson in TMDBApiController, adapt tmdb types to api documentation
* use gson fromJson() to parse tmdb response
* adapt tmd types to documentation (nullable/non nullable)
2021-08-29 15:05:34 +02:00