[PR #3015] [CLOSED] Speed up playlist & collection query #3842

Closed
opened 2026-04-25 00:17:16 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3015
Author: @BrianCArnold
Created: 5/26/2024
Status: Closed

Base: masterHead: SpeedUpPlaylistQuery


📝 Commits (2)

  • 36f4607 Limit playlists to return only 4 items when getting list of ALL playlists (otherwise, return the entire playlist)
  • 44ff2e7 Limit collections to return only 2 items when getting list of ALL collections (otherwise, return the entire collection)

📊 Changes

3 files changed (+60 additions, -11 deletions)

View changed files

📝 server/controllers/LibraryController.js (+2 -2)
📝 server/models/Collection.js (+14 -9)
📝 server/models/Playlist.js (+44 -0)

📄 Description

Should fix #2852


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3015 **Author:** [@BrianCArnold](https://github.com/BrianCArnold) **Created:** 5/26/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `SpeedUpPlaylistQuery` --- ### 📝 Commits (2) - [`36f4607`](https://github.com/advplyr/audiobookshelf/commit/36f46072fdbbc84d13c0519fa0ad4bb3cd6fe43d) Limit playlists to return only 4 items when getting list of ALL playlists (otherwise, return the entire playlist) - [`44ff2e7`](https://github.com/advplyr/audiobookshelf/commit/44ff2e7a99f1f2dbb7ea0ff451c1f1459cf98af8) Limit collections to return only 2 items when getting list of ALL collections (otherwise, return the entire collection) ### 📊 Changes **3 files changed** (+60 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `server/controllers/LibraryController.js` (+2 -2) 📝 `server/models/Collection.js` (+14 -9) 📝 `server/models/Playlist.js` (+44 -0) </details> ### 📄 Description Should fix #2852 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:17:16 +02:00
adam closed this issue 2026-04-25 00:17:16 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3842