Iris Config Error

Hi

I have an error when running Mopidy with the Iris extension:

/usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
extension_class = entry_point.load(require=False)
INFO Starting Mopidy 2.2.3
INFO Loading config from builtin defaults
INFO Loading config from /root/.config/mopidy/mopidy.conf
INFO Loading config from command line options
INFO Enabled extensions: spotify, mpd, alsamixer, http, stream, m3u, softwaremixer, file, local-sqlite
INFO Disabled extensions: local-images, iris, local, ttsgpio
WARNING Found iris configuration errors, the extension has been automatically disabled:
WARNING iris/pusherport unknown config key.
WARNING Found local configuration errors, the extension has been automatically disabled:
WARNING local/media_dir must be set.
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO Starting Mopidy mixer: SoftwareMixer
INFO Mixer volume set to 35
INFO Starting Mopidy audio
INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, SpotifyBackend
INFO Audio output set to “autoaudiosink”
INFO Starting Mopidy core
INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend
INFO Logged in to Spotify in offline mode
INFO MPD server running at [::ffff:127.0.0.1]:6600
INFO Starting GLib mainloop
INFO HTTP server running at [::]:6680
INFO Logged in to Spotify in online mode

As you can see it flags a warning for iris/pusherport unknown config key. I’ve tried to resolve it but I am at a total loss.

My config file for Iris -
[iris]
enabled = true
pusherport = 6681
country = GB
locale = en_GB

Any advice?

I’d first off suggest not running Mopidy as root. As to your problem, Where did you get pusherport from? It’s not listed as a valid config option at https://github.com/jaedb/Iris/wiki/Getting-started#configuration

The install was from here - https://learn.pimoroni.com/tutorial/sandyj/streaming-spotify-to-your-pi

I spent ages trying to work out why I would set up the config in /etc/ and in /home, but nothing would change.

I only found the config file it looked for by running sudo mopidy as a last resort, hence getting the log as above.

I think I’ll start from scratch.

Whats the easiest way to remove all of the existing install and start again?

It is annoying when tutorials don’t refer back to the actual project docs and then don’t bother to update their instructions. It depends how exactly you installed but apt-get remove --purge mopidy and pip uninstall mopidy-iris should do it. Or you are probably fine to just delete the config files themselves: the ones in /etc/mopidy, /root/.config/mopidy and /home/pi/.config/mopidy.