[PR #3771] [MERGED] Adds a configuration for podcast feed and episode download timeout #4076

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3771
Author: @sbyrx
Created: 1/1/2025
Status: Merged
Merged: 1/8/2025
Merged by: @advplyr

Base: masterHead: master


📝 Commits (2)

  • 0d8d0a6 Adds a configuration for podcast feed and episode download timeout
  • e64302f Merge branch 'advplyr:master' into master

📊 Changes

3 files changed (+8 additions, -2 deletions)

View changed files

📝 server/Server.js (+6 -0)
📝 server/utils/ffmpegHelpers.js (+1 -1)
📝 server/utils/podcastUtils.js (+1 -1)

📄 Description

Brief summary

Added a new global configuration PODCAST_DOWNLOAD_TIMEOUT to configure the axios timeout for Podcast feed and episode downloads. The value defaults to the same 30000ms as before if not set, but can now be overridden, or set to 0 to disable timeouts all together.

Which issue is fixed?

Fixes #3662

In-depth Description

I've been experimenting with podly_pure_podcasts to remove ads from Podcast episodes. This results in really long download times as the podly server processes the episode, causing downloads in Audiobookshelf to timeout.

How have you tested this?

Tested by running locally, configuring the timeout to 0, downloading an episode through the podly server, and confirming the download does not timeout.

All tests pass when running npm run test

Screenshots

N/A


🔄 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/3771 **Author:** [@sbyrx](https://github.com/sbyrx) **Created:** 1/1/2025 **Status:** ✅ Merged **Merged:** 1/8/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`0d8d0a6`](https://github.com/advplyr/audiobookshelf/commit/0d8d0a650bc41039fa23e059a2a735532a5a28c1) Adds a configuration for podcast feed and episode download timeout - [`e64302f`](https://github.com/advplyr/audiobookshelf/commit/e64302f1d47e9731f5c3da206bf1c9145dcc81df) Merge branch 'advplyr:master' into master ### 📊 Changes **3 files changed** (+8 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/Server.js` (+6 -0) 📝 `server/utils/ffmpegHelpers.js` (+1 -1) 📝 `server/utils/podcastUtils.js` (+1 -1) </details> ### 📄 Description ## Brief summary Added a new global configuration PODCAST_DOWNLOAD_TIMEOUT to configure the axios timeout for Podcast feed and episode downloads. The value defaults to the same 30000ms as before if not set, but can now be overridden, or set to 0 to disable timeouts all together. ## Which issue is fixed? Fixes #3662 ## In-depth Description I've been experimenting with [podly_pure_podcasts](https://github.com/jdrbc/podly_pure_podcasts) to remove ads from Podcast episodes. This results in really long download times as the podly server processes the episode, causing downloads in Audiobookshelf to timeout. ## How have you tested this? Tested by running locally, configuring the timeout to 0, downloading an episode through the podly server, and confirming the download does not timeout. All tests pass when running `npm run test` ## Screenshots N/A --- <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:18:13 +02:00
adam closed this issue 2026-04-25 00:18:13 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4076