Fri, 13 Jun 2008 09:37:45 +0200 <thp@perli.net>
commit905014fc1b93e0158cb5e77bf3566d87d46d5a78
authorThomas Perl <thp@perli.net>
Fri, 13 Jun 2008 07:41:36 +0000 (13 07:41 +0000)
committerThomas Perl <thp@perli.net>
Fri, 13 Jun 2008 07:41:36 +0000 (13 07:41 +0000)
tree847e5ed91297d8ff63e253e9f16f137d398a8773
parentd5aba0355e65c1b7e567cbc59b16101427b2ef6b
Fri, 13 Jun 2008 09:37:45 +0200 <thp@perli.net>
Merge patch from Nick to add support for deleting played files on sync

* data/gpodder.glade: Add check button for "Delete episodes on device
that have been marked played in gPodder"
* src/gpodder/config.py: Add two new config options:
"mp3_player_delete_played" and "mp3_player_max_filename_length"
* src/gpodder/gui.py:
* src/gpodder/libpodcasts.py: Add "is_deleted()" convenience function
for a podcast episode
* src/gpodder/sync.py: Clean-up and simplify parts of the code to make
it better-structured and avoid code duplication; use the configuration
variable for the MAX_FILENAME_LENGTH instead of hard-coding it to 100
* src/gpodder/util.py: Split sanitize_filename() into two functions,
detect_os_encoding() and sanitize_filename() for better code re-use
(Closes: http://bugs.gpodder.org/show_bug.cgi?id=56; code written by
Nick (nikosapi) and initial idea by Shane Donohoe, see the bug page)

git-svn-id: svn://svn.berlios.de/gpodder/trunk@734 b0d088ad-0a06-0410-aad2-9ed5178a7e87
ChangeLog
data/gpodder.glade
src/gpodder/config.py
src/gpodder/gui.py
src/gpodder/libpodcasts.py
src/gpodder/sync.py
src/gpodder/util.py