https://bugs.gpodder.org/show_bug.cgi?id=519
--- Comment #4 from Morten Nygaard Åsnes <[email protected]> 2009-07-31 12:51:37 GMT --- > That said, I think it's reasonable to "steal" the folder name from a channel > that > > a) is deleted (deleted=1) AND > b) does not have a corresponding download folder > > In this case, you can set the download folder name of the deleted channel to > NULL (in this case it will be generated the next time it is used - which could > be never in case the channel is never re-added). After setting the name of the > deleted channel to NULL, you can re-use its folder name. > > Hmm.. maybe we should do this (setting the foldername to NULL for channels > that > fulfull the two preconditions a) and b) above not only when requesting a > foldername but also when deleting a channel (only if the download files are > deleted, too). > > Do you think you could come up with a patch? That'd be really helpful :) Will have a go at it over the weekend ;-) Just to be clear, what we do is: 1) When deleting a feed, if also deleting episodes, set foldername to NULL (are we sure having a foldername=NULL in the db will not break anything else?) 2) When requesting a foldername, if the requested name is used, but by a feed that is deleted and the download folder does not exists set the foldername for this feed to NULL, and allow the name to be used -- 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
