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"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 5
versionName "0.2.1-beta"
versionCode 6
versionName "0.2.2-beta"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// 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)
} else ""
mPlayer = SimpleExoPlayer.Builder(this).build()
var simpleExoPlayerBuilder = SimpleExoPlayer.Builder(this)
simpleExoPlayerBuilder.setSeekBackIncrementMs(10000)
simpleExoPlayerBuilder.setSeekForwardIncrementMs(10000)
mPlayer = simpleExoPlayerBuilder.build()
setPlayerListeners()
val sessionActivityPendingIntent =

View file

@ -1,6 +1,6 @@
{
"name": "audiobookshelf-app",
"version": "v0.2.1-beta",
"version": "v0.2.2-beta",
"author": "advplyr",
"scripts": {
"dev": "nuxt --hostname localhost --port 1337",
@ -30,4 +30,4 @@
"@nuxtjs/tailwindcss": "^4.2.0",
"postcss": "^8.3.5"
}
}
}