mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-09 09:01:29 +03:00
Added new settings: multi user mode and users base path
This commit is contained in:
@@ -39,9 +39,13 @@
|
|||||||
"subscriptions_check_interval": "300",
|
"subscriptions_check_interval": "300",
|
||||||
"subscriptions_use_youtubedl_archive": true
|
"subscriptions_use_youtubedl_archive": true
|
||||||
},
|
},
|
||||||
|
"Users": {
|
||||||
|
"base_path": "users/"
|
||||||
|
},
|
||||||
"Advanced": {
|
"Advanced": {
|
||||||
"use_default_downloading_agent": true,
|
"use_default_downloading_agent": true,
|
||||||
"custom_downloading_agent": "",
|
"custom_downloading_agent": "",
|
||||||
|
"multi_user_mode": false,
|
||||||
"allow_advanced_download": false
|
"allow_advanced_download": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,9 +39,13 @@
|
|||||||
"subscriptions_check_interval": "300",
|
"subscriptions_check_interval": "300",
|
||||||
"subscriptions_use_youtubedl_archive": true
|
"subscriptions_use_youtubedl_archive": true
|
||||||
},
|
},
|
||||||
|
"Users": {
|
||||||
|
"base_path": "users/"
|
||||||
|
},
|
||||||
"Advanced": {
|
"Advanced": {
|
||||||
"use_default_downloading_agent": true,
|
"use_default_downloading_agent": true,
|
||||||
"custom_downloading_agent": "",
|
"custom_downloading_agent": "",
|
||||||
|
"multi_user_mode": false,
|
||||||
"allow_advanced_download": false
|
"allow_advanced_download": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -178,9 +178,13 @@ DEFAULT_CONFIG = {
|
|||||||
"subscriptions_check_interval": "300",
|
"subscriptions_check_interval": "300",
|
||||||
"subscriptions_use_youtubedl_archive": true
|
"subscriptions_use_youtubedl_archive": true
|
||||||
},
|
},
|
||||||
|
"Users": {
|
||||||
|
"base_path": "users/"
|
||||||
|
},
|
||||||
"Advanced": {
|
"Advanced": {
|
||||||
"use_default_downloading_agent": true,
|
"use_default_downloading_agent": true,
|
||||||
"custom_downloading_agent": "",
|
"custom_downloading_agent": "",
|
||||||
|
"multi_user_mode": false,
|
||||||
"allow_advanced_download": false
|
"allow_advanced_download": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,6 +117,12 @@ let CONFIG_ITEMS = {
|
|||||||
'path': 'YoutubeDLMaterial.Subscriptions.subscriptions_use_youtubedl_archive'
|
'path': 'YoutubeDLMaterial.Subscriptions.subscriptions_use_youtubedl_archive'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Users
|
||||||
|
'ytdl_users_base_path': {
|
||||||
|
'key': 'ytdl_users_base_path',
|
||||||
|
'path': 'YoutubeDLMaterial.Users.base_path'
|
||||||
|
},
|
||||||
|
|
||||||
// Advanced
|
// Advanced
|
||||||
'ytdl_use_default_downloading_agent': {
|
'ytdl_use_default_downloading_agent': {
|
||||||
'key': 'ytdl_use_default_downloading_agent',
|
'key': 'ytdl_use_default_downloading_agent',
|
||||||
@@ -126,6 +132,10 @@ let CONFIG_ITEMS = {
|
|||||||
'key': 'ytdl_custom_downloading_agent',
|
'key': 'ytdl_custom_downloading_agent',
|
||||||
'path': 'YoutubeDLMaterial.Advanced.custom_downloading_agent'
|
'path': 'YoutubeDLMaterial.Advanced.custom_downloading_agent'
|
||||||
},
|
},
|
||||||
|
'ytdl_multi_user_mode': {
|
||||||
|
'key': 'ytdl_multi_user_mode',
|
||||||
|
'path': 'YoutubeDLMaterial.Advanced.multi_user_mode'
|
||||||
|
},
|
||||||
'ytdl_allow_advanced_download': {
|
'ytdl_allow_advanced_download': {
|
||||||
'key': 'ytdl_allow_advanced_download',
|
'key': 'ytdl_allow_advanced_download',
|
||||||
'path': 'YoutubeDLMaterial.Advanced.allow_advanced_download'
|
'path': 'YoutubeDLMaterial.Advanced.allow_advanced_download'
|
||||||
|
|||||||
@@ -39,9 +39,13 @@
|
|||||||
"subscriptions_check_interval": "300",
|
"subscriptions_check_interval": "300",
|
||||||
"subscriptions_use_youtubedl_archive": true
|
"subscriptions_use_youtubedl_archive": true
|
||||||
},
|
},
|
||||||
|
"Users": {
|
||||||
|
"base_path": "users/"
|
||||||
|
},
|
||||||
"Advanced": {
|
"Advanced": {
|
||||||
"use_default_downloading_agent": true,
|
"use_default_downloading_agent": true,
|
||||||
"custom_downloading_agent": "",
|
"custom_downloading_agent": "",
|
||||||
|
"multi_user_mode": true,
|
||||||
"allow_advanced_download": true
|
"allow_advanced_download": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user