Commit Graph

52 Commits

Author SHA1 Message Date
Jannik 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
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 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 d76538cf28
use locale instead of string for language in AoDPlaylist 2021-08-29 15:05:34 +02:00
Jannik 309a991007
fix for AoDParser related code clean up 2021-08-29 15:05:34 +02:00
Jannik 0340c83b47
clean up some AoDParser related code 2021-08-29 15:05:34 +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 be591a961a
update agp and kotlin
apg 4.1.3 -> 4.2.0
kotlin 1.4.32 -> 1.5.0
2021-05-09 19:32:31 +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 0bb433b5cb
set timeout for laoding the playlist to 120 seconds
fixes #36
2021-03-13 22:08:53 +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 4c5d6e6e24
add top ten to home screen & minor fixes
* use plural for runtime and episodes
* code clean up
2021-01-21 18:22:53 +01:00
Jannik 8a22554846
add onboarding (login), change default theme to dark
closes #14
2021-01-16 00:16:47 +01:00
Jannik 3f45d769d2
rework initial loading, don't crash on login timeout on app start
closes #25
2021-01-13 20:57:21 +01:00
Jannik e4ac01605f
fix crash after clicking on the highlight play button 2021-01-01 13:08:25 +01:00
Jannik 75ecac6144
always visible next ep button fix
the always visible next ep button cloud be hidden, when playing the last ep of a tv show and changing to a previous ep via the episodes list
2021-01-01 12:15:17 +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 8f60a30d61
improve media parsing / loadStreams()
* fix #20, return 0 as episode number on NumberFormatException
* don't crash if a episode can not be parsed
* update material components: 1.3.0-alpha04 -> 1.3.0-beta01
2020-12-26 11:32:09 +01:00
Jannik 00699aaec7
add language settings to player [Part 1] 2020-12-20 20:21:27 +01:00
Jannik bba642e9e3
use a random new title, if highlights is empty 2020-12-18 17:23:04 +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 98636d326e
make sure highlighted media has a valid mediaId
this also prevents non media from showing as highlights
2020-12-07 17:50:10 +01:00
Jannik 6775a4da2e
show AoD highlights on home fragment 2020-12-06 15:18:15 +01:00
Jannik 20407d9cac
add permanently visible next episode button & fix autoplay
* autoplay / play next episode could sometimes skip episodes
2020-12-02 11:14:09 +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 3ed55ca3c9
fix episodes without a streaming link make AoDParser crash 2020-11-26 17:32:15 +01:00
Jannik 23713fc1e6
Player: add auto play next episode 2020-11-13 15:36:12 +01:00
Jannik f0ed6aa379
enable code shrink 2020-10-20 20:22:50 +02:00
Jannik a5fffd5d02
don't use gson.fromJson for a potentially unstable api 2020-10-20 20:07:59 +02:00
Jannik ff0727da22
fix movie parsing 2020-10-19 22:07:55 +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 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 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 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 9ec4c24e21
verify login data on start, added german translation 2020-10-12 23:26:32 +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 7b708f5aa0
add tv shows support to parser, start implementing account fragment 2020-10-11 23:16: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