Update seek forward/backward time to 10s

This commit is contained in:
advplyr 2021-09-05 12:09:29 -05:00
parent 811fc91fa7
commit 4420375f2a
3 changed files with 10 additions and 5 deletions

View file

@ -10,8 +10,8 @@ android {
applicationId "com.audiobookshelf.app" applicationId "com.audiobookshelf.app"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 5 versionCode 6
versionName "0.2.1-beta" versionName "0.2.2-beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions { aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

View file

@ -133,7 +133,12 @@ class PlayerNotificationService : Service() {
createNotificationChannel(channelId, channelName) createNotificationChannel(channelId, channelName)
} else "" } else ""
mPlayer = SimpleExoPlayer.Builder(this).build()
var simpleExoPlayerBuilder = SimpleExoPlayer.Builder(this)
simpleExoPlayerBuilder.setSeekBackIncrementMs(10000)
simpleExoPlayerBuilder.setSeekForwardIncrementMs(10000)
mPlayer = simpleExoPlayerBuilder.build()
setPlayerListeners() setPlayerListeners()
val sessionActivityPendingIntent = val sessionActivityPendingIntent =

View file

@ -1,6 +1,6 @@
{ {
"name": "audiobookshelf-app", "name": "audiobookshelf-app",
"version": "v0.2.1-beta", "version": "v0.2.2-beta",
"author": "advplyr", "author": "advplyr",
"scripts": { "scripts": {
"dev": "nuxt --hostname localhost --port 1337", "dev": "nuxt --hostname localhost --port 1337",