mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-30 23:40:40 +02:00
Request: consolidate collections in Library View #28
Closed
opened 2026-04-24 22:56:44 +02:00 by adam
·
30 comments
No Branch/Tag Specified
master
book_tags_genres_dedupe
episode_download_fallback
Issue-4540-SortBy-StartedDate-and-FinishedDate
episode_meta_tagging
fix_authorize_race_condition
redirect_transcode_requests
progress_updated_sort
fix_ereader_socket_event
fix_change_empty_root_password
fix_podcast_session_track_index
fix_set_token
session_modal_user
localize_durations
fix_oidc_create_user
jwt_auth_refactor
fix_scanner_deleting_single_file_books
fix_mediaprogress_updatedat_2
experimental_next_client
podcast_episode_duration
episode-timestamps-clickable
book_author_secondary_sort_title
podcast_useragents
pathexists_user_access
fix_pathexists_join
book_author_secondary_sort
clean_duplicate_mediaprogress
sanitize_html_description
trix_prevent_attachments
check_path_api_fix
fix_mediaprogress_updatedat
increase_express_json_limit
fix_dockerfile_nunicode
search_episodes
audiobook_tools_update
episode_secondary_sorts
hls_stream_url_update
new_session_track_endpoint
audiobook_tools_enhancements
watcher_rescans_update
player_track_tooltip
fix_exclude_prefixes_crash
socket_item_events
fix_podcast_episode_scanner_promise
new_stats_controller
count_cache_for_userpermissions
parsing-opf-v3
validate_migration_files
fix-quick-match-all-crash
fix-chapter-end-sleep-timer
stringify_sequelize_query
remove-col-ambiguity
fix_next_prev_edit_description
details_trim_whitespace
fix_content_url_basepath
fix_logger_fatal
progress_bar_visibility
batch-edit-populate-map-details
feed_generator_updates
bookmark-modal-updates
migrate-library-item-in-scanner
migrate-new-library-items
migrate-podcasts-new-library-item-2
migrate-podcasts-new-library-item
fix-remove-episode-from-playlist
playback-session-use-new-library-item
refactor-library-item
fix-heatmap-caption
feed-episodes-upsert
share-media-player-media-session-api
remove-old-playlist
remove_old_collection_object
plugin-implementation-demo
feed_migration
refactor-feeds-from-item
fix_remove_authors_no_books
v2.17.3-fk-constraints-migration
migrations-first-upgrade
sqlite_2
feature/nuxt-target-server
waveform
sqlite
playlists
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v1.3.3
v1.3.1
v1.2.8
v1.2.6
v1.2.5
v1.2.4
v1.2.1
v1.1.15
v1.1.14
v1.1.13
v1.1.12
v1.1.11
v1.1.10
v1.1.9
v1.1.8
v1.0.0
0.9.61-beta.0
0.9.61-beta
Labels
Clear labels
authentication
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
pull-request
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
Mirrored from GitHub Pull Request
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
adam (Adam Melkus)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/audiobookshelf#28
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Amitheous on GitHub (Sep 21, 2021).
Similar to how plex allows collections to be grouped together when viewing titles(like the Kung Fu Panda series in the image below), it would be nice to be able to do the same here.

e.
@advplyr commented on GitHub (Sep 21, 2021):
This is similar to #36 but it covers more use-cases. I didn't know Plex had this option, it is not easy to find, and it only applies when sorting by title.
Do you think there should be another field added called "collection"?
If we allow grouping by series and collection there would be conflicts when a book is in a collection and a series, so we could only allow one or the other at a time.
Would sorting be handled the same way as Plex? Since a group only has a title to sort by, the only time you would see the group is when you are sorting by title?
@Budlyte commented on GitHub (Sep 21, 2021):
I'm answering from back on my post on #36 because I think it's more pertinent here.
Actually, after looking at Raymond E. Feist's stuff, I realize that Collections would be different than "Tags". Feist's stuff, according to Goodreads, is 3 books here 3 books there, and so on but really there's an order to read them all together. So a Collection would be a custom list of books in a certain order, created by the user.
This would actually handled at the Collection level, a new thing, not the book level, and fix your mentioned issue of only allowing a book in a Series or Collection at one time.
Collection just equals a custom list of books, sorted in an order. This info wouldn't live in the book's edit page, allowing for a book to be included in more than one Collection.
@advplyr commented on GitHub (Sep 21, 2021):
So like Plex then? Where collections are on their own tab, separate from your main library?
@Amitheous Is talking about grouping by collection, but collections wouldn't live on the same bookshelf.
@Budlyte commented on GitHub (Sep 21, 2021):
Ooooohhhh, I apologize, I thought this was the same as #36 where items get automatically grouped based on being part of the same series. I honestly forgot Plex has that custom Collections feature.
Yeah, Collections would be different than Tags, it would be a custom Reading List. I didn't realize these exist in books until I looked at Feist's stuff, I should've expected it though given how common it is in Comics.
Yeah, the library view does look nicer with them on their own tab, rather than lumped together.
@advplyr commented on GitHub (Sep 21, 2021):
Eh, I was a bit off with what I said. In Plex you can create collections. Those collections live in another tab, but they have an option:

If you choose to "Hide items" in collections, it will group them in the main library like shown in the initial post screenshot. However, it will only group them if you are sorting by Title.
This may be one of those things that I'm just over-thinking, but if this is rolled out sloppily it is going to be difficult to unwind.
@Budlyte commented on GitHub (Sep 21, 2021):
Yeah, I think if added then the result of Plex's Disabled selection is easiest to navigate. A separate tab for Collections.
Hell, this all being the Audiobooks library, this could be on the left side with options for all the other filters (Genres, Tags, Series, Authors). And then follow suit for the eBooks when added in? You did say you were wanting to rebuild the current functionality. :)
Updated because I forgot to move the Sort over.
I guess I should expand on this layout if I'm throwing it out there.
@advplyr commented on GitHub (Sep 22, 2021):
Damn, you have a huge collection. I'm surprised you haven't hit the limits on the http requests that send back an array of all your audiobooks.
I like where you are going with this. What do you think of using a "navigation rail" like this:
If we do a side nav I want it to be as unobtrusive as possible
@advplyr commented on GitHub (Sep 22, 2021):
I put something together real quick to try it out.
Would like to look for better icons if we go this route, or leave out the icons, I just think they are more eye-catching.
@Budlyte commented on GitHub (Sep 22, 2021):
Oh yeah, that looks really nice. I think more planning ahead may be needed though.
You mentioned in #50 that you would like to support eBooks as well, at some point, so taking a step further back means you'll need to support multiple libraries at some point. What does displaying multiple libraries look like down that road?
Is it a layout like Plex or Komga, where the libraries are listed on the left with a "Home" or All view at the top?
Or is keeping it simple the best approach, simply have a toggle between the two libraries, and basically use the layout in your image above for both of them?
I'm afraid if you head down this road of changing layouts too early it may be more difficult to implement multiple libraries later.
@advplyr commented on GitHub (Sep 22, 2021):
The ebook and audiobook can have the same details and cover art and live together in the same library.
We don't need to separate the 2 mediums like Plex does.
I couldn't get this looking nice, but it could be as simple as a dropdown.
Libraries can have different collections, tags, authors, etc.
Most importantly, libraries can have different user permissions and sharing.
Comics would be a good example of why someone might create a separate library. I'm not familiar with comic files so that may be something that needs to get built out.
It is good to start thinking of libraries now.
@Budlyte commented on GitHub (Sep 22, 2021):
Oooh, yeah, library restrictions would allow things like Kids Audiobooks and such too.
I'm not asking that you build out for comics or anything, those are readily covered now. No one else is building an Audiobooks library server, so people are super grateful for your work in this. I've seen your project mentioned on the Readarr discord lately.
I like your thoughts on combining the audio & print library, I guess is really the same way it was originally requested. The sidebar looks really nice.
@advplyr commented on GitHub (Sep 22, 2021):
When viewing collections, series, etc. and you click on one of the items, is that just redirecting to the library with a filter applied?
Example: Click on the Enders Saga series -> redirect to the library with Enders Saga filter applied.
Something about that logic isn't making sense
@Budlyte commented on GitHub (Sep 23, 2021):
Is that what it does in the background right now with the current dropdown menu? Part the goal here is to make the navigation to those more appealing, right? Move whatever those links are out to a larger screen view instead of that scrollbar.
@Amitheous commented on GitHub (Sep 23, 2021):
Are you asking about how plex handles it? In that case clicking on the collection brings up a separate page with the collection contents. On mobile now so sorry if the format is strange but here's the same Kung Fu Panda example on mobile
@advplyr commented on GitHub (Sep 23, 2021):
Yeah I like how Plex handles that. I'm not sure a separate page for collections & series would make sense with books.
With the side rail we were thinking of 2 different things. I wasn't thinking that the side rail would replace filtering, I was thinking that it would be a way to view groups.
On the collections page you would see a card for each collection with a cover, number of books, and name. Same with the other ones basically.
On the library page is where you see all the individual books, and you can filter and sort just like in a Plex library.
@Budlyte commented on GitHub (Sep 23, 2021):
Oh, yeah I guess that is different. When you added everything into that side rail image I thought you were planning to move all those filter presets over to the left. Which seemed cool, because that scrolling list can be rough when you have a couple hundred items in a category.
*I was on mobile and missed typing hundred in that above.
@advplyr commented on GitHub (Sep 24, 2021):
I pushed an update this morning
v1.2.0with the side rail. I didn't write release notes for that one.I think we are on the right track but there is something missing, it doesn't feel right. I'm interested in your thoughts and critiques.
I want to get some more opinions on the side rail, it could be that it doesn't go well with the current design.
@Budlyte commented on GitHub (Sep 25, 2021):
Hey, you're back! I was starting to worry that we had broke you.
Are you just looking for critique on the sidebar right now?
I really like the ability to quickly switch between the different views with the sidebar, and what you did was stacking the images in the card looks good.
It is missing sorting, and I don't understand what it's doing by default. So once a Series is selected the books are in an undiscernible order.
Word wrap might be good for the rollover text.

Could the Keyword Filter be added to this view? That filter is suuuper useful, and I can see it being useful to filter down series by an Author if someone can't remember which specific series it was they're trying to find. Or the reverse, while in Author view using it to filter by a series name to see what other stuff they have.
A progress bar on the series card.
Basically if this view were still capable of all the same things the regular Library view is capable of, but with its nice graphical view. Maybe that's why it feels off?
Or maybe you're not liking how this corner is stitched together. :P

And something is happening with the drawing, things have run off the screen and if the width is changed then the rows redraw to fewer and fewer until there is only one row running off of the screen.

@Merijeek commented on GitHub (Sep 25, 2021):
Nice to see I'm not the only fan of Skippy The Magnificent.
On Fri, Sep 24, 2021, 4:05 PM Budlyte @.***> wrote:
@advplyr commented on GitHub (Sep 25, 2021):
No chance! I've been working on making this available outside of just Docker.
Critique everything, but yeah right now I'm conflicted on the side rail as far as the look and feel.
The stack of book covers for series I'm calling a "Group Card", as opposed to the regular book, "Book Card". The group card would be used anytime a group of books needs to be displayed on the bookshelf, so for series, collections, tags, etc.
I went with an easier version of the group card to start, I have a few other ideas for that.
Oops, forgot about that, I intended to use volume number order.
Agree
For sure. I only have a few series, but I can see how a collection of your size needs more control.
I'm not sure what else other than a progress bar could go here. Maybe an option to batch edit the books in the series.
That is a bad bug, I'll have to do this one first.
Thanks as always.
@advplyr commented on GitHub (Sep 26, 2021):
Covered most of these updates in v1.2.4
When clicking into a series, I added the volume number over the cover if it is set.
@Budlyte commented on GitHub (Sep 26, 2021):
When clicking into a series, I added the volume number over the cover if it is set.OMG, that's all kinds of sexy.
@Budlyte commented on GitHub (Sep 26, 2021):
Hmmm, well it doesn't freak out when I change the window size anymore but that's because it's always on one row that runs off the screen.

Also, not that it should reasonably happen, but I thought the progress bar was funny if books are marked read out of order.
The keyword filter is missing too.
@advplyr commented on GitHub (Sep 27, 2021):
Are you sure you updated? I definitely fixed the overflow. Check the version number on the settings page.
Update: just realized your screenshot includes the progress bar, so you must have. Maybe try pulling the update again, because I did 2 revisions directly after the first update.
@Budlyte commented on GitHub (Sep 27, 2021):
Will do.
Hitting "Select All" while in a Series selects the entire library.

@advplyr commented on GitHub (Sep 27, 2021):
Fixed in 1.2.5
@Budlyte commented on GitHub (Sep 27, 2021):
Now it's somehow selecting all Series.
Showing number of Series

Book Selected

207 Series selected

@advplyr commented on GitHub (Sep 28, 2021):
I have this fixed but haven't published it yet. Looking for your valuable feedback on the new home page design in #63
@Amitheous commented on GitHub (Oct 1, 2021):
Oh man I'm finally moved into the new place and got my server up and running again and I am amazed by the progress you made on this in such a short time. The implementation you came up with for the series is way better this way than how plex does it, at least for books. Fantastic work and keep it up!
@advplyr commented on GitHub (Dec 17, 2021):
This has come a loooong way. Glad to close this out.