copy file:/// too

This commit is contained in:
boyska 2024-05-12 15:59:47 +02:00
parent bfb51dee44
commit 2995e979ab

2
feed
View file

@ -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:///"):