mirror of
https://github.com/RafaelSolVargas/Vulkan.git
synced 2025-10-29 16:57:23 +00:00
Turning YTD quiet
This commit is contained in:
@@ -14,18 +14,21 @@ class Downloader():
|
|||||||
'playliststart': 0,
|
'playliststart': 0,
|
||||||
'extract_flat': False,
|
'extract_flat': False,
|
||||||
'playlistend': config.MAX_PLAYLIST_LENGTH,
|
'playlistend': config.MAX_PLAYLIST_LENGTH,
|
||||||
|
'quiet': True
|
||||||
}
|
}
|
||||||
__YDL_OPTIONS_EXTRACT = {'format': 'bestaudio/best',
|
__YDL_OPTIONS_EXTRACT = {'format': 'bestaudio/best',
|
||||||
'default_search': 'auto',
|
'default_search': 'auto',
|
||||||
'playliststart': 0,
|
'playliststart': 0,
|
||||||
'extract_flat': True,
|
'extract_flat': True,
|
||||||
'playlistend': config.MAX_PLAYLIST_LENGTH,
|
'playlistend': config.MAX_PLAYLIST_LENGTH,
|
||||||
|
'quiet': True
|
||||||
}
|
}
|
||||||
__YDL_OPTIONS_FORCE_EXTRACT = {'format': 'bestaudio/best',
|
__YDL_OPTIONS_FORCE_EXTRACT = {'format': 'bestaudio/best',
|
||||||
'default_search': 'auto',
|
'default_search': 'auto',
|
||||||
'playliststart': 0,
|
'playliststart': 0,
|
||||||
'extract_flat': False,
|
'extract_flat': False,
|
||||||
'playlistend': config.MAX_PLAYLIST_FORCED_LENGTH,
|
'playlistend': config.MAX_PLAYLIST_FORCED_LENGTH,
|
||||||
|
'quiet': True
|
||||||
}
|
}
|
||||||
__BASE_URL = 'https://www.youtube.com/watch?v={}'
|
__BASE_URL = 'https://www.youtube.com/watch?v={}'
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ class Configs(Singleton):
|
|||||||
self.SPOTIFY_SECRET = config('SPOTIFY_SECRET')
|
self.SPOTIFY_SECRET = config('SPOTIFY_SECRET')
|
||||||
self.CLEANER_MESSAGES_QUANT = 5
|
self.CLEANER_MESSAGES_QUANT = 5
|
||||||
|
|
||||||
self.BOT_PREFIX = '$'
|
self.BOT_PREFIX = '!'
|
||||||
self.VC_TIMEOUT = 600
|
self.VC_TIMEOUT = 600
|
||||||
|
|
||||||
self.MAX_PLAYLIST_LENGTH = 50
|
self.MAX_PLAYLIST_LENGTH = 50
|
||||||
|
|||||||
Reference in New Issue
Block a user