/
/
/
1"""Constants for DLNA provider."""
2
3from music_assistant_models.config_entries import ConfigEntry
4
5from music_assistant.constants import CONF_ENTRY_FLOW_MODE, create_sample_rates_config_entry
6
7PLAYER_CONFIG_ENTRIES = [
8 # enable flow mode by default because
9 # most dlna players do not support enqueueing
10 ConfigEntry.from_dict({**CONF_ENTRY_FLOW_MODE.to_dict(), "default_value": True}),
11 create_sample_rates_config_entry(max_sample_rate=192000, max_bit_depth=24),
12]
13
14
15CONF_NETWORK_SCAN = "network_scan"
16