Craigusus

sonos_settings.py

Nov 4th, 2021 (edited)
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.57 KB | None | 0 0
  1. ### Sonos settings
  2.  
  3. ## General settings
  4.  
  5. # Connection details for `node-sonos-http-api`
  6. sonos_http_api_address = "192.168.1.83"
  7. sonos_http_api_port = "5005"
  8.  
  9. # Location of log file to write in addition to printing to screen. Comment out to disable
  10. log_file = "~/music-screen-api.log"
  11.  
  12. # One of ERROR, WARNING, INFO, DEBUG (in order of least to most verbose)
  13. log_level = "INFO"
  14.  
  15. # Crop song names to remove nonsense such as "Remastered" or "live at"
  16. demaster = True
  17.  
  18. # Send track names to http://demaster.hankapi.com for more advanced track name cleanup
  19. demaster_query_cloud = True
  20.  
  21.  
  22. ## High-res only settings
  23.  
  24. # Room name of Sonos speaker(s) to track
  25. room_name_for_highres = "Lounge"
  26.  
  27. # Display track name in addition to album art
  28. show_details = True
  29.  
  30. # 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.
  31. #show_details_timeout = 10
  32.  
  33. # Also display artist and album with track name. Ignored if 'show_details' is False.
  34. show_artist_and_album = True
  35.  
  36. # Display artist and album with track name with a new look. Ignored if 'show_details' is False.
  37. artist_and_album_newlook = True
  38.  
  39. # Turn off display (and backlight) when Sonos is playing from a TV source
  40. sleep_on_tv = False
  41.  
  42. # Turn off display (and backlight) when Sonos is playing from a Line-In source
  43. sleep_on_linein = False
  44.  
  45.  
  46. ## e-ink only settings
  47.  
  48. # Set to True if running on a Pi Zero along with `node-sonos-http-api` to mitigate long startup times and other performance limitations.
  49. pi_zero = False
  50.  
Add Comment
Please, Sign In to add comment