[gpodder-devel] patch for "manage device playlist" to exclude .dat files

  • From: thp at gpodder.org (Thomas Perl)
  • Date: Sun, 05 Jul 2009 05:44:01 -0700

You wrote:
> This was a problem on my Blackberry which creates a BBthumbs.dat file in all
> the podcast folders. I'm not sure this patch deals with it in the right way
> but I thought I'd give it a shot.
> 
> Since other devices may create other file types, it may be best to include
> only audio/video files instead of trying to guess what files may need to be
> excluded.

Can you please open a bug report for this and attach the patch there? It
seems
like a good idea, but I guess we need to have some more discussion:

 * Shouldn't we just exclude all files called "bbthumbs.dat"?
 * You could also use this: filename.lower().endswith('.dat')

Please submit your patch with the suggestions above integrated to
bugs.gpodder.org
and I'll be happy to include your patch in one of the next releases :)

Thanks,
Thomas



Other related posts: