[PR #5092] feat: add auto skip chapter intro / outro #4422

Open
opened 2026-04-25 00:19:41 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/5092
Author: @Lunaticzy
Created: 2/28/2026
Status: 🔄 Open

Base: masterHead: master


📝 Commits (7)

  • d157388 Add per-chapter auto skip intro/outro for web player
  • 8a34eff Refactor skip intro/outro to global settings instead of per-book
  • 888852a Add i18n strings for chapter skip settings
  • ceeee97 Suppress auto skip for 2s after manual seek
  • 22cd48b Align skip i18n strings with app terminology
  • a046c1a i18n update title
  • 978128b Translate the annotation from Chinese to English

📊 Changes

5 files changed (+145 additions, -2 deletions)

View changed files

📝 client/components/app/MediaPlayerContainer.vue (+87 -0)
📝 client/components/modals/PlayerSettingsModal.vue (+45 -1)
📝 client/store/user.js (+5 -1)
📝 client/strings/en-us.json (+4 -0)
📝 client/strings/zh-cn.json (+4 -0)

📄 Description

Brief summary

Add chapter intro/outro skip support to the AudioBookshelf web player.

Which issue is fixed?

#2203

In-depth Description

This PR adds chapter intro and outro skip functionality to the web player through global player settings and playback logic integration.

Implementation

  • PlayerSettingsModal.vue
    Added global settings for chapter intro and outro behavior in the player settings interface. Users can enable or disable skipping of configured intro and outro segments from player settings modal.

  • MediaPlayerContainer.vue
    Implemented the skip logic in the playback flow. When playback reaches a configured intro or outro time range, the player automatically jumps to the main content or the next valid playback position.

The approach reuses the current player settings, minimizing changes to the codebase and lowering the risk of side effects.

How have you tested this?

yes. please see the video.

Screenshots

https://youtu.be/p-3amzaxxBo


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/5092 **Author:** [@Lunaticzy](https://github.com/Lunaticzy) **Created:** 2/28/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`d157388`](https://github.com/advplyr/audiobookshelf/commit/d157388680c09d61e85727e4a0917a288ff4291f) Add per-chapter auto skip intro/outro for web player - [`8a34eff`](https://github.com/advplyr/audiobookshelf/commit/8a34eff1e927a45e963f41acb33a7420be84666f) Refactor skip intro/outro to global settings instead of per-book - [`888852a`](https://github.com/advplyr/audiobookshelf/commit/888852a12835f822f74545c7194853202600fcb6) Add i18n strings for chapter skip settings - [`ceeee97`](https://github.com/advplyr/audiobookshelf/commit/ceeee97e63a9f808cb2ad34eb5d4dbec5d6e211a) Suppress auto skip for 2s after manual seek - [`22cd48b`](https://github.com/advplyr/audiobookshelf/commit/22cd48b39f1f8822a541d2050bebeca0aaa366ad) Align skip i18n strings with app terminology - [`a046c1a`](https://github.com/advplyr/audiobookshelf/commit/a046c1a5f2c69302b0e0dd84a13532f455750761) i18n update title - [`978128b`](https://github.com/advplyr/audiobookshelf/commit/978128bf9922c95ee446809f2aeaf7270b238244) Translate the annotation from Chinese to English ### 📊 Changes **5 files changed** (+145 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `client/components/app/MediaPlayerContainer.vue` (+87 -0) 📝 `client/components/modals/PlayerSettingsModal.vue` (+45 -1) 📝 `client/store/user.js` (+5 -1) 📝 `client/strings/en-us.json` (+4 -0) 📝 `client/strings/zh-cn.json` (+4 -0) </details> ### 📄 Description ## Brief summary Add chapter intro/outro skip support to the AudioBookshelf web player. ## Which issue is fixed? #2203 ## In-depth Description This PR adds chapter intro and outro skip functionality to the web player through global player settings and playback logic integration. ### Implementation - PlayerSettingsModal.vue Added global settings for chapter intro and outro behavior in the player settings interface. Users can enable or disable skipping of configured intro and outro segments from player settings modal. - MediaPlayerContainer.vue Implemented the skip logic in the playback flow. When playback reaches a configured intro or outro time range, the player automatically jumps to the main content or the next valid playback position. The approach reuses the current player settings, minimizing changes to the codebase and lowering the risk of side effects. ## How have you tested this? yes. please see the video. ## Screenshots https://youtu.be/p-3amzaxxBo --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:41 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4422