[Bug]: Users able to add and download duplicate podcast episodes to queue #1768

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

Originally created by @nichwall on GitHub (Feb 27, 2024).

Describe the issue

Users can mark the same episode for download multiple times using the "Find Episodes" modal. This adds the episode to the queue multiple times and results in duplicate files being downloaded and added to the podcast. A check against the queue before adding should be sufficient to fix this issue, or ensuring the queue has unique entries.

Download Queue:
Download queue

Podcast Episodes with library item ID in the filename:
Podcast episodes

Podcast Files
Podcast files

Steps to reproduce the issue

  1. Select a podcast episode to download using the "Find Episodes" modal
  2. Add one or more episodes to the download queue
  3. Open the "Find Episodes" modal again and select episodes add to the queue again

Audiobookshelf version

2.8.0

How are you running audiobookshelf?

Docker

Originally created by @nichwall on GitHub (Feb 27, 2024). ### Describe the issue Users can mark the same episode for download multiple times using the "Find Episodes" modal. This adds the episode to the queue multiple times and results in duplicate files being downloaded and added to the podcast. A check against the queue before adding should be sufficient to fix this issue, or ensuring the queue has unique entries. Download Queue: ![Download queue](https://github.com/advplyr/audiobookshelf/assets/5686638/9b8f6421-a01d-45ad-9208-49a4bc08743a) Podcast Episodes with library item ID in the filename: ![Podcast episodes](https://github.com/advplyr/audiobookshelf/assets/5686638/be975ffc-4dca-443d-afff-143fdb7b25c8) Podcast Files ![Podcast files](https://github.com/advplyr/audiobookshelf/assets/5686638/ff853548-fe17-4ded-a761-40b0209156ea) ### Steps to reproduce the issue 1. Select a podcast episode to download using the "Find Episodes" modal 2. Add one or more episodes to the download queue 3. Open the "Find Episodes" modal again and select episodes add to the queue again ### Audiobookshelf version 2.8.0 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:57:36 +02:00
adam closed this issue 2026-04-24 23:57:36 +02:00
Author
Owner

@nichwall commented on GitHub (Feb 27, 2024):

It is also possible to add episodes to the download queue if they finish downloading while the modal is open because the modal doesn't update on downloads, so adding to queue would also need to check if the episode already exists on the server. This may help with some other duplicate downloads issues that have been reported.

@nichwall commented on GitHub (Feb 27, 2024): It is also possible to add episodes to the download queue if they finish downloading while the modal is open because the modal doesn't update on downloads, so adding to queue would also need to check if the episode already exists on the server. This may help with some other duplicate downloads issues that have been reported.
Author
Owner

@RoyWolfe commented on GitHub (Aug 15, 2024):

I'm running into a similar issue, probably for the same reason. I'm converting some youtube channels to audio-only to listen to. That conversion is not a fast process and since I have several channels I follow, ABS checks for new episodes again while the same files are still in the queue waiting to be downloaded, causing it to be added multiple times to the download queue.

@RoyWolfe commented on GitHub (Aug 15, 2024): I'm running into a similar issue, probably for the same reason. I'm converting some youtube channels to audio-only to listen to. That conversion is not a fast process and since I have several channels I follow, ABS checks for new episodes again while the same files are still in the queue waiting to be downloaded, causing it to be added multiple times to the download queue.
Author
Owner

@github-actions[bot] commented on GitHub (Mar 17, 2025):

Fixed in v2.20.0.

@github-actions[bot] commented on GitHub (Mar 17, 2025): Fixed in [v2.20.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.20.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1768