mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-18 08:38:39 +02:00
Update seek forward/backward time to 10s
This commit is contained in:
parent
811fc91fa7
commit
4420375f2a
3 changed files with 10 additions and 5 deletions
|
@ -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.
|
||||||
|
|
|
@ -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 =
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue