mopidy.conf.j2 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [core]
  2. cache_dir = /var/cache/mopidy
  3. config_dir = /etc/mopidy
  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/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. #[jellyfin]
  45. #hostname = jellyfin.service:8096
  46. #username = secstate
  47. #password = {{mopidy_jellyfin_password}}
  48. #libraries = Music
  49. #albumartistsort = False (Optional: will default to True if left undefined)
  50. #album_format = {ProductionYear} - {Name} (Optional: will default to "{Name}" if left undefined)
  51. #[spotify]
  52. #username = 1259345154
  53. #password = {{mopidy_spotify_pass}}
  54. #client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
  55. #client_secret = {{mopidy_spotify_client_secret}}
  56. #[spotify_web]
  57. #client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
  58. #client_secret = {{mopidy_spotify_client_secret}}
  59. [musicbox_webclient]
  60. enabled = true
  61. musicbox = true
  62. on_track_click = ADD_THIS_BOTTOM
  63. [scrobbler]
  64. ##api_key = {{mopidy_lastfm_api_key}}
  65. ##api_secret = {{mopidy_lastfm_secret}}
  66. username = powellc
  67. password = {{mopidy_lastfm_password}}
  68. [webhooks]
  69. enabled = true
  70. urls = http://192.168.1.123:8000/api/v1/scrobbles/mopidy/
  71. [audio]
  72. output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! tcpclientsink host=127.0.0.1
  73. #output = lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot
  74. #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