Commit Graph

110 Commits

Author SHA1 Message Date
Christian Schabesberger 4fb5d46b2d make exoPlayer a StateFlow that can be null 2024-09-11 16:30:51 +02:00
Christian Schabesberger 2e50634b50 add close command 2024-09-11 12:39:16 +02:00
Christian Schabesberger e965528011 prevent showing loading indicator when reopening the player containing activity 2024-09-09 22:16:19 +02:00
Christian Schabesberger a297a4c08f remove playlist item and replace it with MediaItem and MediaMetadata 2024-09-09 21:59:09 +02:00
Christian Schabesberger 5710596972 remove Thumbnail class and replace it with Uri 2024-09-09 18:55:58 +02:00
Christian Schabesberger 0744d43b20 introduce NewPlayer Service 2024-09-09 18:38:04 +02:00
Christian Schabesberger ba03e17088 fix chapter mark shown on start 2024-09-08 15:05:57 +02:00
Christian Schabesberger f5d3c33086 make playlist item deletion more reliable 2024-09-06 21:59:55 +02:00
Christian Schabesberger 33b0360507 bring back embeded config 2024-09-06 21:52:10 +02:00
Christian Schabesberger 3dc5ca3e10 make item deletion almost possible 2024-09-06 20:10:25 +02:00
Christian Schabesberger 430bed20b6 make chapters visible in the seekbar 2024-09-06 17:33:13 +02:00
Christian Schabesberger 8a3cc12bd7 fix animated visibility for previous and next stream 2024-09-06 15:51:31 +02:00
Christian Schabesberger 58e0ad9f09 make goto next or prev streem buttons work 2024-09-06 15:42:19 +02:00
Christian Schabesberger 106060625c make playlist item selectable 2024-09-06 14:30:18 +02:00
Christian Schabesberger 0d8662fb5b make chapter select items look better 2024-09-06 14:18:47 +02:00
Christian Schabesberger 09f32dd893 make chapters selectable 2024-09-06 14:07:02 +02:00
Christian Schabesberger 79f8719ac3 highlight active chapter 2024-09-06 13:58:52 +02:00
Christian Schabesberger 48f5e159d9 update playlist progress live 2024-09-05 12:16:39 +02:00
Christian Schabesberger e9bf17e542 make dialogs prvent hiding the controller ui 2024-09-04 15:18:02 +02:00
Christian Schabesberger 3eabb537f7 update playlist playtime 2024-09-04 15:13:21 +02:00
Christian Schabesberger a2e9675906 get chapter infor from NewPlayer 2024-09-04 14:51:50 +02:00
Christian Schabesberger 9f1c06928a add currently plaing indicator to playlist and make playlist use rounded corners 2024-09-04 14:02:10 +02:00
Christian Schabesberger a47ea8e078 handle currently plaing and show title and creator 2024-09-04 13:19:36 +02:00
Christian Schabesberger d97ecc7519 animate centerui visibility 2024-09-04 11:49:38 +02:00
Christian Schabesberger 26cb3cf749 only show loading cycle when not playing 2024-09-04 11:08:05 +02:00
Christian Schabesberger 38ea5560b6 show chapter and streams ui element only when they are usefull 2024-09-04 11:03:24 +02:00
Christian Schabesberger 45043f1739 filter lefat and right gestures in GestureSurface as these are not used by interact with system UI 2024-09-04 10:58:01 +02:00
Christian Schabesberger 9c9d628f0c make background visiable when dragging playlist item 2024-09-03 14:13:56 +02:00
Christian Schabesberger 9a71e8f0b5 make shuffle and repeatmode work 2024-09-03 13:54:33 +02:00
Christian Schabesberger c0a006f238 make dragging be smooth 2024-09-03 13:34:55 +02:00
Christian Schabesberger 8ed25f5039 make playlist items draggable 2024-09-03 12:48:16 +02:00
Christian Schabesberger 38bf37e88a cleanup stream items 2024-09-02 15:26:46 +02:00
Christian Schabesberger 1e39f97bee make layout respect different fontsizes 2024-09-02 14:40:19 +02:00
Christian Schabesberger cdcfeaedd7 make NewPlayer handle playlist updates and repository accesses 2024-08-30 16:43:38 +02:00
Christian Schabesberger 22d7bcf552 add chapter select preview 2024-08-30 12:13:10 +02:00
Christian Schabesberger cb122306c6 make onBackPress action adhere to the ui flow 2024-08-30 11:21:10 +02:00
Christian Schabesberger 8684bf95e1 open streem selection ui 2024-08-29 11:11:33 +02:00
Christian Schabesberger 8ad95be57a make embedded ui config foo have a more streamlinet implementation 2024-08-29 11:11:33 +02:00
Christian Schabesberger 888d518304 forward player playlist into viewmodel 2024-08-29 11:11:33 +02:00
Christian Schabesberger 8f78d72a13 make activity brainslug also access uiState
This operation introduces a glitch since the composable and
the views are updated simultaniously. However this leads to a situation
where the embedded view thinkgs its fullscreen and thus renders alike.
Due to this reason the embbedded view breafly jumps up.
2024-08-29 11:09:30 +02:00
Christian Schabesberger 5102e0d9e1 make downwardmovement also allow upward movement after gesture initialization 2024-08-26 12:47:07 +02:00
Christian Schabesberger d4d29f4c5c add double tap play/pause gesture 2024-08-26 12:39:54 +02:00
Christian Schabesberger 63334f5893 convert all callbacks to flows 2024-08-26 12:27:55 +02:00
Christian Schabesberger f3d3ce380f synchronize UI mode and playMode 2024-08-26 12:09:51 +02:00
Christian Schabesberger 47ad16c03d make initial logic for NewPlayer and MediaReop 2024-08-24 19:09:35 +02:00
Christian Schabesberger ea099253a1 replace first callbacks with mutablestate/shareflow 2024-08-24 14:06:23 +02:00
Christian Schabesberger 32075dec73 add readonly List implementation of playlist 2024-08-22 09:43:03 +02:00
Christian Schabesberger a2e8f6c4ad push player further to playlist handling 2024-08-21 14:43:23 +02:00
Christian Schabesberger 3d0fdabcf4 create initial design for playlist stream icons and chapter icons 2024-08-20 12:36:23 +02:00
Christian Schabesberger 8ac9a5a6ff add ui mode states 2024-08-19 19:16:17 +02:00