default settings - panuozzo77/StreamingCommunity GitHub Wiki

DEFAULT Settings

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.

Configuration Location

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
    }
}

Available Settings

debug

  • 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.

show_message

  • 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.

clean_console

  • 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.

show_trending

  • 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.

use_api

  • 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 local domains.json file for domain configuration instead of the API.

not_close

  • 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.

telegram_bot

  • 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.

download_site_data

  • 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.

validate_github_config

  • 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.

Command Line Overrides

Some of these settings can be overridden via command line arguments when running the application:

python test_run.py --not_close true

Programmatic Access

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()

Related Settings

⚠️ **GitHub.com Fallback** ⚠️