Allow to set maximum custom playlist length via a config variable.

This commit is contained in:
Jakub Filo
2022-08-27 22:36:07 +02:00
parent a7d9df5516
commit 4818b89ab1
7 changed files with 19 additions and 8 deletions

View File

@@ -131,6 +131,9 @@ class Config
# API URL for Anti-Captcha
property captcha_api_url : String = "https://api.anti-captcha.com"
# Playlist length limit
property playlist_length_limit : Int32 = 500
def disabled?(option)
case disabled = CONFIG.disable_proxy
when Bool