Merge branch 'dsalmon-main-patch-82238' into 'main'
Fix podcast downloading See merge request team-zotify/zotify!4
This commit is contained in:
commit
daea0abfa4
|
@ -99,7 +99,7 @@ def download_episode(episode_id) -> None:
|
||||||
|
|
||||||
filepath = PurePath(download_directory).joinpath(f"{filename}.ogg")
|
filepath = PurePath(download_directory).joinpath(f"{filename}.ogg")
|
||||||
if (
|
if (
|
||||||
Path(filepath).isfile()
|
Path(filepath).is_file()
|
||||||
and Path(filepath).stat().st_size == total_size
|
and Path(filepath).stat().st_size == total_size
|
||||||
and Zotify.CONFIG.get_skip_existing()
|
and Zotify.CONFIG.get_skip_existing()
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in New Issue