🐛 (pypo) disable fs block size based cache check
This commit is contained in:
parent
9b9832ee4e
commit
a3d6ea77e6
|
@ -49,9 +49,12 @@ class PypoFile(Thread):
|
||||||
|
|
||||||
do_copy = False
|
do_copy = False
|
||||||
if dst_exists:
|
if dst_exists:
|
||||||
if src_size != dst_size:
|
# TODO: Check if the locally cached variant of the file is sane.
|
||||||
do_copy = True
|
# This used to be a filesize check that didn't end up working.
|
||||||
else:
|
# Once we have watched folders updated files from them might
|
||||||
|
# become an issue here... This needs proper cache management.
|
||||||
|
# https://github.com/LibreTime/libretime/issues/756#issuecomment-477853018
|
||||||
|
# https://github.com/LibreTime/libretime/pull/845
|
||||||
self.logger.debug("file %s already exists in local cache as %s, skipping copying..." % (src, dst))
|
self.logger.debug("file %s already exists in local cache as %s, skipping copying..." % (src, dst))
|
||||||
else:
|
else:
|
||||||
do_copy = True
|
do_copy = True
|
||||||
|
|
Loading…
Reference in New Issue