-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid multiple entires for same podcast #172
Comments
Hi, sorry for the late reply. I also think that this is a problem. However, I don't think we can fix this without immensely altering the synchronization and moving far away from gpodder. Maybe some simple string matching with trailing slashes is possible, but everything else could probably lead to errors in the synchronization, I fear. The only workaround that works at the moment is to align the subscriptions between podcast apps manually, I fear. E.g. in AntennaPod, you can edit the feed URL of podcasts to add/remove the trailing slash or so. If you are interested in this topic: A new podcast synchronization spec is currently developed at https://openpodcastapi.org that should address all of these issues once it's stable. |
Hi, thanks for your response. Honestly speaking 2 of the 3 points can be easily fixed without impacting sync behavior/causing issues to clients.
Let me know if I miss something. If I were a bit familiar with the codebase and had some time myself would come with a pr, but... Thank you for considering my suggestions, appreciated. |
Hi,
currently multiple subscriptions for the same podcast are possible, causing a mess when multiple clients sync. This should be ideally avoided.
Some podcast entries are there multiple times because the url in one case ends with a trailing "/" while in the other case not.
In some other cases, the url is with "https" , while in other case simply with "http". These cases would be simple to fix, by comparing the URLS in a bit more sophisticated way, rather than simple string-matching.
The tricky part is that the podcasts themselves are retrieved by multiple sources, so de-duplication can be harder. For such cases, one strategy could be by examining the podcast webpage url inside, as provided in the rss feed. Each podcast should have its own webpage. Should the podcast webpage for a new subscription matches the webpage url of an existing, asking the user to confirm if the 2 subscriptions are the same and if user wants to replace/keep both, would make lots of sense. EDIT: I understand that the dialogue withe the user is up to the podcast app and not gpodder, but just saying from user's perspective...
The text was updated successfully, but these errors were encountered: