default settings - panuozzo77/StreamingCommunity GitHub Wiki
This section documents the core application behavior settings in the StreamingCommunity configuration. These settings control general aspects of the application's functionality and user experience.
These settings are found in the DEFAULT
section of the config.json
file:
{
"DEFAULT": {
"debug": false,
"show_message": true,
"clean_console": true,
"show_trending": true,
"use_api": true,
"not_close": false,
"telegram_bot": false,
"download_site_data": false,
"validate_github_config": false
}
}
- Type: Boolean
-
Default:
false
-
Description: Enables or disables debug logging. When set to
true
, the application will output additional diagnostic information to help troubleshoot issues. -
Usage: Set to
true
when you need to diagnose problems or want to see detailed operation logs.
- Type: Boolean
-
Default:
true
- Description: Controls whether informational messages are displayed during operation. These messages provide feedback about what the application is doing.
-
Usage: Set to
false
if you prefer a cleaner console output with minimal messages.
- Type: Boolean
-
Default:
true
- Description: Determines whether the console is cleared between operations. When enabled, the console will be cleared to provide a cleaner interface.
-
Usage: Set to
false
if you want to preserve the console history throughout the application's operation.
- Type: Boolean
-
Default:
true
- Description: Controls whether trending content is displayed when the application starts. This feature shows popular movies and TV shows from TMDB.
-
Usage: Set to
false
if you don't want to see trending content suggestions.
- Type: Boolean
-
Default:
true
- Description: Determines whether the application uses the API for domain updates or relies on local configuration. When enabled, the application will fetch the latest domain information from the API.
-
Usage: Set to
false
if you want to use a localdomains.json
file for domain configuration instead of the API.
- Type: Boolean
-
Default:
false
- Description: Controls whether the application stays open after a download is complete. When enabled, the application will remain running after downloads finish.
-
Command Line Override:
--not_close true/false
-
Usage: Set to
true
if you want the application to stay open for multiple operations without restarting.
- Type: Boolean
-
Default:
false
- Description: Enables or disables Telegram bot integration. When enabled, the application can be controlled via a Telegram bot.
-
Usage: Set to
true
if you want to use the Telegram bot interface. Additional configuration in the.env
file is required.
- Type: Boolean
-
Default:
false
- Description: Controls whether site data is automatically downloaded. When enabled, the application will download data about available streaming sites.
-
Usage: Set to
true
if you want the application to automatically update site data.
- Type: Boolean
-
Default:
false
- Description: Determines whether the application validates and updates configuration from GitHub. When enabled, the application will check for configuration updates from the GitHub repository.
-
Usage: Set to
true
if you want the application to automatically update its configuration from GitHub.
Some of these settings can be overridden via command line arguments when running the application:
python test_run.py --not_close true
You can access and modify these settings programmatically:
from StreamingCommunity.Util.config_json import config_manager
# Get a configuration value
debug_mode = config_manager.get_bool('DEFAULT', 'debug')
# Set a configuration value
config_manager.set_key('DEFAULT', 'debug', True)
config_manager.save_config()
- Output Folder Settings - Configure where downloaded content is saved
- Request Settings - Configure network request behavior