Commit Graph

359 Commits

Author SHA1 Message Date
Jannik a13eb15adf
add changelog for 1.1.0-beta1 2023-02-19 17:06:33 +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 31e7adac03
update gradle wrapper to version 7.6 2022-12-22 16:16:28 +01:00
Jannik 63f5e69094
update ktor
ktor 2.1.3 -> 2.2.1
2022-12-11 20:00:39 +01:00
Jannik bf6f2d916e
make MeidaFragment poster and backdrop responsive 2022-12-04 15:25:05 +01:00
Jannik 81a20e0aa9 Merge pull request 'add dynamic spanCount for library/search fragemnt and MediaFragmentSimilar' (#68) from feature/dynamic_span_count into develop
Reviewed-on: #68
2022-12-04 15:24:18 +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 bbc819551b
disable platform diagnostics for exo player 2022-12-02 23:59:39 +01:00
Jannik 2004a3f483
replace runBlocking{} in setCurrentEpisode with suspend
this fixes the player frezzing for a few 100ms when loading a new episode
2022-11-26 18:34:32 +01:00
Jannik 0a31c2fd88
update dependencies
* exoplayer 2.17.1 -> 2.18.2
* security-crypto 1.1.0-alpha03 -> 1.1.0-alpha04
* androidx:junit 1.1.3 -> 1.1.4
* androidx:espresso-core 3.4.0 -> 3.5.0
2022-11-26 18:09:50 +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 8bdaa8122b
replace usage of private exo_white with player_white 2022-11-05 11:58:41 +01:00
Jannik e2ea0a364e
update agp, kotlin and libraries 2022-11-05 11:57:35 +01:00
Jannik 777c6e0212
add ScrollView to player language/subtitles selection 2022-11-05 11:24:16 +01:00
Jannik 71d5c58653
add crunchy intro metadata to parser and update the skip intro function, closes #66 2022-10-28 23:03:21 +02:00
Jannik 6624e71228
add more items to the shimmer layout on the home screen 2022-10-14 17:08:51 +02:00
Jannik d33de371d1 Merge pull request 'version 1.0.0' (#67) from develop into master
Reviewed-on: #67
2022-10-12 15:36:38 +02:00
Jannik 1ecd25bb06
update version and changelog for 1.0.0 release 2022-10-12 15:25:48 +02:00
Jannik fa28eb35ab
fix crash in TMDBApiController when searchMovie() returns no title
* make title/name optional
* for movies use the movie search endpoint instead of multi

fixes #65
2022-09-21 21:06:52 +02:00
Jannik d3fe81224b
add missing play button functionality for highlight media in HomeFragment 2022-09-20 19:47:42 +02:00
Jannik 34c7f9d081
replace TextView in shimmer items with dummy ImageView with rounded corners 2022-09-20 15:20:49 +02:00
Jannik e835715b9c
fix item_media width
don't hardcode layout_width to 195dp, set layout_constraintWidth_max and image_poster layout_constraintWidth this fixes issues if the screen is not wide enough to show multiple item_media elements
2022-09-18 13:53:19 +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 5cd3d25ebe
fix shimmer for light theme 2022-09-15 18:02:48 +02:00
Jannik 215e01c53a
add changelog for beta3 release 2022-09-14 22:00:00 +02:00
Jannik 1751963574
update gradle wrapper to version 7.5.1 2022-09-14 21:42:23 +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 85b17d7a76
improve buttonNextEp hiding behaviour
* the button will be diabled on PlayerActivity.playNextEpisode()
* the button will only be enabled if PlayerViewModel.playNextEpisode() returns
* remainingTime will be set to 0, if duration < 0, this fixes the button reapring after a few 100 ms when beeing pressed

fixes #53
2022-08-27 13:59:30 +02:00
Jannik f128efea0d
set compileSdkVersion and targetSdkVersion to 32 2022-08-27 13:56:15 +02:00
Jannik da94003368
update agp and libraries
* agp 7.2.1 -> 7.2.2
* kotlinx-coroutines-android 1.6.3 -> 1.6.4
* core-splashscreen 1.0.0-rc01 -> 1.0.0
* appcompat 1.4.2 -> 1.5.0
* navigation-fragment-ktx 2.5.0 -> 2.5.1
* navigation-ui-ktx 2.5.0 -> 2.5.1
* lifecycle-runtime-ktx 2.5.0 -> 2.5.1
* lifecycle-viewmodel-ktx 2.5.0 -> 2.5.1
2022-08-19 22:54:38 +02:00
Jannik 3fdc2aff1b Merge pull request 'update ktor to version 2.x' (#63) from feature/ktor_update into develop
Reviewed-on: #63
2022-08-19 22:40:55 +02:00
Jannik 326da147f1
update ktor to version 2.1.0 2022-08-19 18:18:09 +02:00
Jannik f398c82f62
update ktor to version 2.0.3 2022-08-19 18:15:37 +02:00
Jannik 821f8b5590
add subscription status and tier to the AccountFragment 2022-07-21 22:06:41 +02:00
Jannik 0028cb6dd7
fix EpisodesListDialogFragment current episode selection
fix EpisodesListDialogFragment not selecting the correct episode, if the episode number doens't start at 0, if episodes are count across seasons
2022-07-21 18:49:29 +02:00
Jannik 127bd030b9
add unit test for token type serialization 2022-07-16 15:08:13 +02:00
Jannik 3cadaa5c7a
update playhead every 30 seconds while playback is active 2022-07-16 14:35:22 +02:00
Jannik 97966f5ad3
fix a crash when url or vcodes are missing for a stream
always initialize them, also initialize hardsub_locale since it might be optional too
2022-07-16 14:13:08 +02:00
Jannik 4c55bb771f
partially revert c34b95795f 2022-07-16 13:48:28 +02:00