Commit Graph

139 Commits

Author SHA1 Message Date
c2a5f768b8 AoDParser Media handling rework [Part 1/2] 2021-08-31 19:47:18 +02:00
a505315781 fix crash if media is not found in tmdb 2021-08-29 15:05:34 +02:00
d76538cf28 use locale instead of string for language in AoDPlaylist 2021-08-29 15:05:34 +02:00
309a991007 fix for AoDParser related code clean up 2021-08-29 15:05:34 +02:00
0340c83b47 clean up some AoDParser related code 2021-08-29 15:05:34 +02:00
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
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
c66c725ee3 use tmdb data if missing on aod
*  episode description
2021-08-29 15:05:34 +02:00
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
664959641f fix tmdb search for movies
movies don't have name but titles
2021-07-04 13:01:49 +02:00
ba7d82bc2b replace deprecated OnNavigationItemSelectedListener 2021-07-03 15:58:20 +02:00
e0a6485ed7 tmdb api improvements
* sort tmdb results by name
* remove season information in media title before searching
2021-07-03 15:51:52 +02:00
5555269877 sort tmdb results with String.compareTo 2021-07-03 13:46:13 +02:00
03e9c3dae5 fix crash on myList element not present in overall itemMediaList
fixes #42
2021-07-03 13:36:15 +02:00
8afbae1e1a set pip source hint & update exo player
* exo player 2.14.0 -> 2.14.1
2021-06-17 19:36:13 +02:00
164db8ebd1 remove unneeded import 2021-06-12 21:03:19 +02:00
44d1825095 minor code clean up 2021-06-12 21:02:09 +02:00
1d071eafdb add media session & update exo player to 2.14.0 2021-06-12 20:57:12 +02:00
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
a3a89c6b64 don't use deprecated startActivityForResult() use registerForActivityResult() instead 2021-05-27 19:50:00 +02:00
7ce67f57cd add export/import of my list
fixes #39
2021-05-26 19:46:46 +02:00
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
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
86dfd69b4b add subscription info to settings fragment
* update androidx.navigation: 2.3.4 -> 2.3.5
2021-04-17 20:59:37 +02:00
0bb433b5cb set timeout for laoding the playlist to 120 seconds
fixes #36
2021-03-13 22:08:53 +01:00
b05ecf64a6 minor code clean up 2021-03-11 19:11:12 +01:00
1a9de4124d minor pip mode fixes 2021-03-04 20:19:54 +01:00
a07f291098 only update media title if there is one & update exoplayer to 2.13.2 2021-02-27 21:12:42 +01:00
9d3e9c5019 dsiable scrolling on appbar if no tabs where added to media fragment
fixes #33
2021-02-20 22:57:00 +01:00
09191f6732 fix possible and rare index out of bounds 2021-02-13 00:31:58 +01:00
e762745705 use CoordinatorLayout instead of NestedScrollView in media fragment 2021-02-08 00:22:50 +01:00
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
67c1e2bfdc minor clean up 2021-01-21 20:31:15 +01:00
373f5c56c9 rework the about fragment 2021-01-21 19:53:16 +01:00
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
c6874d0e54 move showFragment to ActivityUtils 2021-01-20 16:10:41 +01:00
8a22554846 add onboarding (login), change default theme to dark
closes #14
2021-01-16 00:16:47 +01:00
3f45d769d2 rework initial loading, don't crash on login timeout on app start
closes #25
2021-01-13 20:57:21 +01:00
7a95304ee1 fix episodes not showing, if scroll is not needed in MediaFragment 2021-01-11 22:12:21 +01:00
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
86e07ba2cf return to main activity if pip was launched before 2021-01-08 09:31:50 +01:00
e5037cf9ac add pip support to player activity 2021-01-06 15:07:31 +01:00
e4ac01605f fix crash after clicking on the highlight play button 2021-01-01 13:08:25 +01:00
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
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
489ef02a35 fix controls autohide not working when epsiodes list was shown
fixes #19
2020-12-30 20:08:19 +01:00
9705a752fb don't crash if initial loading was not successful 2020-12-30 14:18:04 +01:00
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
800c2a144c polish player episodes list ui
closes #16
2020-12-28 20:17:11 +01:00
6bec0512ba minor player fixes
* fix exoplayer access on wrong thread
* fix remaining time calculation sometimes failed
2020-12-27 20:41:18 +01:00