Created attachment 184546 [details] picture of errors present on feed refresh and playback SUMMARY Subscribing to a second (premium patreon) feed of the same podcast results in "invalid media file" during playback attempts and database errors (unique constraint failed) when refreshing the feed. STEPS TO REPRODUCE 1. Subscribe to podcast through search (e.g. This machine kills or QAA) 2. Subscribe to a second/premium feed of the same podcast (e.g. via patreon). 3. Attempt playback from the second feed. OBSERVED RESULT EXPECTED RESULT Playback fails with mysterious "Invalid media file, Error code: 8" Refreshing feeds generates many "Database error, UNIQUE constraint failed: Entries.id Unable to fetch row" SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Garuda Linux KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.17.0 Qt Version: 6.9.1 ADDITIONAL INFORMATION n/a
This is very likely due to the fact that the rss/atom file contents are exactly the same for the (non-identical) versions of the podcast. Currently kasts cannot handle those situations. I'm working on a rewrite of the backend that would be able to deal with these kinds of unexpected duplicates. This could take a while, though.