# 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:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 27, 2014, 2:38am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/1 "2014-10-27T02:38:52Z")

</div>

I cannot get Mopidy to run spotify at all it just says:

INFO Enabled extensions: local, mpd, softwaremixer, http, stream  
INFO Disabled extensions: spotify  
WARNING Found spotify configuration errors, the extension has been automatically disabled:  
WARNING spotify/username must be set.  
WARNING spotify/password must be set.  
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.

However I have set my username and password so this should not be occurring. Please help.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 27, 2014, 2:04pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/2 "2014-10-27T14:04:18Z")

</div>

Where exactly did you set your Spotify username and password? Do the files have the correct permission for the user that Mopidy runs at? Have you read [https://docs.mopidy.com/en/latest/debian/#differences-when-running-as-a-system-service](https://docs.mopidy.com/en/latest/debian/#differences-when-running-as-a-system-service) ?

---

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 27, 2014, 3:10pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/3 "2014-10-27T15:10:01Z")

</div>

I set them in the config file at .config/mopidy/mopidy.config. And I read that link, although I didn't completely understand it.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 27, 2014, 3:47pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/4 "2014-10-27T15:47:06Z")

</div>

Do you mean `/home/<username>/.config/mopidy/mopidy.config` ? Are you trying to run Mopidy as a system service (starts automatically, runs in the background) or are you manually running it in the terminal? If you are running Mopidy as a system service you need to understand that the config comes from `/etc/mopidy/mopidy.conf`.

---

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 27, 2014, 10:45pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/5 "2014-10-27T22:45:33Z")

</div>

I am trying to run it manually in the terminal but every time I do it just gives me that same error message.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 27, 2014, 11:09pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/6 "2014-10-27T23:09:00Z")

</div>

Right, I only just realised what you wrote above, the file must be called `mopidy.conf` (not `mopidy.config`). Please ensure you edited the correct file and it’s in the correct place (`~/.config/mopidy/mopidy.conf`). When you start Mopidy in the terminal it will print out which config files it is using so make sure it’s picking up yours.

---

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 27, 2014, 11:15pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/7 "2014-10-27T23:15:48Z")

</div>

Yes I know that I need to edit the file in ~/.config/mopidy/.mopidy.conf  
Here I have posted what I get when i type in mopidy config in the terminal

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

[audio]  
mixer = software  
mixer\_volume =  
output = autoaudiosink  
visualizer =

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

[spotify]  
enabled = false ; Extension disabled due to config errors.  
username = ; Must be set.  
password = ; Must be set.  
bitrate = 160  
timeout = 10  
cache\_dir = $XDG\_CACHE\_DIR/mopidy/spotify  
settings\_dir = $XDG\_CONFIG\_DIR/mopidy/spotify  
toplist\_countries =  
AD  
AR  
AU  
AT  
BE  
CO  
CY  
DK  
EE  
FI  
FR  
DE  
GR  
HK  
IS  
IE  
IT  
LV  
LI  
LT  
LU  
MY  
MX  
MC  
NL  
NZ  
NO  
PT  
ES  
SG  
SE  
CH  
TW  
TR  
GB  
US

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

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

[softwaremixer]  
enabled = true

[local]  
enabled = true  
library = json  
media\_dir = $XDG\_MUSIC\_DIR  
data\_dir = $XDG\_DATA\_DIR/mopidy/local  
playlists\_dir = $XDG\_DATA\_DIR/mopidy/local/playlists  
scan\_timeout = 1000  
scan\_flush\_threshold = 1000  
excluded\_file\_extensions =  
.directory  
.html  
.jpeg  
.jpg  
.log  
.nfo  
.png  
.txt

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

But in the .conf file I have put in my username and password and I have confirmed those are the correct username and password by logging out and logging back in.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 27, 2014, 11:40pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/8 "2014-10-27T23:40:07Z")

</div>

> [@Kris\_Pennington](#):
>
> ~/.config/mopidy/.mopidy.conf

Presumably you mean `~/.config/mopidy/mopidy.conf`  
Your Spotify username and password obviously have to be under the `[spotify]` section in that file. Perhaps, for sanity’s sake, you could try changing some other setting and checking it’s picked up with `mopidy config`? For example, disabling the mpd frontend. And again, check what files it says it’s loading when you start Mopidy.

---

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 27, 2014, 11:47pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/9 "2014-10-27T23:47:25Z")

</div>

Okay so I disabled MPD and when I run mopidy in the terminal I get this

INFO Starting Mopidy 0.19.4  
INFO Loading config from: builtin defaults, /etc/xdg/xdg-gnome/mopidy/mopidy.conf, /usr/share/upstart/xdg/mopidy/mopidy.conf, /etc/xdg/mopidy/mopidy.conf, /home/arctic/.config/mopidy/mopidy.conf, command line options  
INFO Enabled extensions: local, mpd, softwaremixer, http, stream  
INFO Disabled extensions: spotify  
WARNING Found spotify configuration errors, the extension has been automatically disabled:  
WARNING spotify/username must be set.  
WARNING spotify/password must be set.  
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.  
INFO Starting Mopidy mixer: SoftwareMixer  
INFO Mixing using GStreamer software mixing  
INFO Starting Mopidy audio  
INFO Starting Mopidy backends: LocalBackend, StreamBackend  
INFO Loaded 0 local playlists from /home/arctic/.local/share/mopidy/local/playlists  
INFO Loaded 0 local tracks using json  
INFO Audio output set to "autoaudiosink"  
INFO Starting Mopidy core  
INFO Starting Mopidy frontends: HttpFrontend, MpdFrontend  
INFO HTTP server running at [::ffff:127.0.0.1]:6680  
INFO MPD server running at [::ffff:127.0.0.1]:6600

So it seems to me that it didn’t detect that I changed MPD to false

---

<div class="post-metadata">

**Author:** ![Kris\_Pennington](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/kris_pennington/32/48_2.png) [@Kris\_Pennington](https://discourse.mopidy.com/u/Kris_Pennington)\
**Post date:** [October 28, 2014, 8:12am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/10 "2014-10-28T08:12:55Z")

</div>

Ok so I purged the spotify plugin as welled as mopidy and now it works.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [October 28, 2014, 8:32am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/11 "2014-10-28T08:32:15Z")

</div>

Weird but OK, great!

---

<div class="post-metadata">

**Author:** ![Achus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/achus/32/104_2.png) [@Achus](https://discourse.mopidy.com/u/Achus)\
**Post date:** [March 5, 2015, 1:34am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/12 "2015-03-05T01:34:33Z")

</div>

Hello, sorry for reviving an old thread but I figure since I’m going through the exact same problem there’s no point in creating a new one. I tried reinstalling the whole package but it did nothing. Any other suggestion you guys may have?

thank you

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [March 5, 2015, 8:27am UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/13 "2015-03-05T08:27:18Z")

</div>

You’ll have to provide more details.

How did you install Mopidy? APT/pip/Homebrew?

What extensions have you installed? How?

Did you update the config file with the Spotify username and password? What’s the exact path to the config file you updated?

What’s the output of `mopidy config`?

What’s the output of `mopidy deps`?

---

<div class="post-metadata">

**Author:** ![Achus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/achus/32/104_2.png) [@Achus](https://discourse.mopidy.com/u/Achus)\
**Post date:** [March 5, 2015, 1:02pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/14 "2015-03-05T13:02:46Z")

</div>

Sure, sorry for that!

I installed it following the instructions [here](https://docs.mopidy.com/en/latest/installation/debian/#debian-install) and [here](https://docs.mopidy.com/en/latest/installation/raspberrypi/), it’s runing manually (so no system service).  
I installed the Spotify extension, following the same instructions found there. The path to my .conf file is the exact one Kris\_Pennington described: /home/pi/.config/mopidy/mopidy.conf (yes my username is pi).  
So whenever I browse to that file I find it edited with the settings I introduced: mu username/password for Spotify and a password for MPD. However when I execute `mopidy config` is shows me the same file but with no pass for the MPD and Spotify sections looks like this in there:

> [@Kris\_Pennington](#):
>
> [spotify]enabled = false ; Extension disabled due to config errors.username = ; Must be set.password = ; Must be set.

Finally, my mopidy deps output looks like this:

```
Platform: Linux-3.6.11+-armv6l-with-debian-7.1
Python: CPython 2.7.3 from /usr/lib/python2.7
Mopidy: 0.19.5 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  tornado>=2.3: 2.3 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify: 1.2.0 from /usr/share/mopidy
  Mopidy>=0.18: 0.19.5 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 2.3 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  pyspotify>=1.9,<1.999: 1.11 from /usr/lib/pymodules/python2.7
GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst
  Detailed information:
    Python wrapper: gst-python 0.10.22.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        id3demux
        id3v2mux
        lame
        mad
        mp3parse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        pulsesink
        flump3dec

```

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [March 5, 2015, 1:17pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/15 "2015-03-05T13:17:35Z")

</div>

Can you provide your config file? Feel free to fake passwords.

---

<div class="post-metadata">

**Author:** ![Achus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/achus/32/104_2.png) [@Achus](https://discourse.mopidy.com/u/Achus)\
**Post date:** [March 5, 2015, 1:35pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/16 "2015-03-05T13:35:41Z")

</div>

yeah sure

```
# For further information about options in this file see:
# http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 0.19.5
# Mopidy-HTTP 0.19.5
# Mopidy-Local 0.19.5
# Mopidy-MPD 0.19.5
# Mopidy-SoftwareMixer 0.19.5
# Mopidy-Spotify 1.2.0
# Mopidy-Stream 0.19.5
#
# 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.

[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
#visualizer =

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

[spotify]
#enabled = true
#username = myusername
#password = mypassword
#bitrate = 160
#timeout = 10
#cache_dir = $XDG_CACHE_DIR/mopidy/spotify
#settings_dir = $XDG_CONFIG_DIR/mopidy/spotify
#toplist_countries =
# AD
# AR
# AU
# AT
# BE
# CO
# CY
# DK
# EE
# FI
# FR
# DE
# GR
# HK
# IS
# IE
# IT
# LV
# LI
# LT
# LU
# MY
# MX
# MC
# NL
# NZ
# NO
# PT
# ES
# SG
# SE
[http]
#enabled = true
#hostname = 127.0.0.1
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname

[mpd]
#enabled = true
#hostname = 127.0.0.1
#port = 6600
#password = mpdpass
#max_connections = 20
#connection_timeout = 60
#zeroconf = Mopidy MPD server on $hostname

[softwaremixer]
#enabled = true

[local]
#enabled = true
#library = json
#media_dir =
#data_dir = $XDG_DATA_DIR/mopidy/local
#playlists_dir = $XDG_DATA_DIR/mopidy/local/playlists
#scan_timeout = 1000
#scan_flush_threshold = 1000
#excluded_file_extensions =
# .directory
# .html
# .jpeg
# .jpg
# .log
# .nfo
# .png
# .txt

[stream]
#enabled = true
#protocols =
# file
# http
# https
# mms
# rtmp
# rtmps
# rtsp
#metadata_blacklist =
#timeout = 5000
```

---

<div class="post-metadata">

**Author:** ![9and3r](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/9and3r/32/1513_2.png) [@9and3r](https://discourse.mopidy.com/u/9and3r)\
**Post date:** [March 5, 2015, 1:50pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/17 "2015-03-05T13:50:59Z")

</div>

The # is used to comment so the lines with # are not used.  
So instead of:

```
[spotify]
#enabled = true
#username = myusername
#password = mypassword

```

Use:

```
[spotify]
enabled = true
username = myusername
password = mypassword
```

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [March 5, 2015, 1:58pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/18 "2015-03-05T13:58:26Z")

</div>

The commented out lines which are prepopulated are the defaults, so if you don’t change the value you are recommended to keep it commented out, so you’ll get updated defaults with new releases.

E.g. `enabled = true` is redundant, as that is the default value.

---

<div class="post-metadata">

**Author:** ![Achus](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/achus/32/104_2.png) [@Achus](https://discourse.mopidy.com/u/Achus)\
**Post date:** [March 5, 2015, 2:25pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/19 "2015-03-05T14:25:03Z")

</div>

oh I feel so dumb, I knew about the commented lines thing, I just didn’t realize it was doing that as the whole document was commented. Anyway, thank you all, Spotify seems to be working now!

---

<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, 7:55pm UTC](https://discourse.mopidy.com/t/spotify-config-file-error/273/20 "2017-12-12T19:55:55Z")

</div>

Hello thanks a lot for making Mopidy

Can somebody help me to get it working with spotify?

INFO Starting Mopidy 2.1.0  
INFO Loading config from builtin defaults  
INFO Loading config from /home/pi/.config/mopidy/mopidy.conf  
INFO Loading config from command line options  
INFO Enabled extensions: iris, mpd, http, stream, m3u, softwaremixer, file, local-images  
INFO Disabled extensions: spotify, local  
WARNING Found local configuration errors, the extension has been automatically disabled:  
WARNING local/media\_dir must be set.  
WARNING Found spotify configuration errors, the extension has been automaticall y disabled:  
WARNING spotify/username must be set.  
WARNING spotify/client\_secret must be set.  
WARNING spotify/password must be set.  
WARNING spotify/client\_id must be set.  
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.  
INFO Starting Mopidy mixer: SoftwareMixer  
INFO Starting Mopidy audio  
INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend  
INFO Audio output set to “autoaudiosink”  
INFO Starting Mopidy core  
INFO Starting Mopidy frontends: IrisFrontend, MpdFrontend, HttpFrontend  
INFO Starting Iris 3.8.9  
ERROR Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 98] Address already in use  
ERROR Frontend (HttpFrontend) initialization error: HTTP server startup faile d: [Errno 98] Address already in use  
INFO Starting GLib mainloop

My config file. Off course i understand that i have to fill in my right credentials.  
Before starting Mopidy, you must add your Spotify Premium username and password to your Mopidy configuration file and also visit this extension against your Spotify account:

> **[mopidy/mopidy-spotify](https://github.com/mopidy/mopidy-spotify)**
>
> Mopidy extension for playing music from Spotify. Contribute to mopidy/mopidy-spotify development by creating an account on GitHub.

Example:  
[spotify]  
username = alice  
password = secret  
client\_id = … client\_id value you got from [mopidy.com](http://mopidy.com) …  
client\_secret = … client\_secret value you got from [mopidy.com](http://mopidy.com) …

# For further information about options in this file see:

# 

# 

# The initial commented out values reflect the defaults as of:

# Mopidy 2.1.0

# Mopidy-File 2.1.0

# Mopidy-HTTP 2.1.0

# Mopidy-Iris 3.8.9

# Mopidy-Local 2.1.0

# Mopidy-Local-Images 1.0.0

# Mopidy-M3U 2.1.0

# Mopidy-MPD 2.1.0

# Mopidy-SoftwareMixer 2.1.0

# Mopidy-Spotify 3.1.0

# Mopidy-Stream 2.1.0

# 

# 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  
#restore\_state = false

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

[audio]  
#mixer = software  
#mixer\_volume =  
#output = autoaudiosink  
#buffer\_time =

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

[local-images]  
#enabled = true  
#library = json  
#base\_uri = /images/  
#image\_dir =  
#album\_art\_files =

# \*.jpg

# \*.jpeg

# \*.png

[iris]  
#enabled = true  
#country = NZ  
#locale = en\_NZ  
#spotify\_authorization\_url =  
#lastfm\_authorization\_url =

[mpd]  
#enabled = true  
#hostname = 192.168.2.207  
#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 = 192.168.2.207  
#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 =  
#default\_encoding = latin-1  
#default\_extension = .m3u8  
#playlists\_dir =

[softwaremixer]  
#enabled = true

[file]  
#enabled = true  
#media\_dirs =

# $XDG\_MUSIC\_DIR|Music

# ~/|Home

#excluded\_file\_extensions =

# .jpg

# .jpeg

#show\_dotfiles = false  
#follow\_symlinks = false  
#metadata\_timeout = 1000

[local]  
#enabled = true  
#library = json  
#media\_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 = username  
#password = password  
#client\_id = serects  
#client\_secret = secrets  
#bitrate = 160h  
#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 =

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