Commit Graph

97 Commits

Author SHA1 Message Date
Jannik 17dbe945e5
mograte MyListFragment to use a simple ViewModel
fixes crashes in MyListFragment if the User closes the fragment with a loading job still running, part of #56
2023-10-15 18:44:22 +02:00
Jannik 1a012cba7d
add support for dedicated subtitle and audio language settings 2023-07-21 21:42:55 +02:00
Jannik 59a457430e
migrate more Crunchyroll API endpoints to v2 2023-07-21 17:22:45 +02:00
Jannik 3549a3d2a7
migrate Crunchyroll.objects() to new v2 endpoint
fixes #71
2023-07-21 11:39:48 +02:00
Jannik cf02bee7d4
minor fixes
* fix episode count in MediaFragement
* fix tmdb language tag
* update media type detection to use the episode field as episodeNumber may be messinging from certain episodes of tv shows
2023-04-16 13:49:22 +02:00
Jannik 2cb05de810
fix theme selection dialog to work with system theme also use system as new default 2023-04-15 22:48:59 +02:00
Jannik 14ad34138c
fix onboarding fragments and bottom sheet login 2023-04-15 22:02:49 +02:00
Jannik 47e1f6bd49
initial migration to material 3 2023-03-29 16:16:31 +02:00
Jannik 7004d73b9f
update libraries and kotlin
* kotlin 1.7.20 -> 1.8.10
* ktor 2.2.1 -> 2.2.4
* exo player 2.18.2 -> 2.18.3
* androidx.appcompat 1.6.0 -> 1.6.1
* androidx.security:security-crypto 1.1.0-alpha04 -> 1.1.0-alpha05
* com.google.android.material 1.7.0 -> 1.8.0
2023-03-01 17:17:23 +01:00
Jannik d40ab9519c
migrate playheads() to crunchyroll v2 api 2023-02-19 16:53:54 +01:00
Jannik 2e7db26d1d
migrate more api calls to v2 2023-02-19 15:13:31 +01:00
Jannik 8b7fb3ac5f
fix crunchyroll parser to work with the latest api changes 2023-02-19 14:21:46 +01:00
Jannik 097383a082
fix playback & update to agp 7.4.0
updated the crunchyroll parser to use the new streams endpoint to retrieve the media streams
2023-01-25 19:51:38 +01:00
Jannik 9380f98098
add watchlist to MyListsFragment 2022-12-26 19:43:40 +01:00
Jannik e0f05169f5
fix shimmer items having the wrong size, update MediaFragmentSimilar to not depend on a specific view model 2022-12-26 19:40:03 +01:00
Jannik e113a9c795
Merge library and search into one fragment
closes #55
2022-12-26 16:10:38 +01:00
Jannik 8e397e13d2
fix padding for ItemMedia
fixes missing shadows in light theme
2022-12-22 18:08:32 +01:00
Jannik ed8f3fdcda
set spanCount according to screen width 2022-12-04 14:48:25 +01:00
Jannik fffbeaeb49
make MediaItem width fully dynamic, based on the parents width (50% of parent width) and update SearchFragment to use MediaItemListAdapter and remove now unused MediaItemAdapter 2022-12-04 13:51:29 +01:00
Jannik 21caa8eb1b
update MediaItem to suport dynamic size
* this is needed for dynamic span count to correctly work
* this also fixes issues with poster image cropping when the MediaItem size was < 195dp
2022-12-03 00:05:57 +01:00
Jannik f49b5a2730
rework the player activity starting behaviour
* add callbacks on player finish to update episode watch head progress in gui
* directly start the player from the fragment and not from MainActivity
2022-11-26 17:46:25 +01:00
Jannik a95813e91e
use the series id of upNextSeries to select the current season and only fall back to preferred local if not found 2022-11-26 15:52:20 +01:00
Jannik 6624e71228
add more items to the shimmer layout on the home screen 2022-10-14 17:08:51 +02:00
Jannik d3fe81224b
add missing play button functionality for highlight media in HomeFragment 2022-09-20 19:47:42 +02:00
Jannik 001141337d
add shimmer for highlight in home screen, update agp to version 7.3.0 2022-09-18 13:33:22 +02:00
Jannik 9c3548a866
add shimmer effect while loading to the lists in home fragment 2022-09-14 21:31:27 +02:00
Jannik ebd96f9849
compileSdkVersion 33 and library updates
* core-ktx 1.8.0 -> 1.9.0
* appcompat 1.5.0 -> 1.5.1
* navigation-fragment-ktx 2.5.1 -> 2.5.2
* navigation-ui-ktx 2.5.1 -> 2.5.2
2022-09-14 20:33:08 +02:00
Jannik 821f8b5590
add subscription status and tier to the AccountFragment 2022-07-21 22:06:41 +02:00
Jannik 12bbc2ef5f
add recommendations to home fragment 2022-05-22 11:21:49 +02:00
Jannik 1ebc1194e6
add categories support to Crunchyroll.browse() 2022-04-16 17:23:53 +02:00
Jannik 80a7fc4398
merge PlayerEpisodeItemAdapter into EpisodeItemAdapter 2022-04-10 21:24:09 +02:00
Jannik dd6ca8b90e
up next rework
* start playback, when up next episode is clicked
* add playhead progress indicator to up next episodes
2022-04-10 20:15:13 +02:00
Jannik e80e81af0f
use MediaItemListAdapter in MediaFragmentSimilar instead of MediaItemAdapter 2022-04-10 17:46:02 +02:00
Jannik f852600dc7
port HomeFragment to ViewModel and Kotlin flow; update gradle wrapper 2022-04-10 17:39:30 +02:00
Jannik aa49169034
fix (workaround) a crash in MediaFragment if one opens and closes multiple new MediaFragment via the similar tab 2022-04-03 17:33:29 +02:00
Jannik 7abb5cd3e8
fix fragments cleanup on recreation
after back press if other MediaFragments where created via similar tab
2022-04-03 17:22:28 +02:00
Jannik 3a71bdd2c7
use fragment as scope for MediaFragmentViewModel 2022-04-03 16:55:54 +02:00
Jannik 629c144c5b
add similarTo function to crunchyroll parser
This will allow us to show similar tv shows in MediaFragment
2022-04-03 16:14:22 +02:00
Jannik 5b5a74a1de
fix crunchroll parser login crash if login failed 2022-04-02 20:08:29 +02:00
Jannik cf435fdb72
replace LoginDialog with material-components based LoginModalBottomSheet 2022-04-02 18:54:17 +02:00
Jannik 1af82f8370
update playheads on season change
updated playheads are needed for the "completed ep" indicator
2022-03-30 20:12:04 +02:00
Jannik 7fbf639a70
add metadb support for crunchyroll
also remove gson snice it's unused now
2022-03-29 22:39:16 +02:00
Jannik 72280f29d8
add option to disable playhead updates/reporting 2022-03-20 12:38:49 +01:00
Jannik cd4cfb7a0c
update libraries & targetSdk; use core-splashscreen for splashscreen
* targetSdk 30 -> 31
* core-ktx 1.6.0 -> 1.7.0
* appcompat 1.3.1 -> 1.4.1
* constraintlayout 2.1.0 -> 2.1.3
* navigation-fragment-ktx 2.3.5 -> 2.4.1
* navigation-ui-ktx 2.3.5 -> 2.4.1
* lifecycle-runtime-ktx 2.3.5 -> 2.4.1
* lifecycle-viewmodel-ktx 2.3.5 -> 2.4.1
* material 1.4.0 -> 1.5.0
2022-03-19 22:09:47 +01:00
Jannik a092c5b8be
fix mosad/NonePublicIssues#1 2022-03-19 20:14:16 +01:00
Jannik ab660d0ae7
Show season number in MediaFragment 2022-03-19 13:10:36 +01:00
Jannik 30a5331bbc
load preferred sub/content language on startup 2022-03-06 18:57:55 +01:00
Jannik 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
Jannik 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
Jannik 4505f95309
don't show fully watched episodes in "Up next" 2022-03-04 20:42:21 +01:00