From 2995e979ab300386d114f638967debcc22758fe1 Mon Sep 17 00:00:00 2001 From: boyska Date: Sun, 12 May 2024 15:59:47 +0200 Subject: [PATCH] copy file:/// too --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 6c47806..c66b89d 100755 --- a/feed +++ b/feed @@ -536,7 +536,7 @@ def put(audio, copy=False): fname = "".join( c for c in fname if c.isalnum() or c in list("._-") ).rstrip() - dest = os.path.join(destdir, fname) + dest = os.path.join(destdir, "feed-" + fname) downloader(url, dest) print("file://%s" % os.path.realpath(dest)) elif url.startswith("file:///"):