Hello!

On Sat, 2008-04-19 at 23:50 +0200, Manuel P. wrote:
> gpodder renames all files into unique filenames and stores the
> podcasts in a not-speaking directory.

Read http://wiki.gpodder.org/faq, especially "What about these odd
directory and file names that look like MD5 sums?"

> I would prefer to have a SPEAKING Directory-Name (eg the website which
> provides the podcast) and the files being named as they are linked, or
> by title and date.

If you look at the roadmap at http://wiki.gpodder.org/roadmap you'll see
that we are planning to do this for the release in late May 2008. The
corresponding bug report can be found here:
http://bugs.gpodder.org/show_bug.cgi?id=57

You can subscribe to the bug to get notified of any changes and progress
made on this feature.

If you want do have this feature right away, you can get the SVN version
of gPodder (http://wiki.gpodder.org/running-from-svn) and edit
src/gpodder/libpodcasts.py and change the "get_filename" function of
podcastChannel to "return self.title". Then, go to the "local_filename"
function of podcastItem and change the "return" statement to the
following line:

return os.path.join( self.channel.save_dir, self.sync_filename() +
extension)

This should give you folders named like the title of the podcast and
files named with the title or whatever you set as "custom sync name" in
the preferences (you will see this setting when switching your syncing
device to "MP3 player"). There you can also set it to use the filename
of the linked file, if you prefer this one.

Be aware that this is a custom modification and a future version of
gPodder might name files and directories a bit different, so it might be
that your downloaded podcasts cannot be found by newer versions of
gPodder. This can be fixed by renaming the files then. It will work for
now :)


Enjoy,
Thomas

_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to