Greetings.
I have installed mpd, ncmpcpp, mopidy and mopidy-youtube (yay).
I start mpd and mopidy with systemd (systemwide for mopidy and --user flag for mpd)
I could search for songs on youtube with no problem, however, when I rebooted search suddenly doesn’t work. It only says No results found
Here are my configs
~/.config/mpd/mpd.conf
bind_to_address “127.0.0.1”
pid_file “~/.config/mpd/pid”
db_file “~/.config/mpd/database”
state_file “~/.config/mpd/state”
playlist_directory “~/.config/mpd/playlists”
music_directory “/home/kim/Music”
audio_output {
type “pipewire”
name “PipeWire Sound Server”
~/.config/ncmpcpp/config
##############################################################
This is an example configuration file. Copy it to
$XDG_CONFIG_HOME/ncmpcpp/config or $HOME/.ncmpcpp/config
and set up your preferences.
##############################################################
directories
Directory for storing ncmpcpp related files. Changing it is useful if you
want to store everything somewhere else and provide command line setting for
alternative location to config file which defines that while launching
ncmpcpp.
#ncmpcpp_directory = ~/.config/ncmpcpp
Directory for storing downloaded lyrics. It defaults to ~/.lyrics since other
MPD clients (eg. ncmpc) also use that location.
#lyrics_directory = ~/.lyrics
connection settings
mpd_host = 127.0.0.1
mpd_port = 6600
#mpd_connection_timeout = 5
Needed for tag editor and file operations to work.
mpd_music_dir = ~/Music
~/.config/mopidy
[youtube]
enabled = true
#allow_cache =
#youtube_api_key =
#search_results = 15
#playlist_max_videos = 20
#api_enabled = false
#channel_id =
#musicapi_enabled = true
#musicapi_cookie =
#autoplay_enabled = false
#strict_autoplay = false
#max_autoplay_length = 600
#max_degrees_of_separation = 3
#youtube_dl_package = youtube_dl
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6680
#password =
#max_connections = 20
#connection_timeout = 60
#zeroconf = Mopidy MPD server on $hostname
#command_blacklist =
listall
listallinfo
#default_playlist_scheme = m3u
This is my result when I systemctl --user status mopidy
● mopidy.service - Mopidy music server
Loaded: loaded (/usr/lib/systemd/system/mopidy.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-04-25 13:24:43 AEST; 13min ago
Main PID: 390 (mopidy)
Tasks: 13 (limit: 4690)
Memory: 73.1M
CPU: 556ms
CGroup: /system.slice/mopidy.service
└─390 /usr/bin/python /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf
Apr 25 13:24:44 sway mopidy[390]: INFO 2022-04-25 13:24:44,666 [390:Audio-2 (_actor_loop)] mopidy.audio.actor
Apr 25 13:24:44 sway mopidy[390]: Audio output set to “autoaudiosink”
Apr 25 13:24:44 sway mopidy[390]: INFO 2022-04-25 13:24:44,669 [390:MainThread] mopidy.commands
Apr 25 13:24:44 sway mopidy[390]: Starting Mopidy frontends: YouTubeAutoplayer, YouTubeCoreListener, MpdFrontend, HttpFrontend
Apr 25 13:24:44 sway mopidy[390]: ERROR 2022-04-25 13:24:44,672 [390:MainThread] mopidy.commands
Apr 25 13:24:44 sway mopidy[390]: Frontend (MpdFrontend) initialization error: MPD server startup failed: [Errno 98] Address already in use
Apr 25 13:24:44 sway mopidy[390]: INFO 2022-04-25 13:24:44,672 [390:HttpFrontend-11 (_actor_loop)] mopidy.http.actor
Apr 25 13:24:44 sway mopidy[390]: HTTP server running at [::ffff:127.0.0.1]:6680
Apr 25 13:24:44 sway mopidy[390]: INFO 2022-04-25 13:24:44,672 [390:MainThread] mopidy.commands
Apr 25 13:24:44 sway mopidy[390]: Starting GLib mainloop
It seems there is something wrong with MPD startup but I’m too much of a noob to understand what’s going on.
lsof -i :6600
returns only one job
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mpd 1243 kim 9u IPv4 19257 0t0 TCP localhost:mshvlm (LISTEN)
My apologies for very messy presentation. I’m not so familiar with reporting this kind of stuffs.
Any help would be very much appreciated.