site specific settings - panuozzo77/StreamingCommunity GitHub Wiki
This section documents the site-specific configuration settings in StreamingCommunity. These settings allow you to customize behavior for specific streaming sites that require additional authentication or special handling.
These settings are found in the SITE_EXTRA
section of the config.json
file:
{
"SITE_EXTRA": {
"ddlstreamitaly": {
"ips4_device_key": "",
"ips4_member_id": "",
"ips4_login_key": ""
}
}
}
The ddlstreamitaly
site requires authentication credentials for access. These settings allow you to configure the necessary authentication parameters:
- Type: String
-
Default:
""
- Description: The device key used for authentication with the ddlstreamitaly site.
- Usage: Enter the device key provided by the site after registration.
- Type: String
-
Default:
""
- Description: The member ID used for authentication with the ddlstreamitaly site.
- Usage: Enter your member ID provided by the site after registration.
- Type: String
-
Default:
""
- Description: The login key used for authentication with the ddlstreamitaly site.
- Usage: Enter the login key provided by the site after registration.
To obtain the required authentication credentials for ddlstreamitaly:
- Register an account on the ddlstreamitaly website
- Log in to your account
- Access your account settings or profile page
- Look for API access or device authentication settings
- Copy the provided keys and IDs to your configuration file
-
Sensitive Information: These authentication credentials are sensitive information. Do not share your
config.json
file containing these values. -
Local Storage: The credentials are stored in plain text in the
config.json
file. Ensure that this file is only accessible to authorized users. - Backup: Consider backing up your configuration file after setting up these credentials to avoid having to retrieve them again.
The StreamingCommunity project may add support for additional sites in future updates. When new sites are added that require specific configuration, they will be added to the SITE_EXTRA
section with appropriate documentation.
You can access and modify these settings programmatically:
from StreamingCommunity.Util.config_json import config_manager
# Get a configuration value
device_key = config_manager.get('SITE_EXTRA', 'ddlstreamitaly', 'ips4_device_key')
# Set a configuration value
config_manager.set_nested_key('SITE_EXTRA', 'ddlstreamitaly', 'ips4_device_key', 'your_device_key')
config_manager.save_config()
- DEFAULT Settings - Configure general application behavior
- Request Settings - Configure network request behavior