mopidy.conf.j2 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. [local-images]
  14. enabled = true
  15. image_dir = /var/lib/mopidy/media/music/.mopidy-images/
  16. [m3u]
  17. playlists_dir = /var/lib/mopidy/media/music/playlists
  18. [http]
  19. enabled = true
  20. hostname = 0.0.0.0
  21. port = 6680
  22. static_dir =
  23. zeroconf = Mopidy HTTP server on $hostname
  24. allowed_origins =
  25. csrf_protection = true
  26. [stream]
  27. enabled = true
  28. protocols =
  29. http
  30. https
  31. mms
  32. rtmp
  33. rtmps
  34. rtsp
  35. timeout = 5000
  36. metadata_blacklist =
  37. [mpd]
  38. enabled = true
  39. hostname = 0.0.0.0
  40. port = 6600
  41. password =
  42. max_connections = 20
  43. connection_timeout = 60
  44. zeroconf = Mopidy MPD server on $hostname
  45. command_blacklist = listall,listallinfo
  46. default_playlist_scheme = m3u
  47. [musicbox_webclient]
  48. enabled = true
  49. musicbox = true
  50. on_track_click = ADD_THIS_BOTTOM
  51. #[scrobbler]
  52. #api_key = {{mopidy_lastfm_api_key}}
  53. #api_secret = {{mopidy_lastfm_secret}}
  54. #username = powellc
  55. #password = {{mopidy_lastfm_password}}
  56. [bandcamp]
  57. identity: {{mopidy_bandcamp_identity}}
  58. [webhooks]
  59. enabled = true
  60. urls = http://vrobbler.service/api/v1/scrobbles/mopidy/
  61. tokens = {{vrobbler_webhook_token}}
  62. [lagukan]
  63. autostart = false
  64. [audio]
  65. output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=snapcast.service port=4098
  66. #output = lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot
  67. #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