Commit Graph

46 Commits

Author SHA1 Message Date
Jannik c6874d0e54
move showFragment to ActivityUtils 2021-01-20 16:10:41 +01:00
Jannik 7a95304ee1
fix episodes not showing, if scroll is not needed in MediaFragment 2021-01-11 22:12:21 +01:00
Jannik 8e8db386a0
play new media if selected while player is in pip & minor code clean up
move some player avtivity stuff to ActivityUtils
2021-01-08 10:58:24 +01:00
Jannik 31197a5d44
minor fixes
* fix current language is set to preferred and not to actual language
* fix player episodes lists sometimes missing the play icon
2020-12-31 13:12:37 +01:00
Jannik 7a5f90cb82
don't initialize exoplayer, if view model exists and player is ready
this prevents the media being reloaded, when the app is moved to the background and to the foreground again
2020-12-28 20:45:52 +01:00
Jannik 800c2a144c
polish player episodes list ui
closes #16
2020-12-28 20:17:11 +01:00
Jannik 94da8c6cee
player language settings [Part 2]
* move player object to PlayerViewModel
* minor code clean up
2020-12-26 20:09:35 +01:00
Jannik 8a43567737
rework how different streams/languages per episode are handled
* potentially support more than 2 streams
* part of language settings in player
2020-12-26 14:39:35 +01:00
Jannik 04893060e4
add episodes list to player [Part 2] 2020-12-15 23:15:14 +01:00
Jannik 6fc7bb2c1e
add episodes list to player [Part 1] 2020-12-14 23:46:55 +01:00
Jannik 6775a4da2e
show AoD highlights on home fragment 2020-12-06 15:18:15 +01:00
Jannik e34e5b2bbd
replace licenses dialog and about dialog with about fragment 2020-12-05 21:03:14 +01:00
Jannik d01e87bf14
use suspending functions for coroutines when possible
* fix crash, when media is selected, but MediaFragment is removed before AoDParser could load data
2020-11-27 11:06:16 +01:00
Jannik 7df99ea0cc
use view binding wherever possible 2020-11-25 22:35:55 +01:00
Jannik 21b6e358e7
theme selection & gradle update
* it's now possible to change the app theme (light/dark)
* update gradle to version 6.7.1
* update gradle pugin to version 4.1.1
* update kotlin to  1.4.10
2020-11-23 20:11:10 +01:00
Jannik dcd6ebccea
theme rework preparation 2020-11-21 19:40:55 +01:00
Jannik c8d80ddc9f
Fix my-list issues
* fix entries can be added multiple times to my list
* fix entries can’t be removed from my list after the app was restarted
* closes #15
2020-11-14 13:10:05 +01:00
Jannik 2e0a114a80
player interface part 3
add double tap to rewind/forward
2020-11-08 18:05:46 +01:00
Jannik f0ed6aa379
enable code shrink 2020-10-20 20:22:50 +02:00
Jannik ce84cb57a8
rework media parsing, parse secondary stream (sub/jap)
* use the secondary stream if no primary is present
2020-10-19 21:57:02 +02:00
Jannik aeb74dcb29
rework MediaItemAdapter to use ItemMedia instead of Media
This allows us to get the media onClick directly from the AoDParser. Media inforamtion are now only stored in the parsers mediaList.
2020-10-16 19:56:08 +02:00
Jannik 5458b43354
fix #9 & replace my list checkbox with layout for easier gui building 2020-10-16 18:24:34 +02:00
Jannik 9f1717e646
update my list on home screen, when changed 2020-10-16 11:23:32 +02:00
Jannik 085b2013ab
play episode on poster click
closes #7
2020-10-16 10:05:11 +02:00
Jannik 474b72df49
add favorite list to home screen 2020-10-15 21:00:31 +02:00
Jannik a8dc243d0e
move all fragments into the fragments package 2020-10-15 19:01:37 +02:00
Jannik fa6419bb02
if a media was already fully loaded, don't load it again for
Since medias are cached in memory it is unnecessary to load them if they have been fully loaded once before
2020-10-15 18:57:58 +02:00
Jannik 4ae23c4380
fix crash in episode count extraction 2020-10-15 16:23:52 +02:00
Jannik adf8a48251
replace GridView in library and search fragment with RecyclerView
closes #8
2020-10-15 13:00:44 +02:00
Jannik 36c8678646
fix cancel text for german translation 2020-10-14 20:58:42 +02:00
Jannik 5f80f1fabd
show loading screen while loading media fragment
* use material components for shaped images and progress indicator
2020-10-14 20:22:20 +02:00
Jannik d2728405d1
redesign library and search fragment
* library/search now use a grid view with 2 columns
* media is now represented as card
* media details: poster and episodes have now rounded corners
2020-10-14 18:33:11 +02:00
Jannik 03cd42773d
add Episode watched callback 2020-10-13 23:47:48 +02:00
Jannik 5b7d2cd26e
added episode description and is watched status to MediaFragment 2020-10-13 20:23:55 +02:00
Jannik 6fb8f56faf
minor code clean up 2020-10-13 16:30:23 +02:00
Jannik dcaf64acde
improved MediaFragment UI
* fix searchview not losing focus when media is selected
2020-10-13 15:56:07 +02:00
Jannik 00a6981ae5
improved tmdb data handling, added backdrop 2020-10-12 22:43:42 +02:00
Jannik 90fe084557
disable action bar, use tmdb for poster and description 2020-10-12 20:30:45 +02:00
Jannik ae20e74702
merge GUIMedia and StreamMedia into Media, parse episode title from aod 2020-10-12 17:52:24 +02:00
Jannik 0fc1d8b5c2
use recyclerview for episodes in media fragment
closes #3
2020-10-12 09:54:32 +02:00
Jannik 7b708f5aa0
add tv shows support to parser, start implementing account fragment 2020-10-11 23:16:47 +02:00
Jannik b27a218b51
add search 2020-10-11 18:07:00 +02:00
Jannik c473fce19a
add OnItemClickListener 2020-10-09 15:18:52 +02:00
Jannik b94b86b866
fix CustomAdapter repeating issue 2020-10-09 13:25:12 +02:00
Jannik ac8d3ab292
use ListView for library fragment 2020-10-09 13:02:58 +02:00
Jannik d0e09bf4e2
add aod parser 2020-10-08 22:20:20 +02:00