Audiobookshelf Bug: Sorting 'Recently Added' Shows Oldest Books

by Admin 64 views
Audiobookshelf Bug: Sorting 'Recently Added' Shows Oldest Books

Hey everyone, I've run into a bit of a snag with Audiobookshelf, and I wanted to bring it to your attention. I'm absolutely loving the integration, it's a game-changer! But, I've noticed a small issue when sorting my library. Let's dive into it, shall we?

The Problem: 'Recently Added' Isn't Quite Recent

Okay, so here's the deal. When I go into my Audiobookshelf library – seriously, the integration is fantastic, big thanks to the team for making this happen – and I decide to sort my books by "Recently Added", I'm expecting to see the newest additions right at the top, the most recent stuff front and center, right? Well, that's not quite what happens. Instead, the oldest books in my collection seem to be hogging the top spot. I have to scroll through ages to find the audiobooks I actually added recently. Talk about a bummer!

This got me thinking, maybe a simple ascending/descending option would be the perfect solution. But honestly, when you click "Recently Added", the expectation is that the newest stuff should be right there, ready to go. So, this feels more like a bug than a missing feature, you know?

I was originally going to suggest the feature, but then I realized this might be a bug, meaning, that the functionality of "Recently Added" is not working the way it's supposed to. So it's probably best if we fix the current functionality instead of adding a new feature.

I tested the sorting options on multiple devices and got the same result, the oldest books at the top. I hope that the development team can find a solution for this. I also wonder if it could be a cache problem, or maybe a database issue, but I'm just guessing here. I'm not a developer myself.

Steps to Reproduce (Easy Peasy!)

Reproducing this is super simple. Here's how you can check it out for yourself:

  1. Open your Audiobookshelf library.
  2. Select the "Sort By" option.
  3. Choose "Recently Added".

And that's it! You should see the oldest books at the top. Give it a try and see if you experience the same thing. I'm curious to know if it's just me or if others are seeing this too.

I am running the Beta track, and the current version is 5.15.0-148, so if you are running a different version and the issue is not present, then it's a problem with my current build.

Environment Details

Here's a quick rundown of my setup:

  • OS Version: 26.2 (Beta track)
  • App Version: 5.15.0-148

I wanted to make sure I included these details in case they're relevant to the issue. Knowing the environment can sometimes help pinpoint the source of the problem, so I'm trying to provide as much context as possible. Maybe it's a beta thing? Who knows?

Why This Matters

Look, it's not the end of the world, but it does impact the user experience, you know? When you're adding new audiobooks regularly, the "Recently Added" sort is super handy. It lets you quickly find your latest listens without having to hunt around. When it doesn't work as expected, it's a bit of a pain. It's like having a feature that's almost perfect but needs a little nudge to get there. I'm sure it is not very hard to fix.

Possible Solutions (Just Brainstorming)

Now, I'm not a developer, so I'm just spitballing here, but here are a few ideas that might help:

  1. Reverse the Sort: The simplest fix might be to just flip the sorting order for "Recently Added". So the most recent additions appear at the top by default. Easy peasy!
  2. Add Ascending/Descending Options: This would give users full control. They could choose to sort "Recently Added" in ascending or descending order, based on their preference. Flexibility is always a good thing.
  3. Check the Database: There might be a slight issue with how the database is ordering the books. A quick check to make sure the timestamps are being correctly interpreted might do the trick.

These are just some thoughts. I'm sure the Audiobookshelf team will come up with the best solution, and I'm here to help in any way that I can. Maybe there's a setting I missed? I've checked the options but couldn't find anything related to sorting order.

Let's Get This Fixed! (Community Effort)

So, that's the scoop! I'm hoping we can get this sorted out. If you're experiencing the same thing, please chime in! The more voices, the better. And to the Audiobookshelf team, thanks for creating such a great app. Your work is greatly appreciated by all of us! I'm super excited about the future of this project. If there's anything I can do to help, just let me know. I'm always happy to test things out or provide more information.

Conclusion: A Small Hiccup, But a Big Impact

In conclusion, this bug with the "Recently Added" sort function, while not critical, impacts the user experience when managing and exploring the audiobook library. By getting this fixed, the Audiobookshelf team will improve the overall usability of the app, making it easier for users to find the content they want quickly and efficiently. Let's work together to make this amazing app even better! I really think we can solve this problem quickly. It's probably just a small oversight, that can be fixed easily.

I truly believe in this product, and I know that the developers will make it amazing. I'm looking forward to the future of Audiobookshelf, and I'm sure it will be amazing. I'm excited to see what the future holds for this project. Keep up the excellent work!