Skip to content

fix: prevent file name collisions for multi disc audio books - #316

Open
schummar wants to merge 1 commit into
pounat:mainfrom
schummar:fix/multi-disc-downloads
Open

fix: prevent file name collisions for multi disc audio books#316
schummar wants to merge 1 commit into
pounat:mainfrom
schummar:fix/multi-disc-downloads

Conversation

@schummar

Copy link
Copy Markdown

Audio books can be separated into multiple disc folders, which contain non unique file names - e.g. "Track 01.mp3". (See https://audiobookshelf.org/docs/documentation/libraries/book-library/directory-structure#audiobook-tracks)

At the moment these files overwrite each other and unexpected content is played when you try to listen to the audio book.
This PR prefixes the files to prevent such collisions.

Btw. the download notifications are also broken in this scenario, but since this is a separate, if related, problem I wanted to first fix this and later have a look at the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant