jasperproject / jasper-client

Client code for Jasper voice computing platform
MIT License
4.52k stars 1.01k forks source link

MPD Server startup failed: [Errno 98] Adress already in use (Cant get mopidy to work correctly) #710

Open Nikozi93 opened 5 years ago

Nikozi93 commented 5 years ago

Hello guys. I have an issue I would like to understand how to fix. Every time I am trying to start mopidy from my terminal (I am using a Raspberry Pi 3 B+) I am having this error (I have PrtScn so you can see better).

mopidy mpd error

I have seen a lot of topics here and followed all the routes they suggest but I have no luck so far. My mopidy version is 2.2.1 by the way. I installed mopidy with the way i found here: http://jasperproject.github.io/documentation/configuration/#spotify-integration (apt-get install)

This is my “mopidy deps output”. mopidy deps output

Also, this is my “mopidy config” output.

/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) [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 =

[mopify] enabled = true debug = false

[mpd] enabled = true hostname = :: 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 = :: port = 6680 static_dir = zeroconf = Mopidy HTTP server on $hostname allowed_origins = csrf_protection = true

[stream] enabled = false ; Extension disabled by user config.

[m3u] enabled = true base_dir = $XDG_MUSIC_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 = sqlite 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 = 3o77nr6smj7j51w92jod8s8lg password = **** client_id = a2c14586-11f2-4812-9547-25009fbcbcc3 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 =

[local-sqlite] enabled = true directories = Albums local:directory?type=album Artists local:directory?type=artist Composers local:directory?type=artist&role=composer Genres local:directory?type=genre Performers local:directory?type=artist&role=performer Release Years local:directory?type=date&format=%25Y Tracks local:directory?type=track Last Week’s Updates local:directory?max-age=604800 Last Month’s Updates local:directory?max-age=2592000 timeout = 10 use_album_mbid_uri = true use_artist_mbid_uri = false use_artist_sortname = false

I really have to make this to work, so please help!

appeacock commented 4 years ago

The work on Jasper - specifically making it work as-is and refactoring to Python 3 is being conducted at https://github.com/aplawson/jasper-client -- including a tutorial on how to build it and/or deploy it with a custom Raspbian ISO image. //adam