mopidy.conf.j2 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. [core]
  2. cache_dir = /var/cache/mopidy
  3. config_dir = /usr/local/etc
  4. data_dir = /var/lib/mopidy
  5. restore_state = true
  6. [file]
  7. enabled = true
  8. media_dirs =
  9. /var/lib/mopidy/media
  10. follow_symlinks = true
  11. [local]
  12. media_dir = /var/lib/mopidy/media/music
  13. [m3u]
  14. playlists_dir = /var/lib/mopidy/media/music/playlists
  15. [http]
  16. enabled = true
  17. hostname = 0.0.0.0
  18. port = 6680
  19. static_dir =
  20. zeroconf = Mopidy HTTP server on $hostname
  21. allowed_origins =
  22. csrf_protection = true
  23. [stream]
  24. enabled = true
  25. protocols =
  26. http
  27. https
  28. mms
  29. rtmp
  30. rtmps
  31. rtsp
  32. timeout = 5000
  33. metadata_blacklist =
  34. [mpd]
  35. enabled = true
  36. hostname = 0.0.0.0
  37. port = 6600
  38. password =
  39. max_connections = 20
  40. connection_timeout = 60
  41. zeroconf = Mopidy MPD server on $hostname
  42. command_blacklist = listall,listallinfo
  43. default_playlist_scheme = m3u
  44. [musicbox_webclient]
  45. enabled = true
  46. musicbox = true
  47. on_track_click = ADD_THIS_BOTTOM
  48. #[scrobbler]
  49. #api_key = {{mopidy_lastfm_api_key}}
  50. #api_secret = {{mopidy_lastfm_secret}}
  51. #username = powellc
  52. #password = {{mopidy_lastfm_password}}
  53. [bandcamp]
  54. identity: {{mopidy_bandcamp_identity}}
  55. [webhooks]
  56. enabled = true
  57. urls = http://vrobbler.service/api/v1/scrobbles/mopidy/
  58. tokens = {{vrobbler_webhook_token}}
  59. [lagukan]
  60. autostart = false
  61. [audio]
  62. output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=snapcast.service port=4098
  63. #output = lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot
  64. #output = tee name=t ! queue ! audioresample ! audio/x-raw,rate=48000,channels=2,format =S16LE ! audioconvert ! wavenc ! filesink location=/tmp/snapfifo t. ! queue ! lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot