feat: inline search download status and headset transport
- mood detail carries the server's download jobs - search rows show Downloading… / Added / Failed, so the keyboard cannot hide it - headset and Bluetooth next/previous drive the app queue; previous keeps the after-two-seconds restart rule - 'Next batch' now explains what the preview is - version 0.3.1
This commit is contained in:
1 parent
cfab559e5e
commit
957ee3eb4b
12 files changed
+362
-19
No files matched your search
+5
@@ -126,6 +126,11 @@ class MediaControllerAudioPlayer(context: Context) : AudioPlayer {
|
||||
withController { it.seekTo((seconds * 1000).toLong().coerceAtLeast(0L)) }
|
||||
}
|
||||
|
||||
override fun setSkipCallbacks(onNext: (() -> Unit)?, onPrevious: (() -> Unit)?) {
|
||||
PlaybackCommands.onNext = onNext
|
||||
PlaybackCommands.onPrevious = onPrevious
|
||||
}
|
||||
|
||||
override fun scheduleSleepTimer(seconds: Long?): Boolean {
|
||||
val args = Bundle().apply { putLong(SLEEP_TIMER_SECONDS, seconds ?: 0L) }
|
||||
val send: (MediaController) -> Boolean = { current ->
|
||||
|
||||
Reference in new issue
Block a user