[PR #631] [MERGED] Get book data from dir refactor #3387

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/631
Author: @cassieesposito
Created: 5/25/2022
Status: Merged
Merged: 5/25/2022
Merged by: @advplyr

Base: masterHead: getBookDataFromDir-refactor


📝 Commits (9)

  • dd664da Separated individual element parsing functions out of function getBookDataFromDir
  • 13d21e9 Cleaned function getSubtitle
  • f1f02b1 Cleaned function getPublishedYear
  • 2d8c840 Cleaned up function getSequence, became more forgiving of whitespace around metadata elements
  • 3451a31 Merge branch 'advplyr:master' into getBookDataFromDir-refactor
  • e2e5dd3 Merge branch 'master' into getBookDataFromDir-refactor
  • 1ab933c Refactored getSequence. Slight behavior changes introduced.
  • c6253e4 Merge branch 'getBookDataFromDir-refactor' of github.com:cassieesposito/audiobookshelf into getBookDataFromDir-refactor
  • 6d947bb Converted indentation from 4 spaces to 2

📊 Changes

1 file changed (+74 additions, -89 deletions)

View changed files

📝 server/utils/scandir.js (+74 -89)

📄 Description

Minor tweaks to the way scanner handles information about series volumes.


🔄 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/631 **Author:** [@cassieesposito](https://github.com/cassieesposito) **Created:** 5/25/2022 **Status:** ✅ Merged **Merged:** 5/25/2022 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `getBookDataFromDir-refactor` --- ### 📝 Commits (9) - [`dd664da`](https://github.com/advplyr/audiobookshelf/commit/dd664da8710c3d13e892b8523ab93237638ce90d) Separated individual element parsing functions out of function getBookDataFromDir - [`13d21e9`](https://github.com/advplyr/audiobookshelf/commit/13d21e90f82131960c1160f13414e07c894090ca) Cleaned function getSubtitle - [`f1f02b1`](https://github.com/advplyr/audiobookshelf/commit/f1f02b185e9fe48cdea36ec076858dbd74f5d9ec) Cleaned function getPublishedYear - [`2d8c840`](https://github.com/advplyr/audiobookshelf/commit/2d8c840ad6833b33fba15996f0f19ae21927f13f) Cleaned up function getSequence, became more forgiving of whitespace around metadata elements - [`3451a31`](https://github.com/advplyr/audiobookshelf/commit/3451a312e99c18d6f5843bc87fc37c74665713a9) Merge branch 'advplyr:master' into getBookDataFromDir-refactor - [`e2e5dd3`](https://github.com/advplyr/audiobookshelf/commit/e2e5dd372a73bfbe76f24b41ef4b598a35503075) Merge branch 'master' into getBookDataFromDir-refactor - [`1ab933c`](https://github.com/advplyr/audiobookshelf/commit/1ab933c8b01574013fc21cd937a2f4f34c57cea0) Refactored getSequence. Slight behavior changes introduced. - [`c6253e4`](https://github.com/advplyr/audiobookshelf/commit/c6253e4fd4ff9142cf634e11f9d6852aa384fc02) Merge branch 'getBookDataFromDir-refactor' of github.com:cassieesposito/audiobookshelf into getBookDataFromDir-refactor - [`6d947bb`](https://github.com/advplyr/audiobookshelf/commit/6d947bbc294acf7bb9b22eda3960feaf09f7ef18) Converted indentation from 4 spaces to 2 ### 📊 Changes **1 file changed** (+74 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/scandir.js` (+74 -89) </details> ### 📄 Description Minor tweaks to the way scanner handles information about series volumes. --- <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:15:27 +02:00
adam closed this issue 2026-04-25 00:15:27 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3387