https://bugs.gpodder.org/show_bug.cgi?id=458
--- Comment #4 from Thomas Perl <[email protected]> 2009-07-23 17:41:30 GMT --- (In reply to comment #3) > It should also iterate over the items in the database and check that each > entry > can be listened to (ie whether each entry is currently on the computer or is > downloadable). > > I would guess that around line 241 there should be a lump of code saying > something like: > > for ex in existing: > keep_episode = false > > if ex status in database = STATE_DOWNLOADED: > keep_episode=true > else: > > for episode in c.entries: > if ex.guid == episode.guid: > keep_episode=true > > if keep_episode == false: > delete episode from database > > > Does this make sense? Can you please send a patch that other users can apply to their Git master HEAD checkout and try it to see if it works as expected? Thanks :) -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
