[Bug]: Server crash when removing item from playlist #1390

Closed
opened 2026-04-24 23:43:46 +02:00 by adam · 1 comment
Owner

Originally created by @advplyr on GitHub (Sep 17, 2023).

Describe the issue

SocketAuthority.clientEmitter(playlist.userId, 'playlist_updated', jsonExpanded)
                                      ^

ReferenceError: playlist is not defined
    at ApiRouter.removeBatch (/audiobookshelf/server/controllers.PlaylistController.js:381:39)

Steps to reproduce the issue

  1. Remove item from playlist

Audiobookshelf version

v2.4.2

How are you running audiobookshelf?

Docker

Originally created by @advplyr on GitHub (Sep 17, 2023). ### Describe the issue ```bash SocketAuthority.clientEmitter(playlist.userId, 'playlist_updated', jsonExpanded) ^ ReferenceError: playlist is not defined at ApiRouter.removeBatch (/audiobookshelf/server/controllers.PlaylistController.js:381:39) ``` ### Steps to reproduce the issue 1. Remove item from playlist ### Audiobookshelf version v2.4.2 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:43:46 +02:00
adam closed this issue 2026-04-24 23:43:47 +02:00
Author
Owner

@advplyr commented on GitHub (Sep 18, 2023):

Fixed in v2.4.3

@advplyr commented on GitHub (Sep 18, 2023): Fixed in [v2.4.3](https://github.com/advplyr/audiobookshelf/releases/tag/v2.4.3)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1390