[Bug]: Failed Podcast Downloads Leave Files Behind #1295

Open
opened 2026-04-24 23:38:43 +02:00 by adam · 3 comments
Owner

Originally created by @PulsarFTW on GitHub (Jul 29, 2023).

Describe the issue

When podcast downloads fail the partial file is left behind as a playable file with a shorter duration. This means on subsequent library scans it's picked up and added as a duplicate episode which ends part way through.

Expected Behaviour: When an episode download fails, the partial file is deleted.

Example of a download error which leaves behind a partial file:
2023-07-27 21:28:38 [2023-07-27 20:28:38] ERROR: [FfmpegHelpers] downloadPodcastEpisode: Error Error: Input stream error: aborted undefined undefined (ffmpegHelpers.js:154)

Steps to reproduce the issue

  1. Download a podcast and experience an episode not successfully downloading.
  2. Rescan Library.

Audiobookshelf version

2.3.3

How are you running audiobookshelf?

Docker

Originally created by @PulsarFTW on GitHub (Jul 29, 2023). ### Describe the issue When podcast downloads fail the partial file is left behind as a playable file with a shorter duration. This means on subsequent library scans it's picked up and added as a duplicate episode which ends part way through. Expected Behaviour: When an episode download fails, the partial file is deleted. Example of a download error which leaves behind a partial file: `2023-07-27 21:28:38 [2023-07-27 20:28:38] ERROR: [FfmpegHelpers] downloadPodcastEpisode: Error Error: Input stream error: aborted undefined undefined (ffmpegHelpers.js:154)` ### Steps to reproduce the issue 1. Download a podcast and experience an episode not successfully downloading. 2. Rescan Library. ### Audiobookshelf version 2.3.3 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:38:43 +02:00
Author
Owner

@macr0dev commented on GitHub (Feb 15, 2024):

I'm getting the same "Input stream error" attempting to download podcasts and this is the only reference I can find to it. Did you find a solution to your problem? I can't get a single episode to download.

@macr0dev commented on GitHub (Feb 15, 2024): I'm getting the same "Input stream error" attempting to download podcasts and this is the only reference I can find to it. Did you find a solution to your problem? I can't get a single episode to download.
Author
Owner

@PulsarFTW commented on GitHub (Feb 15, 2024):

The problem went away when I moved away from WSL and hosted with docker directly on linux. I have no idea if that's the issue or not, but I've downloaded well over 3,000 episodes since moving to linux with no issues.

@PulsarFTW commented on GitHub (Feb 15, 2024): The problem went away when I moved away from WSL and hosted with docker directly on linux. I have no idea if that's the issue or not, but I've downloaded well over 3,000 episodes since moving to linux with no issues.
Author
Owner

@macr0dev commented on GitHub (Feb 15, 2024):

damn. already on linux/docker. Appreciate the follow up.

@macr0dev commented on GitHub (Feb 15, 2024): damn. already on linux/docker. Appreciate the follow up.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1295