mopidy.conf.j2 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. enabled = true
  13. scan_timeout = 3000
  14. media_dir = /var/lib/mopidy/media/music
  15. excluded_file_extensions =
  16. .directory
  17. .html
  18. .jpeg
  19. .jpg
  20. .db
  21. .log
  22. .nfo
  23. .png
  24. .txt
  25. .cue
  26. .pdf
  27. .m3u8
  28. .m3u
  29. .zip
  30. [m3u]
  31. playlists_dir = /var/lib/mopidy/media/music/playlists
  32. [http]
  33. enabled = true
  34. hostname = 0.0.0.0
  35. port = 6680
  36. static_dir =
  37. zeroconf = Mopidy HTTP server on $hostname
  38. allowed_origins =
  39. csrf_protection = true
  40. [stream]
  41. enabled = true
  42. protocols =
  43. http
  44. https
  45. mms
  46. rtmp
  47. rtmps
  48. rtsp
  49. timeout = 5000
  50. metadata_blacklist =
  51. [mpd]
  52. enabled = true
  53. hostname = 0.0.0.0
  54. port = 6600
  55. password =
  56. max_connections = 20
  57. connection_timeout = 60
  58. zeroconf = Mopidy MPD server on $hostname
  59. command_blacklist = listall,listallinfo
  60. default_playlist_scheme = m3u
  61. [musicbox_webclient]
  62. enabled = true
  63. musicbox = true
  64. on_track_click = ADD_THIS_BOTTOM
  65. #[scrobbler]
  66. #username = powellc
  67. #password = {{mopidy_lastfm_password}}
  68. [bandcamp]
  69. identity: {{mopidy_bandcamp_identity}}
  70. [webhooks]
  71. enabled = true
  72. urls = https://life.unbl.ink/webhook/mopidy/
  73. tokens = {{vrobbler_webhook_token}}
  74. [lagukan]
  75. autostart = false
  76. [audio]
  77. output = audioresample ! rgvolume ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=snapcast.service port=4001 async=False
  78. #output = lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot
  79. #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