forked from hankhank10/music-screen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonos_settings.py
65 lines (43 loc) · 2.22 KB
/
sonos_settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
### Sonos settings
## General settings
# Connection details for `node-sonos-http-api`
sonos_http_api_address = "localhost"
sonos_http_api_port = "5005"
# Location of log file to write in addition to printing to screen. Comment out to disable
log_file = "~/music-screen-api.log"
# One of ERROR, WARNING, INFO, DEBUG (in order of least to most verbose)
log_level = "INFO"
# Crop song and album names to remove nonsense such as "Remastered" or "live at"
demaster = True
# Send track and album names to http://demaster.hankapi.com for more advanced track name cleanup
demaster_query_cloud = False
## High-res only settings
#Spotify Developer API Details (only required if show_spotify_code = True or show_spotify_albumart = True), uncomment and add your apps details to use
#spotify_client_id = ""
#spotify_client_secret = ""
spotify_market = None
# Show a Spotify Code graphic for the currently playing song if playing from Spotify, can be displayed if 'show_details' is either True or False.
show_spotify_code = False
#Overide the albumart with that from Spotify if available
show_spotify_albumart = False
# Room name of Sonos speaker(s) to track
room_name_for_highres = ""
# Display track name in addition to album art
show_details = False
# Seconds to show detail view on track changes before returning to full-screen album art. Ignored if 'show_details' is False. Comment out to disable feature.
show_details_timeout = 10
# Also display artist and album with track name. Ignored if 'show_details' is False.
show_artist_and_album = True
# Display artist and album with track name with a new look. Ignored if 'show_details' is False.
artist_and_album_newlook = True
# Display Track, Album and Artist Information over fullscreen Album Art
overlay_text = True
# Also displaying state (volume, repeat, shuffle and crossfade) . Ignored if 'show_details' is False.
show_play_state = True
# Turn off display (and backlight) when Sonos is playing from a TV source
sleep_on_tv = False
# Turn off display (and backlight) when Sonos is playing from a Line-In source
sleep_on_linein = False
## e-ink only settings
# Set to True if running on a Pi Zero along with `node-sonos-http-api` to mitigate long startup times and other performance limitations.
pi_zero = False