Refresh Book Covers #4

Closed
opened 2026-02-20 09:37:40 -05:00 by deekerman · 3 comments
Owner

Originally created by @Merijeek on GitHub (Aug 24, 2021).

Couple suggestions here:

First, when I import something, it's missing covers most of the time. However, on a manual search, it is not only always finding covers, it's usually even a good cover. So maybe some sort of "pull a cover and apply it and call it good" kind of option?

Second, if files get moved or changed, as far as I know the only way to find them is to scan again. But if you do that, you've now got dupes. So then you're either manually deleting dupes, or you're clearing and then rescanning...which means you've lost all the stuff you just fixed. Maybe a way to do a refresh rather than a complete delete and renew?

Third, I know you just added series, but a way to add a number as an additional option to the series so that books can be ordered inside a series would be pretty nice.

Fourth, if you're going to do sort by author, it'd really make sense to sort by last name, not first.

Finally, while I know people will probably disagree with me on this one, it would be nice to be able to make the main page work as folders. While it's nice to see 200 book covers all at once, it's not entirely practical. An option to get sub-shelves based on authors (composite pictures? Randomly chosen? Whatever) or series or something like that would be nice.

Originally created by @Merijeek on GitHub (Aug 24, 2021). Couple suggestions here: First, when I import something, it's missing covers most of the time. However, on a manual search, it is not only always finding covers, it's usually even a good cover. So maybe some sort of "pull a cover and apply it and call it good" kind of option? Second, if files get moved or changed, as far as I know the only way to find them is to scan again. But if you do that, you've now got dupes. So then you're either manually deleting dupes, or you're clearing and then rescanning...which means you've lost all the stuff you just fixed. Maybe a way to do a refresh rather than a complete delete and renew? Third, I know you just added series, but a way to add a number as an additional option to the series so that books can be ordered inside a series would be pretty nice. Fourth, if you're going to do sort by author, it'd really make sense to sort by last name, not first. Finally, while I know people will probably disagree with me on this one, it would be nice to be able to make the main page work as folders. While it's nice to see 200 book covers all at once, it's not entirely practical. An option to get sub-shelves based on authors (composite pictures? Randomly chosen? Whatever) or series or something like that would be nice.
Author
Owner

@advplyr commented on GitHub (Aug 24, 2021):

First, when I import something, it's missing covers most of the time. However, on a manual search, it is not only always finding covers, it's usually even a good cover. So maybe some sort of "pull a cover and apply it and call it good" kind of option?

I've been holding off on the automatic search and match until the regular search is more stable. I added a button on the settings page "Scan for Covers" that does what you suggested but with a slightly stricter requirement. It requires the author and title both match the result with a Levenshtein distance of 2 or less.

Second, if files get moved or changed, as far as I know the only way to find them is to scan again. But if you do that, you've now got dupes. So then you're either manually deleting dupes, or you're clearing and then rescanning...which means you've lost all the stuff you just fixed. Maybe a way to do a refresh rather than a complete delete and renew?

You may have an older version if you are getting duplicates when moving files. I pushed the updated scanner this morning that should handle all updates to files including cover art. Eventually these sort of changes won't require pressing scan again, it will be automatic by getting events from the file system when changes are made. There is one remaining issue with the scanner though; if you rename the audiobook directory it will remove it and add it again as if it were new, which loses any edits you made.

Third, I know you just added series, but a way to add a number as an additional option to the series so that books can be ordered inside a series would be pretty nice.

Great suggestion, I added this and decided to call it the Volume Number. In the future this could be used for sorting, but for now you can see it on the audiobooks landing page under the title. i.e. "Sword of Truth #2".

Fourth, if you're going to do sort by author, it'd really make sense to sort by last name, not first.

This is added, but will require you to press scan again so it can parse the author names. The challenge is that different author name formats are used like "Last, First" and multi-author. Then you also have last names like "von Mises". It works okay for now, I still need to have it parse the author again when manual edits are made.

Finally, while I know people will probably disagree with me on this one, it would be nice to be able to make the main page work as folders. While it's nice to see 200 book covers all at once, it's not entirely practical. An option to get sub-shelves based on authors (composite pictures? Randomly chosen? Whatever) or series or something like that would be nice.

I agree. I'm not much for design, so any other specifics you have towards this idea would be helpful.

@advplyr commented on GitHub (Aug 24, 2021): > First, when I import something, it's missing covers most of the time. However, on a manual search, it is not only always finding covers, it's usually even a good cover. So maybe some sort of "pull a cover and apply it and call it good" kind of option? I've been holding off on the automatic search and match until the regular search is more stable. I added a button on the settings page "Scan for Covers" that does what you suggested but with a slightly stricter requirement. It requires the author and title both match the result with a Levenshtein distance of 2 or less. > Second, if files get moved or changed, as far as I know the only way to find them is to scan again. But if you do that, you've now got dupes. So then you're either manually deleting dupes, or you're clearing and then rescanning...which means you've lost all the stuff you just fixed. Maybe a way to do a refresh rather than a complete delete and renew? You may have an older version if you are getting duplicates when moving files. I pushed the updated scanner this morning that should handle all updates to files including cover art. Eventually these sort of changes won't require pressing scan again, it will be automatic by getting events from the file system when changes are made. There is one remaining issue with the scanner though; if you rename the audiobook directory it will remove it and add it again as if it were new, which loses any edits you made. > Third, I know you just added series, but a way to add a number as an additional option to the series so that books can be ordered inside a series would be pretty nice. Great suggestion, I added this and decided to call it the `Volume Number`. In the future this could be used for sorting, but for now you can see it on the audiobooks landing page under the title. i.e. "Sword of Truth #2". > Fourth, if you're going to do sort by author, it'd really make sense to sort by last name, not first. This is added, but will require you to press scan again so it can parse the author names. The challenge is that different author name formats are used like "Last, First" and multi-author. Then you also have last names like "von Mises". It works okay for now, I still need to have it parse the author again when manual edits are made. > Finally, while I know people will probably disagree with me on this one, it would be nice to be able to make the main page work as folders. While it's nice to see 200 book covers all at once, it's not entirely practical. An option to get sub-shelves based on authors (composite pictures? Randomly chosen? Whatever) or series or something like that would be nice. I agree. I'm not much for design, so any other specifics you have towards this idea would be helpful.
Author
Owner

@advplyr commented on GitHub (Aug 25, 2021):

I still need to have it parse the author again when manual edits are made.

I just updated this. Anytime the author is updated it gets parsed into first & last name that is used in the sort. For now I added a tooltip on the audiobook landing page if you hover over the author name it will show the 2 parsed author names.

image

@advplyr commented on GitHub (Aug 25, 2021): > I still need to have it parse the author again when manual edits are made. I just updated this. Anytime the author is updated it gets parsed into first & last name that is used in the sort. For now I added a tooltip on the audiobook landing page if you hover over the author name it will show the 2 parsed author names. ![image](https://user-images.githubusercontent.com/67830747/130784256-7d5f01e7-b506-41e8-832b-498ae2b18332.png)
Author
Owner

@advplyr commented on GitHub (Aug 25, 2021):

There is one remaining issue with the scanner though; if you rename the audiobook directory it will remove it and add it again as if it were new, which loses any edits you made.

This is resolved as of v0.9.77-beta. The inode value is stored with files and the audiobook which persists between renames.
Suppose you rename /Orson Scot Card/... to /Orson Scott Card/..., the audiobook paths are updated including the author name.

@advplyr commented on GitHub (Aug 25, 2021): > There is one remaining issue with the scanner though; if you rename the audiobook directory it will remove it and add it again as if it were new, which loses any edits you made. This is resolved as of `v0.9.77-beta`. The `inode` value is stored with files and the audiobook which persists between renames. Suppose you rename `/Orson Scot Card/...` to `/Orson Scott Card/...`, the audiobook paths are updated including the author name.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#4
No description provided.