# Spotify Config File Error

**URL:** <https://discourse.mopidy.com/t/spotify-config-file-error/273>\
**Category:** Misc\
**Created:** [October 27, 2014, 2:38am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273 "2014-10-27T02:38:52Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [December 12, 2017, 8:06pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/21 "2017-12-12T20:06:10Z")

</div>

There shouldn’t be # at the start of every line - they are not read.

---

<div class="post-metadata">

**Author:** ![lampenschakelen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/lampenschakelen/32/1112_2.png) [@lampenschakelen](https://discourse.mopidy.com/u/lampenschakelen)\
**Post date:** [December 12, 2017, 8:48pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/22 "2017-12-12T20:48:52Z")

</div>

Can share your config file?

---

<div class="post-metadata">

**Author:** ![Steve\_Lambert](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/steve_lambert/32/1149_2.png) [@Steve\_Lambert](https://discourse.mopidy.com/u/Steve_Lambert)\
**Post date:** [December 12, 2017, 8:58pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/23 "2017-12-12T20:58:54Z")

</div>

**# For further information about options in this file see:**  
**# [http://docs.mopidy.com/](http://docs.mopidy.com/)**  
**#**  
**# The initial commented out values reflect the defaults as of:**  
**# Mopidy 2.0.1**  
**# Mopidy-File 2.0.1**  
**# Mopidy-HTTP 2.0.1**  
**# Mopidy-Local 2.0.1**  
**# Mopidy-M3U 2.0.1**  
**# Mopidy-MPD 2.0.1**  
**# Mopidy-Mopify 1.6.0**  
**# Mopidy-SoftwareMixer 2.0.1**  
**# Mopidy-Spotify 3.0.0**  
**# Mopidy-Stream 2.0.1**  
**#**  
**# Available options and defaults might have changed since then,**  
**# run `mopidy config` to see the current effective config and**  
**# `mopidy --version` to check the current version.**

[core]  
cache\_dir = $XDG\_CACHE\_DIR/mopidy  
config\_dir = $XDG\_CONFIG\_DIR/mopidy  
data\_dir = $XDG\_DATA\_DIR/mopidy  
max\_tracklist\_length = 10000

[logging]  
color = true  
console\_format = %(levelname)-8s %(message)s  
debug\_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)$  
#debug\_file = mopidy.log  
#config\_file =

[audio]  
mixer = software  
mixer\_volume =  
#output = autoaudiosink  
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo  
buffer\_time =

[proxy]  
#scheme =  
hostname =  
port =  
username =  
password =

[mopify]  
enabled = true  
debug = false

[mpd]  
enabled = true  
hostname = 0.0.0.0  
port = 6600  
password =  
max\_connections = 20  
connection\_timeout = 60  
zeroconf = Mopidy MPD server on $hostname  
command\_blacklist =  
listall

# listallinfo

#default\_playlist\_scheme = m3u

[http]  
enabled = true  
hostname = 0.0.0.0  
port = 6680  
static\_dir =  
zeroconf = Mopidy HTTP server on $hostname

[stream]  
enabled = true  
protocols =  
http  
https  
mms  
rtmp  
rtmps  
rtsp  
metadata\_blacklist =  
timeout = 5000

[m3u]  
enabled = true  
base\_dir = $XDG\_MUSIC\_DIR  
default\_encoding = latin-1  
default\_extension = .m3u8  
playlists\_dir =  
[softwaremixer]  
[softwaremixer]  
enabled = true

[file]  
enabled = true  
media\_dirs =  
$XDG\_MUSIC\_DIR|Music  
~/|Home  
show\_dotfiles = false  
follow\_symlinks = false  
metadata\_timeout = 1000

[local]  
enabled = true  
library = json  
media\_dir = $XDG\_MUSIC\_DIR  
scan\_timeout = 1000  
scan\_flush\_threshold = 100  
scan\_follow\_symlinks = false  
excluded\_file\_extensions =  
.directory  
.html  
.jpeg  
.jpg  
.log  
.nfo  
.png  
.txt

[spotify]  
enabled = true  
username = ???  
password = ???  
client\_id = ???  
client\_secret = ???  
bitrate = 160  
volume\_normalization = true  
private\_session = false  
timeout = 10  
allow\_cache = true  
allow\_network = true  
allow\_playlists = true  
search\_album\_count = 20  
search\_artist\_count = 10  
search\_track\_count = 50  
toplist\_countries =

---

<div class="post-metadata">

**Author:** ![lampenschakelen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/lampenschakelen/32/1112_2.png) [@lampenschakelen](https://discourse.mopidy.com/u/lampenschakelen)\
**Post date:** [December 12, 2017, 10:58pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/24 "2017-12-12T22:58:29Z")

</div>

Thanks a lot!

It’s working 😉

Now i have code work with the following link:

> **[node-red-contrib-mopidy](https://www.npmjs.com/package/node-red-contrib-mopidy)**
>
> A Node-RED node to communicate with Mopidy

Keep up the good work.

Thanks a lot for you fast response. 😀

[Previous page](https://discourse.mopidy.com/t/spotify-config-file-error/273.md?page=1)
