[Bug]: Crashes when trying to download certain episodes #1231

Closed
opened 2026-04-24 23:36:30 +02:00 by adam · 2 comments
Owner

Originally created by @flynnguy on GitHub (Jul 4, 2023).

Describe the issue

When downloading certain episodes, it crashes with:

/server/libs/njodb/index.js:103
        throw error;
        ^

Error: spawn E2BIG
    at ChildProcess.spawn (node:internal/child_process:420:11)
    at spawn (node:child_process:733:9)
    at /server/libs/fluentFfmpeg/processor.js:148:24
    at FfmpegCommand.proto._getFfmpegPath (/server/libs/fluentFfmpeg/capabilities.js:90:14)
    at FfmpegCommand.proto._spawnFfmpeg (/server/libs/fluentFfmpeg/processor.js:128:10)
    at /server/libs/fluentFfmpeg/processor.js:433:14
    at t (/server/libs/async/index.js:6:1639)
    at a (/server/libs/async/index.js:6:18659)
    at /server/libs/async/index.js:6:2258
    at /server/libs/fluentFfmpeg/processor.js:359:11 {
  errno: -7,
  code: 'E2BIG',
  syscall: 'spawn'
}

Steps to reproduce the issue

  1. Add the podcast https://500songs.com/feed/podcast
  2. Try and download any one of the following episodes:
  • Episode 150: “All You Need is Love” by the Beatles
  • Episode 164: “White Light/White Heat” by the Velvet Underground
  • Episode 165: “Dark Star” by the Grateful Dead

Audiobookshelf version

v2.2.23

How are you running audiobookshelf?

Docker

Originally created by @flynnguy on GitHub (Jul 4, 2023). ### Describe the issue When downloading certain episodes, it crashes with: ``` /server/libs/njodb/index.js:103 throw error; ^ Error: spawn E2BIG at ChildProcess.spawn (node:internal/child_process:420:11) at spawn (node:child_process:733:9) at /server/libs/fluentFfmpeg/processor.js:148:24 at FfmpegCommand.proto._getFfmpegPath (/server/libs/fluentFfmpeg/capabilities.js:90:14) at FfmpegCommand.proto._spawnFfmpeg (/server/libs/fluentFfmpeg/processor.js:128:10) at /server/libs/fluentFfmpeg/processor.js:433:14 at t (/server/libs/async/index.js:6:1639) at a (/server/libs/async/index.js:6:18659) at /server/libs/async/index.js:6:2258 at /server/libs/fluentFfmpeg/processor.js:359:11 { errno: -7, code: 'E2BIG', syscall: 'spawn' } ``` ### Steps to reproduce the issue 1. Add the podcast https://500songs.com/feed/podcast 2. Try and download any one of the following episodes: - Episode 150: “All You Need is Love” by the Beatles - Episode 164: “White Light/White Heat” by the Velvet Underground - Episode 165: “Dark Star” by the Grateful Dead ### Audiobookshelf version v2.2.23 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:36:30 +02:00
adam closed this issue 2026-04-24 23:36:32 +02:00
Author
Owner

@advplyr commented on GitHub (Jul 9, 2023):

This podcast has episode descriptions that are over 100k characters. This was crashing when embedding the description in the audio file. I updated this to trim the description for the embed

@advplyr commented on GitHub (Jul 9, 2023): This podcast has episode descriptions that are over 100k characters. This was crashing when embedding the description in the audio file. I updated this to trim the description for the embed
Author
Owner

@advplyr commented on GitHub (Jul 21, 2023):

Fixed in v2.3.0

@advplyr commented on GitHub (Jul 21, 2023): Fixed in v2.3.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1231