Add option to skip disk sync after transfer (bug 338)
commitc6f53ffa455f19bd03415cf74460800d999ea331
authorThomas Perl <thp@perli.net>
Mon, 9 Feb 2009 16:50:24 +0000 (9 17:50 +0100)
committerThomas Perl <thp@perli.net>
Mon, 9 Feb 2009 16:50:24 +0000 (9 17:50 +0100)
treef3f9053c2528f3acbb0687e75b00a70a7e1a4fae
parent697983d6dc23640dbc28bc4732fb80b8b8872ae6
Add option to skip disk sync after transfer (bug 338)

Advanced configuration option to not call the "sync"
system utility to flush caches to disk.

We usually do this, so that basic users may unplug
their devices right after gPodder shows "sync done".

For advanced users who know to correctly unmount their
devices, this is annoying, so let them disable it.

Thanks to Christian Mertes for requesting this feature.
src/gpodder/config.py
src/gpodder/sync.py