Commit Graph

129 Commits

Author SHA1 Message Date
Seil0 b02fadaa89 fix unchecked single choice button in theme dialog beeing white 2021-02-06 22:45:28 +01:00
Seil0 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
Seil0 67c1e2bfdc minor clean up 2021-01-21 20:31:15 +01:00
Seil0 70aafb1a14 update gradle plugin to 4.1.2 2021-01-21 19:57:01 +01:00
Seil0 373f5c56c9 rework the about fragment 2021-01-21 19:53:16 +01:00
Seil0 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
Seil0 c6874d0e54 move showFragment to ActivityUtils 2021-01-20 16:10:41 +01:00
Seil0 a740ccfee1 update libs
* exoplayer 2.12.2 -> 2.12.3
* material components 1.3.0-beta01 -> 1.3.0-rc01
2021-01-16 00:22:31 +01:00
Seil0 8a22554846 add onboarding (login), change default theme to dark
closes #14
2021-01-16 00:16:47 +01:00
Seil0 3f45d769d2 rework initial loading, don't crash on login timeout on app start
closes #25
2021-01-13 20:57:21 +01:00
Seil0 7a95304ee1 fix episodes not showing, if scroll is not needed in MediaFragment 2021-01-11 22:12:21 +01:00
Seil0 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
Seil0 86e07ba2cf return to main activity if pip was launched before 2021-01-08 09:31:50 +01:00
Seil0 e5037cf9ac add pip support to player activity 2021-01-06 15:07:31 +01:00
Seil0 e4ac01605f fix crash after clicking on the highlight play button 2021-01-01 13:08:25 +01:00
Seil0 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
Seil0 1efc108bd7 version 0.3.0 2020-12-31 13:43:57 +01:00
Seil0 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
Seil0 489ef02a35 fix controls autohide not working when epsiodes list was shown
fixes #19
2020-12-30 20:08:19 +01:00
Seil0 9705a752fb don't crash if initial loading was not successful 2020-12-30 14:18:04 +01:00
Seil0 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
Seil0 800c2a144c polish player episodes list ui
closes #16
2020-12-28 20:17:11 +01:00
Seil0 6bec0512ba minor player fixes
* fix exoplayer access on wrong thread
* fix remaining time calculation sometimes failed
2020-12-27 20:41:18 +01:00
Seil0 b3ce43c614 release player in PlayerVIewModel onCleared()
this fixes playback after the activity has been destroyed, while being in background
2020-12-27 20:31:18 +01:00
Seil0 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
Seil0 94da8c6cee player language settings [Part 2]
* move player object to PlayerViewModel
* minor code clean up
2020-12-26 20:09:35 +01:00
Seil0 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
Seil0 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
Seil0 00699aaec7 add language settings to player [Part 1] 2020-12-20 20:21:27 +01:00
Seil0 bba642e9e3 use a random new title, if highlights is empty 2020-12-18 17:23:04 +01:00
Seil0 04893060e4 add episodes list to player [Part 2] 2020-12-15 23:15:14 +01:00
Seil0 6fc7bb2c1e add episodes list to player [Part 1] 2020-12-14 23:46:55 +01:00
Seil0 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
Seil0 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
Seil0 6775a4da2e show AoD highlights on home fragment 2020-12-06 15:18:15 +01:00
Seil0 a390bc9686 update exoplayer to version 2.12.2 2020-12-05 22:17:54 +01:00
Seil0 82bf34e4cb update theme colors to better reflect material design guidelines
* dark primary: #000000 -> #121212
2020-12-05 21:51:12 +01:00
Seil0 e34e5b2bbd replace licenses dialog and about dialog with about fragment 2020-12-05 21:03:14 +01:00
Seil0 77e657d37c version 0.2.1 2020-12-02 11:25:36 +01:00
Seil0 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
Seil0 dbd4b26a65 minor text change 2020-11-29 20:25:22 +01:00
Seil0 ac5aee20de update material components to alpha 4 2020-11-29 18:23:02 +01:00
Seil0 32844223fc minor episodes ui improvements
* show 3 lines of episode description
* episodes title: Episode xy -> Ep. xy
2020-11-28 15:09:39 +01:00
Seil0 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
Seil0 3ed55ca3c9 fix episodes without a streaming link make AoDParser crash 2020-11-26 17:32:15 +01:00
Seil0 dfaf359952 fix poster not being scaled correctly
regression from 2de1419d36
2020-11-26 17:07:33 +01:00
Seil0 78d9f3cfa5 version 0.2.0 2020-11-26 15:01:19 +01:00
Seil0 db5758edf9 minor code clean up 2020-11-25 23:33:06 +01:00
Seil0 2de1419d36 fix theme not applying to nav bar
regression from 7df99ea0cc
2020-11-25 23:26:46 +01:00
Seil0 7df99ea0cc use view binding wherever possible 2020-11-25 22:35:55 +01:00