Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For single-file audiobooks prefer the title over the album for the book name #2261

Merged
merged 1 commit into from Jan 19, 2024

Conversation

PaulWoitaschek
Copy link
Owner

@PaulWoitaschek PaulWoitaschek commented Jan 19, 2024

@PaulWoitaschek PaulWoitaschek merged commit ee0e43c into main Jan 19, 2024
3 checks passed
@PaulWoitaschek PaulWoitaschek deleted the title_tag_single_files branch January 19, 2024 21:32
name = migrationMetaData?.name ?: analyzed?.bookName ?: analyzed?.chapterName ?: file.bookName(),
name = buildList {
add(migrationMetaData?.name)
if (chapters.size == 1) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does chapters.size == 1 mean single file book? I see in some podcast episode mp3s, there are multiple chapters embedded in a single mp3. Those should also have title as the book name or may be '{album} - {tittle}'.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PaulWoitaschek

Suggested change
if (chapters.size == 1) {
if (!file.isDirectory) {

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One chapter = one file already. Every chapter itself can contain chapter marks.
It's not the best naming currently

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Thanks for clarifying! Looking forward for the next release.

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.

None yet

2 participants