mopidy.conf 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. # For further information about options in this file see:
  2. # https://docs.mopidy.com/
  3. #
  4. # The initial commented out values reflect the defaults as of:
  5. # Mopidy 3.3.0
  6. # Mopidy-Bandcamp 1.1.5
  7. # Mopidy-File 3.3.0
  8. # Mopidy-HTTP 3.3.0
  9. # Mopidy-Iris 3.64.0
  10. # Mopidy-Local 3.2.1
  11. # Mopidy-M3U 3.3.0
  12. # Mopidy-MPD 3.3.0
  13. # Mopidy-Podcast 3.0.1
  14. # Mopidy-Podcast-iTunes 3.0.1
  15. # Mopidy-Scrobbler 2.0.1
  16. # Mopidy-SoftwareMixer 3.3.0
  17. # Mopidy-SomaFM 2.0.2
  18. # Mopidy-SoundCloud 3.0.1
  19. # Mopidy-Spotify 4.1.1
  20. # Mopidy-Stream 3.3.0
  21. # Mopidy-TuneIn 1.1.0
  22. #
  23. # Available options and defaults might have changed since then,
  24. # run `mopidy config` to see the current effective config and
  25. # `mopidy --version` to check the current version.
  26. [core]
  27. #cache_dir = $XDG_CACHE_DIR/mopidy
  28. #config_dir = $XDG_CONFIG_DIR/mopidy
  29. #data_dir = $XDG_DATA_DIR/mopidy
  30. #max_tracklist_length = 10000
  31. #restore_state = false
  32. [logging]
  33. #verbosity = 0
  34. #format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
  35. #color = true
  36. #config_file =
  37. #mmi 20220712
  38. [audio]
  39. output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo
  40. #[audio]
  41. #mixer = software
  42. #mixer_volume =
  43. #output = autoaudiosink
  44. #buffer_time =
  45. [proxy]
  46. #scheme =
  47. #hostname =
  48. #port =
  49. #username =
  50. #password =
  51. [iris]
  52. #enabled = true
  53. #country = NZ
  54. #locale = en_NZ
  55. #verify_certificates = true
  56. #snapcast_enabled = true
  57. #snapcast_host = localhost
  58. #snapcast_port = 1780
  59. #snapcast_ssl = false
  60. #snapcast_stream = Default
  61. #spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
  62. #lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
  63. #genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
  64. #data_dir = $XDG_DATA_DIR/iris
  65. [bandcamp]
  66. #enabled = true
  67. #discover_pages = 1
  68. #collection_items = 50
  69. #discover_genres =
  70. # All
  71. # Electronic
  72. # Rock
  73. # Metal
  74. # Alternative
  75. # Hip-Hop/Rap
  76. # Experimental
  77. # Punk
  78. # Folk
  79. # Pop
  80. # Ambient
  81. # Soundtrack
  82. # World
  83. # Jazz
  84. # Acoustic
  85. # Funk
  86. # R&B/Soul
  87. # Devotional
  88. # Classical
  89. # Reggae
  90. # Podcasts
  91. # Country
  92. # Spoken Word
  93. # Comedy
  94. # Blues
  95. # Kids
  96. # Audiobooks
  97. # Latin
  98. #discover_tags =
  99. # Outrun
  100. # Future Funk
  101. # Alternative Hip-Hop
  102. # Tokyo, Japan
  103. #image_sizes =
  104. # 10
  105. # 5
  106. # 2
  107. #identity =
  108. [file]
  109. enabled = true
  110. media_dirs = /data/music/
  111. # $XDG_MUSIC_DIR|Music
  112. # ~/|Home
  113. #excluded_file_extensions =
  114. # .directory
  115. # .html
  116. # .jpeg
  117. # .jpg
  118. # .log
  119. # .nfo
  120. # .pdf
  121. # .png
  122. # .txt
  123. # .zip
  124. #show_dotfiles = false
  125. #follow_symlinks = false
  126. #metadata_timeout = 1000
  127. [http]
  128. enabled = true
  129. hostname = 0.0.0.0
  130. #port = 6680
  131. #zeroconf = Mopidy HTTP server on $hostname
  132. #allowed_origins =
  133. #csrf_protection = true
  134. #default_app = mopidy
  135. [m3u]
  136. #enabled = true
  137. #base_dir =
  138. #default_encoding = latin-1
  139. #default_extension = .m3u8
  140. #playlists_dir =
  141. [softwaremixer]
  142. #enabled = true
  143. [stream]
  144. enabled = true
  145. protocols =
  146. http
  147. https
  148. mms
  149. rtmp
  150. rtmps
  151. rtsp
  152. #metadata_blacklist =
  153. timeout = 5000
  154. [tunein]
  155. enabled = true
  156. timeout = 5000
  157. #filter =
  158. [spotify]
  159. enabled = false
  160. #username =
  161. #password =
  162. #client_id =
  163. #client_secret =
  164. #bitrate = 160
  165. #volume_normalization = true
  166. #private_session = false
  167. #timeout = 10
  168. #allow_cache = true
  169. #allow_network = true
  170. #allow_playlists = true
  171. #search_album_count = 20
  172. #search_artist_count = 10
  173. #search_track_count = 50
  174. #toplist_countries =
  175. [soundcloud]
  176. enabled = false
  177. #explore_songs = 25
  178. #auth_token =
  179. [somafm]
  180. enabled = true
  181. encoding = mp3
  182. #quality = fast
  183. #dj_as_artist = true
  184. [scrobbler]
  185. enabled = false
  186. #username =
  187. #password =
  188. [podcast]
  189. enabled = true
  190. #browse_root = Podcasts.opml
  191. #browse_order = desc
  192. #lookup_order = asc
  193. #cache_size = 64
  194. #cache_ttl = 86400
  195. #timeout = 10
  196. [podcast-itunes]
  197. enabled = true
  198. #base_url = http://itunes.apple.com/
  199. #country = US
  200. #explicit =
  201. #charts = audioPodcasts
  202. #charts_limit = 20
  203. #search_limit = 20
  204. #timeout = 10
  205. #retries = 3
  206. [mpd]
  207. enabled = true
  208. hostname = 0.0.0.0
  209. port = 6600
  210. #password =
  211. #max_connections = 20
  212. connection_timeout = 120
  213. #zeroconf = Mopidy MPD server on $hostname
  214. #command_blacklist =
  215. # listall
  216. # listallinfo
  217. #default_playlist_scheme = m3u
  218. [local]
  219. enabled = true
  220. #max_search_results = 100
  221. media_dir = /data/music/
  222. #scan_timeout = 1000
  223. #scan_flush_threshold = 100
  224. #scan_follow_symlinks = false
  225. #included_file_extensions =
  226. #excluded_file_extensions =
  227. # .cue
  228. # .directory
  229. # .html
  230. # .jpeg
  231. # .jpg
  232. # .log
  233. # .nfo
  234. # .pdf
  235. # .png
  236. # .txt
  237. # .zip
  238. #directories =
  239. # Albums local:directory?type=album
  240. # Artists local:directory?type=artist
  241. # Composers local:directory?type=artist&role=composer
  242. # Genres local:directory?type=genre
  243. # Performers local:directory?type=artist&role=performer
  244. # Release Years local:directory?type=date&format=%25Y
  245. # Tracks local:directory?type=track
  246. # Last Week's Updates local:directory?max-age=604800
  247. # Last Month's Updates local:directory?max-age=2592000
  248. #timeout = 10
  249. #use_artist_sortname = false
  250. #album_art_files =
  251. # *.jpg
  252. # *.jpeg
  253. # *.png