Check for size mismatch when syncing and send to device again.
commit5c277639deefc00f921422729db22a5bea0473a1
authorauouymous <au@qzx.com>
Tue, 8 Nov 2022 08:05:05 +0000 (8 01:05 -0700)
committerauouymous <au@qzx.com>
Tue, 8 Nov 2022 08:05:05 +0000 (8 01:05 -0700)
treeccdd515a98cd16078eda3040991667b8ff65c9c6
parent98208d44446f5bdf2ab6d71f7cb94a56ff7e4a2b
Check for size mismatch when syncing and send to device again.

An interrupted sync results in a partial file on the device and syncing
again would not finish sending the file. Ideally it could also compare
checksums but that would slow down syncing.

Fixes #1416.
src/gpodder/sync.py