https://bugs.gpodder.org/show_bug.cgi?id=1201
--- Comment #3 from Thomas Perl <[email protected]> 2010-11-22 22:01:49 GMT --- (In reply to comment #2) > (In reply to comment #1) > > The customized cover art name is only for syncing to MP3 players, and for > > this > > it works (you can customize how the cover art will be named on the device). > > The > > cover art file is always named "folder.jpg" in the gPodder download folder. > > I see what you mean but I never used the sync function. Previously I would use > gPodder in "portable mode" launching gPodder from the player but for other > reasons, not practical. I quite remember I have been able to have cover.jpg > created rahter than folder.jpg and now I am pretty sure it doesnt work the > same > way. > Is there a way to fix this? Even a trick without changing the code? We changed the name from "cover" (without file extension) to "folder.jpg", so that local media players recognize the cover file ("folder.jpg" is pretty standard, although there are other options): http://gpodder.org/commit/4c5bf203 So what you want is to have cover.jpg instead of folder.jpg for the downloads folder (where gPodder directly downloads files)? Here's how you do it (I don't want to include this as an option in the official release, but you can always just apply this change to the source code and run it with your changes): Edit the file src/gpodder/model.py and search for "def cover_file(self):", there one line below it, you see: new_name = os.path.join(self.save_dir, 'folder.jpg') In this line, change "folder.jpg" to "cover.jpg". Then, go two lines below that to old_names = ('cover', '.cover') change this line to: old_names = ('cover', '.cover', 'folder.jpg') This will make sure that all your folder.jpg files are renamed to cover.jpg, and newly downloaded cover art will always be saved as folder.jpg. There are some more references in src/gpodder/sync.py that you would have to change if you are using device sync (simply search and replace "folder.jpg" in there), but as you are not using device sync, that's irrelevant for you :) HTH. -- 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
