[Bug]: Endpoint /api/libraries/<id>/items always returns minified results #1397

Open
opened 2026-04-24 23:44:04 +02:00 by adam · 0 comments
Owner

Originally created by @deanishe on GitHub (Sep 19, 2023).

Describe the issue

The /api/libraries/<id>/items endpoint always returns minified results, regardless of whether ?minified=0 is passed in the URL or not.

In the response, the minified key is correctly set, but the results.media items are always the minified versions of the podcast/book data.

{
    // ...
    "minified": false,
    "results": [
        {
            // ...
            "media": {...}  // <-- still minified!
        },
        // ...
    ]
}

Steps to reproduce the issue

  1. Query /api/libraries/<id>/items?minified=0
  2. Receive results with minified podcast/book media items.

Audiobookshelf version

v2.4.3

How are you running audiobookshelf?

Debian/PPA

Originally created by @deanishe on GitHub (Sep 19, 2023). ### Describe the issue The `/api/libraries/<id>/items` endpoint always returns minified results, regardless of whether `?minified=0` is passed in the URL or not. In the response, the `minified` key is correctly set, but the `results.media` items are always the minified versions of the podcast/book data. ```jsonc { // ... "minified": false, "results": [ { // ... "media": {...} // <-- still minified! }, // ... ] } ``` ### Steps to reproduce the issue 1. Query `/api/libraries/<id>/items?minified=0` 2. Receive results with minified podcast/book `media` items. ### Audiobookshelf version v2.4.3 ### How are you running audiobookshelf? Debian/PPA
adam added the bug label 2026-04-24 23:44:04 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1397