Commit Graph

146 Commits

Author SHA1 Message Date
Jannik 8753d4f36f
fix tmdb episode description in player 2021-09-05 00:08:53 +02:00
Jannik 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
Jannik 062013489d
use notifyItem...() instead of notifyDataSetChanged() in MediaFragment 2021-09-05 00:04:59 +02:00
Jannik 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
Jannik c2a5f768b8
AoDParser Media handling rework [Part 1/2] 2021-08-31 19:47:18 +02:00
Jannik 0340c83b47
clean up some AoDParser related code 2021-08-29 15:05:34 +02:00
Jannik 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
Jannik 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
Jannik c66c725ee3
use tmdb data if missing on aod
*  episode description
2021-08-29 15:05:34 +02:00
Jannik 44f99295e9
rework the tmdb controller
the tmdb interation now provides additional information:
* tv seasons & episodes
* movie & tv show (air date, status)
2021-08-29 15:05:34 +02:00
Jannik 664959641f
fix tmdb search for movies
movies don't have name but titles
2021-07-04 13:01:49 +02:00
Jannik ba7d82bc2b
replace deprecated OnNavigationItemSelectedListener 2021-07-03 15:58:20 +02:00
Jannik 03e9c3dae5
fix crash on myList element not present in overall itemMediaList
fixes #42
2021-07-03 13:36:15 +02:00
Jannik 8afbae1e1a
set pip source hint & update exo player
* exo player 2.14.0 -> 2.14.1
2021-06-17 19:36:13 +02:00
Jannik 164db8ebd1
remove unneeded import 2021-06-12 21:03:19 +02:00
Jannik 44d1825095
minor code clean up 2021-06-12 21:02:09 +02:00
Jannik 1d071eafdb
add media session & update exo player to 2.14.0 2021-06-12 20:57:12 +02:00
Jannik 5e48e724a7
update some libraries & coroutines 1.5.0
* androidx.core 1.3.2 -> 1.5.0
* androidx.appcompat 1.2.0 -> 1.3.0
* gson 2.8.6 -> 2.8.7
* coroutines-android 1.4.3 -> 1.5.0
  * don't use GlobalScope, use lifecycleScope and vieModelScope instead. This fixes a few issues when fragments where destroied befor the coroutine finished.
* gradle wrapper 7.0 -> 7.9.2
2021-06-06 17:54:19 +02:00
Jannik a3a89c6b64
don't use deprecated startActivityForResult() use registerForActivityResult() instead 2021-05-27 19:50:00 +02:00
Jannik 7ce67f57cd
add export/import of my list
fixes #39
2021-05-26 19:46:46 +02:00
Jannik 063b5405fc
add dev settings gui
enable dev settings by clicking the app icon in the about screen 5 times
2021-05-09 20:31:51 +02:00
Jannik 86dfd69b4b
add subscription info to settings fragment
* update androidx.navigation: 2.3.4 -> 2.3.5
2021-04-17 20:59:37 +02:00
Jannik b05ecf64a6
minor code clean up 2021-03-11 19:11:12 +01:00
Jannik 1a9de4124d
minor pip mode fixes 2021-03-04 20:19:54 +01:00
Jannik a07f291098
only update media title if there is one & update exoplayer to 2.13.2 2021-02-27 21:12:42 +01:00
Jannik 9d3e9c5019
dsiable scrolling on appbar if no tabs where added to media fragment
fixes #33
2021-02-20 22:57:00 +01:00
Jannik e762745705
use CoordinatorLayout instead of NestedScrollView in media fragment 2021-02-08 00:22:50 +01:00
Jannik 5bb51c9054 Add similar titles to media fragment (#28)
* update androidx navigation libraries
* add similar media to MediaFragment
* parse similar media in AoDParser

Reviewed-on: #28
Co-Authored-By: Jannik <seil0@mosad.xyz>
Co-Committed-By: Jannik <seil0@mosad.xyz>
2021-02-06 19:02:12 +01:00
Jannik 8a22554846
add onboarding (login), change default theme to dark
closes #14
2021-01-16 00:16:47 +01:00
Jannik 7a95304ee1
fix episodes not showing, if scroll is not needed in MediaFragment 2021-01-11 22:12:21 +01:00
Jannik e4ac01605f
fix crash after clicking on the highlight play button 2021-01-01 13:08:25 +01:00
Jannik 9705a752fb
don't crash if initial loading was not successful 2020-12-30 14:18:04 +01:00
Jannik 800c2a144c
polish player episodes list ui
closes #16
2020-12-28 20:17:11 +01:00
Jannik 7845770067
Clean up PlayerActivity and PlayerViewModel
* use Local instead of streamURL to save selected language, this allows nextEp/ selected Eps to use previously selected language
* hide episodes button, if media is a movie
2020-12-27 20:11:01 +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 00699aaec7
add language settings to player [Part 1] 2020-12-20 20:21:27 +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 ab180ddd89
add new simulcasts and new titles to home screen
* simulcasts and new titles
* update some libraries
* don't crash if AoDPraser fails to parse mediaId
2020-12-11 10:54:40 +01:00
Jannik 6775a4da2e
show AoD highlights on home fragment 2020-12-06 15:18:15 +01:00
Jannik 82bf34e4cb
update theme colors to better reflect material design guidelines
* dark primary: #000000 -> #121212
2020-12-05 21:51:12 +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 dfaf359952
fix poster not being scaled correctly
regression from 2de1419d36
2020-11-26 17:07:33 +01:00
Jannik 2de1419d36
fix theme not applying to nav bar
regression from 7df99ea0cc
2020-11-25 23:26:46 +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 0e5c697bce
set theme for dialogs 2020-11-23 09:53:44 +01:00
Jannik 71079ddc92
add light and dark theme
* currently the theme can not be changed
2020-11-22 14:24:02 +01:00
Jannik 256c32aa3c
add rwd/ffwd double tap indicator & pause/play on long press 2020-11-20 11:20:11 +01:00
Jannik 3880b3ab75
add watched callback for next episode 2020-11-18 18:58:39 +01:00
Jannik 0f0573e5bd
adjust size of rewind/fast forward button 2020-11-16 20:42:25 +01:00
Jannik 6ce263832b
use custom rewind/fast forward button with animations 2020-11-16 19:23:06 +01:00
Jannik d4fa726f9c
improve autoplay next episode
* add animations to show/hide next episode button
* add option to disable/enable autoplay
2020-11-15 13:39:33 +01:00
Jannik 23713fc1e6
Player: add auto play next episode 2020-11-13 15:36:12 +01:00
Jannik 353ae6937a
Player: get media info by id
This allows us to get additional data (needed for "play next episode")
2020-11-13 11:23:09 +01:00
Jannik 27e8e1c3c2
player interface part 2
* replace current time position with remaining time
* show title and back button at the top
2020-11-07 18:23:09 +01:00
Jannik 1523e0235a
tv shows: play next episode, on play btn click 2020-11-03 18:21:23 +01:00
Jannik c138ab4587
add option to prefer the secondary stream, if present 2020-10-23 11:28:47 +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 4c274eb062
made AoDParser an object 2020-10-19 19:59:53 +02:00
Jannik a25ec81f6b
added new episodes to home screen 2020-10-19 17:34:41 +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 6100533c4d
fix movie parsing
regression in 5b7d2cd26e
2020-10-15 18:51:29 +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 442a02db70
update used libraries 2020-10-14 20:26:29 +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 cbfd186686
added licenses dialog 2020-10-13 21:27:05 +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 597271d4de
use poster as backdrop if no backdrop is set, update to android studio
* update gradle to version 6.5
* update android gradle plugin to version 4.1
2020-10-13 12:27:13 +02:00
Jannik 9ec4c24e21
verify login data on start, added german translation 2020-10-12 23:26:32 +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 e093153eee
add login dialog
* show dialog if no credentials are present
2020-10-11 14:44:38 +02:00
Jannik b72b316ce1
clean up build-gradle
* remove unused dependencies
2020-10-11 14:25:47 +02:00
Jannik 2866d01c22
add player
* fix aod stream parsing
2020-10-11 13:18:20 +02:00
Jannik 818981190d
add media fragment, add stream parsing 2020-10-11 10:02: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