Guest User

Untitled

a guest
Oct 10th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1. #################################
  2. # Pi MusicBox / Mopidy Settings #
  3. #################################
  4. #
  5. # Edit the settings of your MusicBox and the Mopidy music server here
  6. # This is a file read by both the MusicBox startup-scripts and Mopidy.
  7. # For more info on the settings of Mopidy: http://docs.mopidy.com/en/latest/config/
  8. # or the particular extenion's GitHub page
  9. #
  10. # Every line starting with a # is a comment, it does not do anything until you remove the #
  11.  
  12. # --------------------
  13. # | Network Settings |
  14. # --------------------
  15. [network]
  16. # Settings for your WiFi network, if you use a (supported) wifi-dongle
  17. # Only supports WPA security, no WEP or access points without security (dive into the command line for that!)
  18. wifi_network = SavkaNET
  19. wifi_password = 6183199959
  20.  
  21. # Set the name of the MusicBox.
  22. # In this way you can identify and access different devices on the same network e.g. across different rooms.
  23. # A MusicBox device named kitchen would be accessible from a web browser at http://kitchen.local/, from an MPD
  24. # client at kitchen.local and advertised as kitchen on AirTunes.
  25. # The name is restricted to a maximum of 9 alphanumeric characters (no spaces, dots, etc).
  26. # You can even have different devices with different Spotify accounts when needed.
  27. name = MusicBox
  28.  
  29. # Mount Windows Network Drive on boot (via samba/cifs)
  30. # The address is exactly how Samba mount works: //servername/mountpoint/directory
  31. # e.g. //192.168.1.5/musicmount or //server.local/shared/music
  32. # if the mount needs a username/password, also set it (leave empty for guest-access)
  33. # Don't forget to let Mopidy/MusicBox scan the contents at first boot (see below)
  34. mount_address =
  35. mount_user =
  36. mount_password =
  37.  
  38. # Here you can change the default workgroup of the Windows network.
  39. # This will set the workgroup to the name you want
  40. workgroup = WORKGROUP
  41.  
  42. # Enable this to allow remote login via SSH on MusicBox
  43. enable_ssh = false
  44.  
  45. # By default, MusicBox waits for the network to come up, since there is not much to do without a network.
  46. # If you want to skip this, e.g. for testing purposes, uncomment this line
  47. wait_for_network = true
  48.  
  49. # -----------
  50. # | Spotify |
  51. # -----------
  52. # https://github.com/mopidy/mopidy-spotify
  53. [spotify]
  54. # Supply your PREMIUM account credentials to enable Spotify
  55. enabled = false
  56. username =
  57. password =
  58. # The bitrate, the quality of the music played by Spotify, can be set to 96, 160 (default) or 320
  59. bitrate = 320
  60. cache_dir = ""
  61.  
  62. # -----------
  63. # | Last.fm |
  64. # -----------
  65. # https://github.com/mopidy/mopidy-scrobbler
  66. # Supply your credentials to scrobble tracks to Last.fm
  67. [scrobbler]
  68. enabled = false
  69. username =
  70. password =
  71.  
  72. # --------------
  73. # | SoundCloud |
  74. # --------------
  75. # https://github.com/mopidy/mopidy-soundcloud
  76. # Supply your auth_token obtained from http://www.mopidy.com/authenticate
  77. [soundcloud]
  78. enabled = false
  79. auth_token =
  80.  
  81. # ----------------
  82. # | Google Music |
  83. # ----------------
  84. # https://github.com/hechtus/mopidy-gmusic
  85. # Supply your credentials to enable Google Music
  86. # NOTE: If enabled this may slow down the start of MusicBox. Please be patient
  87. [gmusic]
  88. enabled = false
  89. all_access = true
  90. username =
  91. password =
  92. deviceid =
  93.  
  94. # -----------
  95. # | YouTube |
  96. # -----------
  97. # https://github.com/dz0ny/mopidy-youtube
  98. # Play music from Youtube
  99. [youtube]
  100. enabled = true
  101.  
  102. # ----------
  103. # | Dirble |
  104. # ----------
  105. # https://github.com/mopidy/mopidy-dirble
  106. # Play radio stations from Dirble
  107. [dirble]
  108. enabled = true
  109. api_key = 473279e3fa0e7010cbbbb40ecc31890d46e57a2e
  110. countries = US, NL, DE, NO, SE
  111.  
  112. # ------------
  113. # | Subsonic |
  114. # ------------
  115. # https://github.com/rattboi/mopidy-subsonic
  116. # Stream music from your Subsonic Music Streamer
  117. [subsonic]
  118. enabled = false
  119. hostname =
  120. port =
  121. username =
  122. password =
  123. ssl =
  124.  
  125. # ----------------
  126. # | TuneIn Radio |
  127. # ----------------
  128. # https://github.com/kingosticks/mopidy-tunein
  129. # Play radio stations from TuneIn
  130. [tunein]
  131. enabled = true
  132.  
  133. # ------------------------
  134. # | The Internet Archive |
  135. # ------------------------
  136. # http://mopidy-internetarchive.readthedocs.org/en/latest/config.html
  137. # Listen to sounds and music from the Internet Archive
  138. [internetarchive]
  139. enabled = false
  140.  
  141. # -----------
  142. # | Soma FM |
  143. # -----------
  144. # https://github.com/AlexandrePTJ/mopidy-somafm
  145. # Play radio stations from Soma FM
  146. [somafm]
  147. enabled = false
  148. encoding = mp3
  149. quality = fast
  150.  
  151. # -----------
  152. # | Podcast |
  153. # -----------
  154. # https://github.com/tkem/mopidy-podcast
  155. # Play podcasts from different sources
  156. [podcast]
  157. # Note: You cannot add settings for [podcast-itunes] or [podcast-gpodder]
  158. # because it breaks the startup script (won't read dashes in section names
  159. enabled = true
  160. feeds =
  161.  
  162. # ---------------
  163. # | AudioAddict |
  164. # ---------------
  165. # https://github.com/nilicule/mopidy-audioaddict
  166. # Play music from all the AudioAddict network of sites (login optional)
  167. [audioaddict]
  168. enabled = false
  169.  
  170.  
  171. # ---------------------
  172. # | MusicBox Settings |
  173. # ---------------------
  174. [musicbox]
  175. # To secure your device, change the default password to something else.
  176. # For security, the value in this file will be automatically cleaned out when the password is set in MusicBox
  177. root_password =
  178.  
  179. # Automatically resize the filesystem and use all available space on your SD card.
  180. # Use at your own risk, you could lose data on your card.
  181. # (If so, you can put the original MusicBox image on it again and start over)
  182. resize_once = false
  183.  
  184. # Scan on startup for new music files on the SD card or the network shares (could take a while!).
  185. # Local files work ok for moderate size collections. Large music database sizes could cause problems.
  186. # IMPORTANT: if you enable scan_always this will scan on every boot.
  187. # If your music doesn't change or you only stream music set scan_once instead.
  188. #scan_once = true
  189. scan_always = true
  190.  
  191. # MusicBox can automatically start playing a stream/song after startup.
  192. # It will wait a number of seconds before trying to do so for the system to first become ready.
  193. # The wait required varies per device, network and configuration so if it doesn't work then increase the time.
  194. # e.g. autoplay = http://nprdmp.ic.llnwd.net/stream/nprdmp_live01_mp3 or local:track:MusicBox/Music%20File.mp3 (on the SD Card)
  195. autoplay =
  196. autoplaywait = 60
  197.  
  198. # -------------
  199. # | Streaming |
  200. # -------------
  201. # Set these options to enable streaming to Pi MusicBox
  202. # AirTunes (using Shairport-sync):
  203. enable_shairport =
  204.  
  205. # DLNA/uPnP/OpenHome (using upmpdcli):
  206. enable_upnp =
  207.  
  208. # ------------------
  209. # | Audio Settings |
  210. # ------------------
  211. # Because of limitations with some USB-DACs, MusicBox downsamples USB sound to 44k by default. Set to false to disable.
  212. downsample_usb = true
  213.  
  214. # Set default audio output. This overrides the automatic detection (which sets to usb audio if an usb audio device
  215. # is found, else to hdmi (if hdmi is connected at boot), and otherwise just to the analog out).
  216. # i2s cards (e.g. HifiBerry etc) are not detected automatically and must be explicitly set here.
  217. # Options: analog, hdmi, usb, hifiberry_dac, hifiberry_digi, hifiberry_dacplus, hifiberry_amp, iqaudio_dac
  218. output =
  219.  
  220. [audio]
  221. # Set the startup volume of MusicBox
  222. # Values: from 0 to 100
  223. mixer_volume = 85
  224.  
  225. # --------------------------------------------------------------------------
  226. # | OTHER Settings |
  227. # | You probably don't want to edit the settings below this line. Really. |
  228. # | Unless you know what you're doing, or you want to change the webclient |
  229. # --------------------------------------------------------------------------
  230. # This sets the gstreamer buffer. It's a bit tricky...
  231. # If you have problems with stuttering sound, try other values here, like:
  232. # or
  233. #output = alsasink buffer-time=300000 latency-time=20000
  234. #output = alsasink buffer-time=200000 latency-time=10000
  235. output = alsasink
  236.  
  237. mixer = software
  238.  
  239. # Optionally, you can use alsamixer. This enables you to use hardware mixers of usb/audiocards.
  240. # Set the previous setting to:
  241. #mixer = alsamixer
  242. # And set the card and contol below. E.g.
  243. #card = 1
  244. #control = Master
  245. # Run the command 'amixer scontrols' from the commandline to list available controls on your system
  246. # See https://github.com/mopidy/mopidy-alsamixer
  247. [alsamixer]
  248. card =
  249. control =
  250.  
  251. [stream]
  252. enabled = true
  253.  
  254. [http]
  255. enabled = true
  256. hostname = 0.0.0.0
  257. port = 6680
  258. #Disable zeroconf
  259. zeroconf = ""
  260.  
  261. # -------------
  262. # | Webclient |
  263. # -------------
  264. # Here you can change the default webclient
  265. # options: /opt/webclient /opt/moped
  266. static_dir = /opt/webclient
  267.  
  268. [musicbox_webclient]
  269. enabled = true
  270. musicbox = true
  271.  
  272. [websettings]
  273. enabled = true
  274. musicbox = true
  275. config_file = /boot/config/settings.ini
  276.  
  277. [mpd]
  278. hostname = 0.0.0.0
  279.  
  280. [logging]
  281. config_file = /etc/mopidy/logging.conf
  282. debug_file = /var/log/mopidy/mopidy-debug.log
  283.  
  284. [local]
  285. enabled = true
  286. media_dir = /music
  287. playlists_dir = /var/lib/mopidy/playlists
  288. data_dir = /var/lib/mopidy/localdata
  289. #This sets the method of indexing local files
  290. #You can set it to json or whoosh. Whoosh might be better with large collections, JSON is a bit more mature.
  291. # TODO: You cannot add settings for [local-sqlite]
  292. # because it breaks the startup script (won't read dashes in section names
  293. library = sqlite
  294.  
  295. scan_timeout = 1000
  296. scan_flush_threshold = 1000
  297. excluded_file_extensions = .html, .jpeg, .jpg, .log, .nfo, .png, .txt, .mkv, .avi, .divx, .qt, .wmv, .htm, .zip, .rar, .gz, .pdf, .exe, .ini, .mid, .db, .m3u, .sfv, .midi
Add Comment
Please, Sign In to add comment