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
86e07ba2cf
return to main activity if pip was launched before
2021-01-08 09:31:50 +01:00
Jannik
e5037cf9ac
add pip support to player activity
2021-01-06 15:07:31 +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
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
489ef02a35
fix controls autohide not working when epsiodes list was shown
...
fixes #19
2020-12-30 20:08:19 +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
6bec0512ba
minor player fixes
...
* fix exoplayer access on wrong thread
* fix remaining time calculation sometimes failed
2020-12-27 20:41:18 +01:00
Jannik
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
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
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
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
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
db5758edf9
minor code clean up
2020-11-25 23:33:06 +01:00
Jannik
7df99ea0cc
use view binding wherever possible
2020-11-25 22:35:55 +01:00
Jannik
8d1c3d9a3f
move some player data to PlayerViewModel
2020-11-25 16:04:04 +01:00