mopidy.conf.j2 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. [m3u]
  12. playlists_dir = /var/lib/mopidy/playlists
  13. [http]
  14. enabled = true
  15. hostname = 0.0.0.0
  16. port = 6680
  17. static_dir =
  18. zeroconf = Mopidy HTTP server on $hostname
  19. allowed_origins =
  20. csrf_protection = true
  21. [stream]
  22. enabled = true
  23. protocols =
  24. http
  25. https
  26. mms
  27. rtmp
  28. rtmps
  29. rtsp
  30. timeout = 5000
  31. metadata_blacklist =
  32. [mpd]
  33. enabled = true
  34. hostname = 0.0.0.0
  35. port = 6600
  36. password =
  37. max_connections = 20
  38. connection_timeout = 60
  39. zeroconf = Mopidy MPD server on $hostname
  40. command_blacklist = listall,listallinfo
  41. default_playlist_scheme = m3u
  42. [jellyfin]
  43. hostname = jellyfin.service
  44. username = secstate
  45. password = {{mopidy_jellyfin_password}}
  46. libraries = Music
  47. albumartistsort = False (Optional: will default to True if left undefined)
  48. album_format = {ProductionYear} - {Name} (Optional: will default to "{Name}" if left undefined)
  49. [spotify]
  50. username = 1259345154
  51. password = {{mopidy_spotify_pass}}
  52. client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
  53. client_secret = {{mopidy_spotify_client_secret}}
  54. [spotify_web]
  55. client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
  56. client_secret = {{mopidy_spotify_client_secret}}
  57. [soundcloud]
  58. auth_token = {{mopidy_soundcloud_auth_token}}
  59. [podcast]
  60. enabled = true
  61. browse_root = https://gpodder.net/user/secstate/list/secstates-list.opml
  62. browse_order = desc
  63. lookup_order = asc
  64. cache_size = 64
  65. cache_ttl = 86400
  66. timeout = 10
  67. [musicbox_webclient]
  68. enabled = true
  69. musicbox = true
  70. on_track_click = ADD_THIS_BOTTOM
  71. [audio]
  72. output = lamemp3enc ! shout2send async=false mount=mopidy ip=icecast1.local port=8010 password=mainr0ot