Antennapod: Some episodes appear twice in feed

Created on 16 Jul 2019  路  26Comments  路  Source: AntennaPod/AntennaPod

App version: 1.7.2b from Google Play

Android version: 8.0.0

Device model: LG-H870 (G6)

Expected behaviour:
every episode appears once in feed

Current behaviour:
some episodes in some feeds appear twice and get downloaded twice with auto download

First occurred: not sure... Maybe weeks ago

Environment: Auto Download

Examples:
http://podcast.djhardwell.com/podcast.xml

Screenshot_2019-07-16-06-31-55
Screenshot_2019-07-16-06-31-25

http://www.deutschlandfunk.de/podcast-der-politik-podcast.3292.de.podcast.xml
Screenshot_2019-07-16-06-47-33

confirmed bug

All 26 comments

I had the same problem (several times). It helped me to remove the podcast and subscribe again.

@janitz Did the suggestion (delete and re-add the podcast) solve your issue?

Yes it removed the doubled episodes. But it also removes the played status of all episodes of the feed.

Annoying but logical. If you've replaced both feeds, you can probably close this issue. If you still have one feed with duplication you might keep it open in case there's someone able to find the root cause.

This usually happens if the creator changes the id of an episode. I can look at a database export if you want help find the cause. If you do not want to share it publicly, you can also send me an email to info@<my GitHub username>.com

I sent you an email with my database export.

I have looked at the database. Looks like AntennaPod added 424,113,424,113 directly after each other. My guess that the publisher changed the ID was wrong. The items are exactly the same in the database. It definitely is a bug but I currently have no idea what could cause it. AntennaPod already looks at the database and verifies that the ID is new. Theoretically, this should not happen.

Since you have no other leads I just wanted to chime in and say I had a similar issue that was caused by the publisher removing and re-uploading the episode.

I've been having this issue for a few weeks as well. Antennapod has also been ignoring when I delete a downloaded episode and I'm forced to resume it after my current podcast is finished.

I have this issue with several iTunes podcasts, and the episodes are not being removed and republished. If I manually modify the status or cancel the download one of the duplicate episode entries, it affects both entries at once. But if I listen to one, it does not automatically change the "listened" state on both.

After removing the podcast and re-adding it, every episode appears only once as expected. Any new episodes published after that appear twice.

1.7.2b commit b89271329, via FDroid, Nokia 6.1, Android 9

I'm running into an issue with duplicate episodes, as well. Removing and re-adding the feeds has not fixed it. Also on version 1.7.2b commit b892713

@phene Could you please post the feed url that has duplicates even if you removed and re-added? You can find the url behind the info icon on the feed details screen.

I have a similar problem with this feed: http://einschlafen-podcast.de/feed/mp3/
Except that almost every episode is duplicated a few days after adding the podcast. Version 1.7.3, Android 9. Happened already a few weeks ago on a different phone, I just readded the podcast, hoping it won't happen again.

Just to gather some more data: do you use gpodder sync?

@ByteHamster If you mean Integration->gpodder.net, no.

I experimented same problem on some feeds, and have no gpodder or other sync account.
Data is stored on my SD card. Is it possible that following symbolic link AntennaPod reads two times the same library?

Hey all. First, Thank you.
Just wanted to add here and give this issue a bump. I have been having trouble with duplicate Downloads for a few months now. I have deleted and re-added my subscriptions with no improvement. I Then deleted AntennaPod completely and reinstalled. It is happening again.
This happens with multiple podcasts. Feed URL seems to be identical. Sometimes a few days later but at least once the dupe was downloaded immediately after the first.
I use auto download on per-podcast basis.
I Used to simply remove the Dupes manually, but this is starting to feel like too much extra / unnecessary work for me. Any help would be appreciated.

Just one more try here. I have deleted the android app and all data (as far as I can tell) and reinstalled keeping all settings factory-stock. version 1.7.3b Commit f9e7e9aeb .
I subscribed to 5 podcasts and allowed automatic Downloads. 4 of the subscribed podcasts are now adding Dupes... looking at the log, the media file is the same and sometimes the dupe is DLed within minutes of the first. I have checked with the 3 people I know who are using antennaPod at my suggestion and two of them are experiencing the same issue.
I can no longer keep managing the dupes manually so I'll move on to another app while keeping one eye on this one.
Thanks and Good Luck to the developers.

Still affects 1.7.3c commit dc073080b from F-Droid, with no change in behavior from my previous comment

Here 2, 31.12.2019

i am getting startalk 4 times removed everything and now i get 3 times

could people who are receiving dups ping at least one feed url? I think the app used the guid for duplication detection, maybe it needs to hash the subscription url+title as well?

Publishers regularly mess up the guids. I think when searching for existing items, we should first look for an item with the same guid. If we do not find one, look for an item with the same download url AND same title. If we still do not find an item, it is probably new.

We should keep in mind that there are feeds without media. Theoretically, there might even be feeds which use the same media file for different items.

I just got this bug to go away when I changed the Update Interval to once a day instead of every 4 hours.

Publishers regularly mess up the guids. I think when searching for existing items, we should first look for an item with the same guid. If we do not find one, look for an item with the same download url AND same title. If we still do not find an item, it is probably new.

We should keep in mind that there are feeds without media. Theoretically, there might even be feeds which use the same media file for different items.

I have a fix here https://github.com/AntennaPod/AntennaPod/pull/4839 which should be able to handle GUID de-duplication pretty well. I don't think we should be too much more ambitious to deduplicate feeds and just honor getIdentifyingValue() which handles GUID, title and media

@keunes can you assign to me?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mamehacker picture mamehacker  路  3Comments

gappleto97 picture gappleto97  路  3Comments

maxxo picture maxxo  路  4Comments

matthiasroos picture matthiasroos  路  3Comments

ghost picture ghost  路  4Comments