diff options
Diffstat (limited to 'cogs/player.py')
-rw-r--r--[-rwxr-xr-x] | cogs/player.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cogs/player.py b/cogs/player.py index 6a91318..5c046a7 100755..100644 --- a/cogs/player.py +++ b/cogs/player.py @@ -14,7 +14,7 @@ youtube_dl.utils.bug_reports_message = lambda: '' ytdl_format_options = {
'format': 'bestaudio/best',
- 'outtmpl': '%(extractor)s-%(id)s-%(title)s.%(ext)s',
+ 'outtmpl': 'downloads/%(extractor)s-%(id)s-%(title)s.%(ext)s',
'restrictfilenames': True,
'noplaylist': True,
'nocheckcertificate': True,
@@ -136,7 +136,7 @@ class Player(commands.Cog): @tasks.loop(hours=10.0)
async def cleanup(self):
- for p in Path(".").glob("youtube*"):
+ for p in Path("./downloads/").glob("*"):
p.unlink()
|