Commit graph

362 commits

Author SHA1 Message Date
vfsfitvnm
f86970e09a Fix another BottomSheet regression (of #457e6712) 2022-07-26 15:14:44 +02:00
vfsfitvnm
1d259ebaa6 Fix BottomSheet behaviour on configuration change (regression of #457e6712) 2022-07-25 13:12:52 +02:00
vfsfitvnm
457e6712d4 Implement #51 2022-07-25 12:32:19 +02:00
vfsfitvnm
9ed2c84822 Implement #130 2022-07-25 11:36:56 +02:00
vfsfitvnm
9325beb32f Rename "Cached" to "Offline" 2022-07-24 23:08:54 +02:00
vfsfitvnm
fcd84cde43 Revamp compose-routing 2022-07-24 23:04:33 +02:00
vfsfitvnm
795bf3d56f Do not show unplayed artist songs 2022-07-24 17:42:26 +02:00
vfsfitvnm
a6047339d2 Use LazyColumn in SearchScreen 2022-07-24 17:18:03 +02:00
vfsfitvnm
306122e3f3 Fix #128 2022-07-24 16:18:39 +02:00
vfsfitvnm
e912bfed1c Tweak code 2022-07-23 16:57:38 +02:00
vfsfitvnm
841a546c28 Remove unused class HorizontalTabPager 2022-07-23 13:09:17 +02:00
vfsfitvnm
561e36e1f6 Remove unused code from BottomSheet 2022-07-23 13:05:58 +02:00
vfsfitvnm
5cfc467dd3 Improve StatsForNerds look 2022-07-23 12:19:36 +02:00
vfsfitvnm
35887f62f8 Move playing song menu button to the bottom 2022-07-23 12:04:46 +02:00
vfsfitvnm
6a8fdb7c11 Implement #122 2022-07-22 21:28:59 +02:00
vfsfitvnm
6474b52490 Implement #101 2022-07-22 21:22:26 +02:00
vfsfitvnm
1740943046 Fix #124 2022-07-22 18:35:38 +02:00
vfsfitvnm
1a98ffeeec Fix #125 2022-07-22 18:22:18 +02:00
vfsfitvnm
f8b253d553 Fix mini player not being updated (regression of #3b9b5a) 2022-07-22 16:19:46 +02:00
vfsfitvnm
dd200e1374 Make possible to start the radio from the currently playing song (#118) 2022-07-22 15:20:38 +02:00
vfsfitvnm
3b9b5a5124 Remove PlayerState class 2022-07-22 11:01:54 +02:00
vfsfitvnm
bc76533512 Make PlayerBottomSheet composable smart recompose 2022-07-22 10:26:12 +02:00
vfsfitvnm
707fee1b29 Rework player view UI (#105) 2022-07-21 20:41:19 +02:00
vfsfitvnm
de46f90793 Make Thumbnail composable smart recompose 2022-07-21 12:08:18 +02:00
vfsfitvnm
5ed77b8c32 Fix #116 2022-07-20 10:34:58 +02:00
vfsfitvnm
c3bee38602 Add app bar title in HomeScreen 2022-07-20 10:31:22 +02:00
vfsfitvnm
4a7d8ef537 Bump version to 0.2.1 2022-07-19 16:04:44 +02:00
vfsfitvnm
dbbc0b345b Rename "Cached" playlist to "Offline" 2022-07-19 14:41:54 +02:00
vfsfitvnm
a47e2daf6c Revert 3c7d3da 2022-07-19 14:34:55 +02:00
vfsfitvnm
e69ca080e5 Add padding from top app bar in HomeScreen 2022-07-19 14:23:13 +02:00
vfsfitvnm
437d5aff09 Add animateItemPlacement to songs 2022-07-19 12:27:17 +02:00
vfsfitvnm
3011abf38d Tweak PlaylistPreviewItem 2022-07-19 11:33:29 +02:00
vfsfitvnm
55e436208f Improve sorting options for songs and playlists (#104) 2022-07-19 11:16:00 +02:00
vfsfitvnm
3c7d3da639 Use stickyHeader in HomeScreen and ArtistScreen 2022-07-19 10:43:44 +02:00
vfsfitvnm
f4edfaefd2 Tweak code 2022-07-18 15:22:47 +02:00
vfsfitvnm
f5716937d1 Improve volume normalization logic 2022-07-18 14:36:57 +02:00
vfsfitvnm
61eeeb07c0 Fix #106, #108, #113 2022-07-18 13:30:28 +02:00
vfsfitvnm
59c0a8d31c Fix #68 2022-07-17 22:14:49 +02:00
vfsfitvnm
a491daebd2 Redirect playlist urls to PlaylistScreen in IntentUriScreen 2022-07-17 21:35:46 +02:00
vfsfitvnm
c9bd22ba6e Fix playlist url in SearchScreen 2022-07-17 21:06:59 +02:00
vfsfitvnm
1e719b33ed Refactor preferences to avoid a global state when it's not necessary 2022-07-16 13:51:38 +02:00
vfsfitvnm
aa8e065412 Reduce play/pause button size in collapsed player view 2022-07-16 12:19:49 +02:00
vfsfitvnm
bba81ecb1f Save a LaunchedEffect in rememberBottomSheetState 2022-07-14 23:03:15 +02:00
vfsfitvnm
b7c11ad76d Tweak ValueSelectorDialog UI 2022-07-14 22:48:18 +02:00
vfsfitvnm
78cbd9d129 Move sleep timer to PlayerView menu (#98) 2022-07-13 23:21:58 +02:00
vfsfitvnm
d905fb8614 Stop service before calling exitProcess 2022-07-13 23:10:57 +02:00
vfsfitvnm
48e8055f21 Make Cached playlist optional (#11) 2022-07-13 19:24:22 +02:00
vfsfitvnm
36c7c85b8a Bump version to 0.2.0 2022-07-13 15:23:26 +02:00
vfsfitvnm
927a6f1321 Re-add fallback to audio/mp4 2022-07-12 22:30:31 +02:00
vfsfitvnm
ee2410b289 Reset player error in PlayerState 2022-07-12 22:21:35 +02:00
vfsfitvnm
0ddd49fd10 Improve cache settings 2022-07-12 22:09:25 +02:00
vfsfitvnm
9ed0f7e9d6 Tweak settings UI 2022-07-12 14:47:08 +02:00
vfsfitvnm
434359f656 Tweak PlayerView UI 2022-07-12 14:35:36 +02:00
vfsfitvnm
c55bccc7aa Add landscape mode to PlayerView 2022-07-12 10:54:21 +02:00
vfsfitvnm
18362e99b0 Set PlayerBottomSheet height as percentage of max height 2022-07-11 22:51:05 +02:00
vfsfitvnm
10b8c66887 Add dot to make the user aware of battery restrictions 2022-07-11 20:25:40 +02:00
vfsfitvnm
742e8702e5 Add settings to disable battery optimizations and to make the player service unkillable 2022-07-11 20:05:24 +02:00
vfsfitvnm
3acde3a3ba Sync nested scroll connection in CurrentPlaylistView 2022-07-11 17:48:16 +02:00
vfsfitvnm
fc9b773044 Add equalizer shortcut to PlayerView 2022-07-11 17:13:16 +02:00
vfsfitvnm
ce7b8aa8fd Optimize APK size 2022-07-11 14:55:09 +02:00
vfsfitvnm
8a8f051a4c Fix or suppress deprecations 2022-07-11 11:58:16 +02:00
vfsfitvnm
abd942d5da Rewrite PlayerService 2022-07-11 10:47:40 +02:00
vfsfitvnm
32aeadf87d Remove close button from menu 2022-07-09 16:13:35 +02:00
vfsfitvnm
29025da7e9 Add "Refetch" option for albums and artists (#93) 2022-07-09 15:14:02 +02:00
vfsfitvnm
872ec273dd Add enqueue and playlist icons 2022-07-08 22:11:57 +02:00
vfsfitvnm
cb29edc3b8 Tweak menu UI 2022-07-08 21:49:05 +02:00
vfsfitvnm
81c7edee24 Reintroduce "Import as playlist" feature for albums 2022-07-08 16:21:10 +02:00
vfsfitvnm
948bb97791 Fetch audio-only video ids for albums (#88) 2022-07-08 14:52:28 +02:00
vfsfitvnm
eb4e249443 Add Dimensions class 2022-07-08 11:18:36 +02:00
vfsfitvnm
87b2ff3788 Tweak BottomSheet code 2022-07-08 10:02:13 +02:00
vfsfitvnm
fd4a1611e2 Fallback to shuffleVideoId when radioVideoId is null in ArtistScreen (#90) 2022-07-07 15:01:48 +02:00
vfsfitvnm
5a5805dc84 Change dropdown item font weight 2022-07-07 14:58:46 +02:00
vfsfitvnm
381156fa78 Use fade transition to SettingsScreen 2022-07-06 23:10:21 +02:00
vfsfitvnm
bde063995a Fix UI disparities 2022-07-06 23:08:06 +02:00
vfsfitvnm
749e995d42 Rework song UI 2022-07-06 22:56:02 +02:00
vfsfitvnm
2f46d44ed1 Add shadow to dropdown menus 2022-07-06 21:45:07 +02:00
vfsfitvnm
4b3712fcf4 Speed up HorizontalTabPager transition 2022-07-06 21:29:30 +02:00
vfsfitvnm
6ac02b9043 Add swipe gesture to PlayerBottomSheet (#79) 2022-07-06 21:28:03 +02:00
vfsfitvnm
e3f218d904 Add HorizontalTabPager 2022-07-06 21:11:40 +02:00
vfsfitvnm
b3104207ff Hide songs instead of deleting from database 2022-07-06 20:49:48 +02:00
vfsfitvnm
2e542d3c1a Add favorites, cached built-in playlists (#11) 2022-07-06 20:49:37 +02:00
vfsfitvnm
59b6c61bb2 Drop home page song collections in favor of a sort feature (#11) 2022-07-06 20:49:07 +02:00
vfsfitvnm
ae00f8ea3d Make cancel buttons background color in dialog transparent 2022-07-04 22:11:16 +02:00
vfsfitvnm
36bf5b17a6 Improve PlayerService lifecycle to accommodate a proper queue persistent storing 2022-07-04 22:03:11 +02:00
vfsfitvnm
0655e3efd5 Bump Jetpack Compose version 2022-07-04 17:20:05 +02:00
vfsfitvnm
2480fe52c0 Add drawSteps parameter to SeekBar 2022-07-03 23:46:47 +02:00
vfsfitvnm
3c35176b4f Support youtu.be links (#77) 2022-07-03 23:02:07 +02:00
vfsfitvnm
7e42820e7c Add hack to avoid service destroy when notification is paused 2022-07-03 22:42:53 +02:00
vfsfitvnm
79ba4ff993 Reduce SettingsEntryGroupText font size 2022-07-01 23:33:33 +02:00
vfsfitvnm
1a2d1f8d82 Change missing lyrics message 2022-07-01 23:03:58 +02:00
vfsfitvnm
e34c575441 Rework play icon UI 2022-07-01 22:53:21 +02:00
vfsfitvnm
15f99304bd Align play icon 2022-07-01 22:42:19 +02:00
vfsfitvnm
7e8ec8efdb Convert PlayerState to a data class 2022-07-01 22:16:32 +02:00
vfsfitvnm
fc9b023174 Remove Outcome class 2022-07-01 20:19:05 +02:00
vfsfitvnm
17cf2454c7 Continue removing Outcome class in favor of Result (search suggestions) 2022-07-01 19:41:52 +02:00
vfsfitvnm
14f46429ef Continue removing Outcome class in favor of Result (search) 2022-07-01 19:32:58 +02:00
vfsfitvnm
21ef7e8d5e Continue removing Outcome class in favor of Result 2022-07-01 18:51:01 +02:00
vfsfitvnm
f7012c9134 Add LoadingOrError component 2022-07-01 18:50:03 +02:00
vfsfitvnm
c4a8d22760 Stop radio before setting up a new one 2022-07-01 18:33:40 +02:00
vfsfitvnm
c4fea8835a Start removing Outcome class in favor of Result 2022-07-01 18:22:53 +02:00
vfsfitvnm
6ccbf7759c Reduce switch knob shadow when not checked 2022-07-01 16:50:15 +02:00
vfsfitvnm
b738910d63 New Preferences class 2022-07-01 16:45:32 +02:00
vfsfitvnm
9139609cf3 Show radio loading state 2022-07-01 15:31:00 +02:00
vfsfitvnm
91edb9672e Do not show "Remove" (from queue) button for the song that is actually playing 2022-07-01 15:02:09 +02:00
vfsfitvnm
03333cd157 Move OtherSettingsScreen to CacheSettingsScreen 2022-07-01 14:42:20 +02:00
vfsfitvnm
7c165b5c3a Tweak Database class 2022-07-01 12:54:22 +02:00
vfsfitvnm
9b67586dd6 Don't update Album when storing a MediaItem 2022-07-01 12:02:07 +02:00
vfsfitvnm
e6155b428c Add Artist upsert 2022-07-01 11:46:52 +02:00
vfsfitvnm
932314f8d2 Decouple compose compiler version 2022-07-01 00:01:06 +02:00
vfsfitvnm
174520b616 Change web search intent logic (#62) 2022-06-30 21:02:29 +02:00
vfsfitvnm
8066dce73b Change equalizer intent logic 2022-06-30 20:39:35 +02:00
vfsfitvnm
3429f27840 Cache album information 2022-06-30 15:33:36 +02:00
vfsfitvnm
f126972f2d Add playlistRoute in SearchResultScreen 2022-06-30 15:32:25 +02:00
vfsfitvnm
c8d5753046 Split PlaylistOrAlbumScreen 2022-06-30 13:49:30 +02:00
vfsfitvnm
d07d3f23b2 Add SongAlbumMap 2022-06-30 13:49:05 +02:00
vfsfitvnm
58f821534e Add Bundle extensions 2022-06-29 22:38:00 +02:00
vfsfitvnm
e4209d18ad Remove println 2022-06-29 22:37:49 +02:00
vfsfitvnm
ccfedf294b Fix typo 2022-06-29 21:50:29 +02:00
vfsfitvnm
fd41e78625 Add TextCard component 2022-06-29 21:33:35 +02:00
vfsfitvnm
53190a39f7 Prevent items in home page to not be displayed due to an unknown behaviour 2022-06-29 20:41:14 +02:00
vfsfitvnm
8b345c2405 Do not display notification on configuration changed if no media item is playing 2022-06-29 20:34:39 +02:00
vfsfitvnm
1fb50169ff Cache artist information 2022-06-29 20:15:43 +02:00
vfsfitvnm
309a1a4237 Add shuffle/radio data to Artist 2022-06-29 20:14:44 +02:00
vfsfitvnm
9103c30044 Add foreign key constraint to Song 2022-06-29 15:26:01 +02:00
vfsfitvnm
95879e7a6e Reflect database migration 2022-06-29 15:24:00 +02:00
vfsfitvnm
6f5bc02216 Migrate database (2) 2022-06-29 15:03:20 +02:00
vfsfitvnm
a7bdda074b Migrate database (1) 2022-06-29 14:13:39 +02:00
vfsfitvnm
ade78c8ecf Tune skip silence feature for music 2022-06-29 00:25:28 +02:00
vfsfitvnm
f85fe5a403 Delete unused resource 2022-06-28 16:22:57 +02:00
vfsfitvnm
cfd7dc40df Add BitmapProvider class 2022-06-28 16:03:30 +02:00
vfsfitvnm
72eb9d4c7d Add BitmapProvider class 2022-06-28 16:03:19 +02:00
vfsfitvnm
aa02242cc6 Add palette property to ColorPaletteMode 2022-06-28 15:59:40 +02:00
vfsfitvnm
c74a8f9f07 Dispose PlayerState 2022-06-28 10:43:56 +02:00
vfsfitvnm
8155294516 Display player error in notification 2022-06-27 22:41:53 +02:00
vfsfitvnm
978a04bc2e Fix little regression 2022-06-27 22:40:03 +02:00
vfsfitvnm
2cbb5a4ba4 Use database executors instead of compose coroutines to launch database operations 2022-06-27 22:07:07 +02:00
vfsfitvnm
85f89ec799 Cancel radio job when starting a new radio 2022-06-27 21:59:01 +02:00
vfsfitvnm
697c6b6379 Update dependencies 2022-06-27 21:14:50 +02:00
vfsfitvnm
1606885f71 Fix minor radio bug 2022-06-26 23:07:25 +02:00
vfsfitvnm
3607b041b2 Fix regression that caused the song duration to not be updated in PlayerState 2022-06-26 22:52:07 +02:00
vfsfitvnm
5c8dd45c2a Add media metadata in onPlaybackStateChanged 2022-06-26 22:47:39 +02:00
vfsfitvnm
f6b8cf937e Fix song transition in notification 2022-06-26 21:50:17 +02:00
vfsfitvnm
4e16d7b41d Fix song transition in notification 2022-06-26 21:16:57 +02:00
vfsfitvnm
8f5bc5e90e Add player state persistence 2022-06-26 17:07:03 +02:00
vfsfitvnm
c336a274d8 Improve notification management 2022-06-26 17:05:20 +02:00
vfsfitvnm
308808a363 Improve loudnessDb handling 2022-06-26 17:03:37 +02:00
vfsfitvnm
b579b23acb Improve loudnessDb handling 2022-06-26 16:40:25 +02:00
vfsfitvnm
57c6853793 Add video id to stats for nerds 2022-06-25 20:56:40 +02:00
vfsfitvnm
b2443dc2af Play song when adding to queue if playback is empty 2022-06-25 19:13:54 +02:00
vfsfitvnm
85c37ae842 Make PlayerBottomSheet stable 2022-06-25 18:39:43 +02:00