https://bugs.gpodder.org/show_bug.cgi?id=519





--- Comment #2 from Morten Nygaard Åsnes <[email protected]>  2009-07-29 
21:28:41 GMT ---
Created an attachment (id=342)
 --> (http://bugs.gpodder.org/attachment.cgi?id=342)
patch for custom channel name

Here is a patch that mostly fixes the problem. But I still get a few cases
where setting the channel title causes the directory to be named 'Something
(2)' etc.

This is because PodcastChannel.set_custom_title calls find_unique_folder_name,
which calls db.channel_foldername_exists to find a unique folder name. And in
my case for some reason I have several channels in the database which are not
shown in the gui, and the sql "SELECT id FROM channels WHERE foldername = ?"
will thus not let me use that name even though it is not in use, and does not
exist in the filesystem.

I don't quite understand why we have channels stored in the database after they
are removed from the feed list, or is it just that I have messed up my database
somehow?

-- 
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

Reply via email to