[PR #3672] [MERGED] Support additional disc folder names #4051

Closed
opened 2026-04-25 00:18:07 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3672
Author: @Techwolfy
Created: 12/2/2024
Status: Merged
Merged: 12/4/2024
Merged by: @advplyr

Base: masterHead: disc-folder-support


📝 Commits (4)

  • a03146e Support additional disc folder names
  • cc89db0 Fix second instance of regex
  • 605bd73 Fix third instance of regex
  • 0f1b64b Add test for grouping book library items

📊 Changes

3 files changed (+56 additions, -4 deletions)

View changed files

📝 server/scanner/AudioFileScanner.js (+2 -2)
📝 server/utils/scandir.js (+2 -2)
test/server/utils/scandir.test.js (+52 -0)

📄 Description

Brief summary

Support "Disc 1"-style disc folder names in addition to the current "CD01".

Which issue is fixed?

Fixes #934

How have you tested this?

A few basic test cases via https://regexr.com/.


🔄 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/3672 **Author:** [@Techwolfy](https://github.com/Techwolfy) **Created:** 12/2/2024 **Status:** ✅ Merged **Merged:** 12/4/2024 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `disc-folder-support` --- ### 📝 Commits (4) - [`a03146e`](https://github.com/advplyr/audiobookshelf/commit/a03146e09c7ba04311a0e8e14765809cce151630) Support additional disc folder names - [`cc89db0`](https://github.com/advplyr/audiobookshelf/commit/cc89db059bdd8ed3595f4846a78d5f843f2cdefa) Fix second instance of regex - [`605bd73`](https://github.com/advplyr/audiobookshelf/commit/605bd73c11aa2b79552a1da26f6c29ff904b899a) Fix third instance of regex - [`0f1b64b`](https://github.com/advplyr/audiobookshelf/commit/0f1b64b883479401d09ad3f45c76a976e1af4211) Add test for grouping book library items ### 📊 Changes **3 files changed** (+56 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `server/scanner/AudioFileScanner.js` (+2 -2) 📝 `server/utils/scandir.js` (+2 -2) ➕ `test/server/utils/scandir.test.js` (+52 -0) </details> ### 📄 Description ## Brief summary Support "Disc 1"-style disc folder names in addition to the current "CD01". ## Which issue is fixed? Fixes #934 ## How have you tested this? A few basic test cases via https://regexr.com/. --- <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:18:07 +02:00
adam closed this issue 2026-04-25 00:18:07 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4051