Questions tagged [mpd]

An audio player which runs as a daemon and can be controlled by clients locally or remotely.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

ffmpeg dash playback stream ends too early

I am trying to play back a dash manifest using ffmpeg but I keep running into the issue of ffmpeg ending with the error [http @ 0x671e580] Stream ends prematurely at 2250, should be ...
Bluchip's user avatar
0 votes
1 answer
547 views

Streaming audio files over HTTP with Media Player Daemon fails - 'Not found'

I'm trying to set up a simple MPD instance to stream audio files over HTTP. What I'd like to be able to do is put in a URL in my browser, which will stream the audio file - as simple as possible. I've ...
takahe's user avatar
  • 1
0 votes
1 answer
1k views

Can't find where the mpd service is started

I installed mpd (Music Player Daemon) a long time ago on my systemd Arch Linux (I don't remember the installation/setup details). The mpd server is started during boot, but I can't find where/how it ...
yolenoyer's user avatar
  • 499
1 vote
1 answer
2k views

Mopidy with pipewire-pulse

I run Mopidy as a service for my mpd because of the nice Spotify integration. I've followed the documentation's instructions to use it with pulseaudio by setting load-module module-native-protocol-tcp ...
SandWood Jones's user avatar
0 votes
1 answer
2k views

How to use mopidy-youtube?

I am using Arch bspwm on my laptop. I installed mpd, ncmpcpp and mopidy (with mopidy-yt extension) and enabled the required stuff for mopidy-youtube. How do I use it? I am new to all this and hope you ...
Kailash K S's user avatar
0 votes
1 answer
217 views

MPD ignoring music_directory specification in config

I have been struggling with MPD for several hours now. I have referenced nearly every post that has been made on the issue of MPD failing to detect the music directory properly and have made no ...
AnK's user avatar
  • 1
4 votes
1 answer
4k views

mpc: access denied when adding mp3 file in a folder under music_directory

mpc rescan mpc update give same result. mpd.conf, mpd service running under user. music_directory "~/.cache/music" playlist_directory "~/.config/mpd/playlists" db_file "~/....
Tuyen Pham's user avatar
  • 1,805
2 votes
0 answers
560 views

mpd stopped working under systemd, works when run on the command line

Yesterday my mpd stopped working. It has worked for several months until now, but when choosing music in ncmpcpp no sound would be output. Today I tried stopping mpd: $ sudo systemctl stop mpd $ ...
Dan Gravell's user avatar
0 votes
1 answer
4k views

mpd with bluetooth speaker has no sound

My environment has two audio output: HDMI and Bluetooth speaker. Usually both of them work correctly. For example, #this plays sound via bluetooth speaker $ aplay -D default jingle.wav #this plays ...
ynn's user avatar
  • 870
3 votes
1 answer
956 views

How to see what is using sndiod / audio devices

When running mpc play, after it previously running fine and then opening some browsers, which likely try to play sounds, I receive the following error: Failed to open "sndio output" [sndio]; Failed ...
ljs.dev's user avatar
  • 2,137
0 votes
1 answer
410 views

MPD not detecting ladspa_plugin

I have MPD and a DSP module running in rpi debian jessie The DSP module helps to add system wide audio effects. Since the MPD creates its own user, mpd it is not identifying all the config which ...
arjun's user avatar
  • 101
1 vote
2 answers
10k views

Socket already in use, but is not listed (mpd)?

Running $ mpd I am prompted with socket: Failed to bind to '127.0.0.1:6600': Address already in use But if I run: $ sudo service mpd start and check its status, I get systemd[1]: Started ...
LeastSquaresWonderer's user avatar
1 vote
1 answer
1k views

mpd: how to display the total playlist duration

I want to display the total time of the current MPD playlist in vimus, or if that's not possible, at least on the command-line (so I can display it in i3bar). How do I do that?
Ted's user avatar
  • 313
0 votes
1 answer
842 views

how to route 2 instances of mpd in 2 separate pairs(stereo) of output (playback) ports in pulse audio

I want basically to output one instance of mpd (a stereo signal) to line out (front) , and another instance of mpd to line out (rear). It appears that no pulse audio tutorial deals with this case (...
nass's user avatar
  • 1,458
1 vote
1 answer
721 views

mpd cannot find music files on Ubuntu 16.04

I have some music files in ~/Music: sunqingyao@sunqingyao-MacBookAir:~/.ncmpcpp$ ls ~/Music Bastion Original Soundtrack This War of Mine OST Beholder OST Titan Souls Special ...
nalzok's user avatar
  • 369
1 vote
1 answer
860 views

Play and control multiple audio streams

I'm currently looking for some solution or advice. I need to play and control (yep, this is very important for me) many streams (probably from one source). For example.. my system plays some relax ...
user922871's user avatar
0 votes
1 answer
293 views

ALBUMARTIST tag is not known for mp4

In ncmpcpp (an itunes-like ncurses client for mpd) I sort my music files by ALBUMARTIST tag. In my collection I have mp4 files, then mp4 doesn’t support ALBUMARTIST tag and all mp4 goe to “empty” ...
fauve's user avatar
  • 1,238
1 vote
1 answer
3k views

ncmpcpp freezes at 2 Filesystem browser, 5 Playlist editor and 7 Output selector

I'm using Arch Linux, and I was able to config ncmpcpp to work about three months ago. However today when I open it and press 2 for the Filesystem Browser it freezes while the CPU seems to be working ...
user68297's user avatar
0 votes
1 answer
2k views

mpd httpd not responding to tcp port

I've got a home server with music files stored locally on said server. I've got MPD & ncmpcpp installed on this home server. I'm trying to prototype this so I can go the extra trivial step of ...
testname123's user avatar
1 vote
0 answers
1k views

MPD MPC error, timeout after stopping, clearing playlist, load and play again

I'm getting crazy with MPD/MPC. I'm trying a basic use, playing a web playlist. My problem is when I try to stop it and then start playing again. LOADING: pi@raspberrypi:~ $ sudo mpd pi@raspberrypi:~...
Bauz's user avatar
  • 11
3 votes
1 answer
5k views

PulseAudio and MPD

Problems when using mpd with pulse Pulseaudio was created in order to enable using more than 1 audio source for one sink (correct?). If so, it should be possible to use one sink for mpd and another ...
Doron Behar's user avatar
3 votes
1 answer
2k views

Music Player Daemon MPD - Lagging HTTP stream

HTTP stream from my MPD lags, i.e. audio from Pulse and HTTP output are not in sync, with HTTP output lagging Pulse. This also means that starting/pausing/stopping music from MPD is not reflected ...
Rocket Singh's user avatar
0 votes
1 answer
380 views

ncmpcpp is damaged after experienced a crash

My problem appeared with ncmpcpp the console music player. I've used ncmpcpp to open a .pls file from the Browser window and it crashed perhaps due to encoding problems. Since then, Every time I ...
Doron Behar's user avatar
2 votes
1 answer
3k views

Unable to disable daemon using Systemd

I've tried disabling MPD (Music Player Daemon) using Systemd: sudo systemctl disable mpd sudo systemctl status mpd mpd.service - Music Player Daemon Loaded: loaded (/lib/systemd/system/mpd.service; ...
Rocket Singh's user avatar
0 votes
1 answer
189 views

Delete file returned by "mpc search" with single command

using the mpc search command I can find a the filename of a song like so: mpc search title 'Two Weeks' The output would look like this: Grizzly Bear - Two Weeks.mp3 Since I also know the location ...
Ederbit's user avatar
  • 103
2 votes
1 answer
2k views

After login Ncmpcpp shows empty library, have to restart mpd service manually

A year ago I found this great combination between ncmpcpp and mpd. I set my library with mpd and the ncmpcpp player. I am however facing an issue that is constantly reoccurring - every time I logout ...
rbaleksandar's user avatar
5 votes
1 answer
2k views

How to provoke a broken pipe

I try to debug a python script that interfaces MPD using python-mpd2. When the script tries to perform an action after being idle for a couple of hours, it terminates with an exception (...
Marcel's user avatar
  • 1,124
1 vote
0 answers
74 views

Can MPD see a multiple-track mkv parts as individual song?

I use MPD and I control it with ncmpcpp ncurses client. ncmpcpp is “itunes-like”, it mean that it have a tree-column presentation Artist—Album—Song. So, for operas (for example The Magic Flute of ...
fauve's user avatar
  • 1,238
3 votes
1 answer
2k views

MPD and Chrome can't both play audio at the same time

I use MPD to stream music, but noticed that I often could not get any sound. I finally figured out that if I quit the Chrome web browser, then playback would continue. This is the relevant section ...
Jason B.'s user avatar
  • 133
0 votes
1 answer
1k views

How to display unicode characters in ncmpcpp

I am using Arch Linux and have UTF-8 encoding enabled. But how can I display a unicode character in ncmpcpp via the config file of ncmpcpp? I already added the line filesystem_charset "UTF-8" to /etc/...
kevin's user avatar
  • 113
2 votes
1 answer
2k views

pulse_output failed to play: suspended

I have mpd running as a system service and as user mpd. Since mpd is a system service and pulse audio is session-based, I have to stream music from mpd to the currently active pulse session daemon. ...
ManuelSchneid3r's user avatar
2 votes
2 answers
2k views

Can I tell mpd to add the currently playing song to a specific playlist?

I used to do this with spotify. I like to have topic or mood specific playlists, such as "gym" or "studying". So when listening to random music, and finding a song that I think would fit into one of ...
mkaito's user avatar
  • 626
1 vote
0 answers
866 views

'nc' using ~100% CPU when transferring a FIFO file

On the server which is always connected I’m using this in a crontab: @reboot nc -k -l 1337 < /tmp/fifo.fifo On the client which is not always on the network or switched on I’m using this command: ...
fooness's user avatar
  • 21
0 votes
2 answers
589 views

Connect to mpd over Openvpn (without changing internet routing)

I would like to be able to connect to my home network and access my music there via mpd. I have a VPN network setup at home, so I can securely connect to machines in my home network from outside with ...
emacsomancer's user avatar
2 votes
1 answer
13k views

mpd fails to open ALSA device where aplay succeeds

I am trying to set up an Raspberry Pi / Raspbian wheezy audio player using the onboard sound hardware via ALSA LADSPA plugins to stereo downmix and compress the audio. aplay, sox, mpg123, moc (cd ~/....
none's user avatar
  • 61
1 vote
0 answers
2k views

Stop Kodi from starting its Pulseaudio instance

I have a computer (Intel NUC) wired to my hifi (jack) and my TV (HDMI). I have multiple softwares running on it: MPD and Kodi. I need to use Pulseaudio, because I sometime stream some audio from my ...
Marc Plano-Lesay's user avatar
1 vote
1 answer
172 views

Restrict MPD clients

Is there a way to restict MPD clients to limited actions such as only adding songs to the playlist? Background: I want to use MPD as a "jukebox" for a party, but guests should be prevented from ...
strudelkopf's user avatar
1 vote
1 answer
5k views

How to get mpd to recognize music library?

I have arch running on my desktop and I'm trying to play music with mpd using ncmpcpp. They are both up and running, but the problem is when I open ncmpcpp it doesn't show my music. I copied the music ...
Cam Jones's user avatar
  • 174
11 votes
3 answers
15k views

Get the part of a line before the last slash

I'm trying to write a conky script that shows my MPD album art, a 'folder.jpg' in the album folder. My current plan is to use mpc -f %file%, which prints out the file name and path, and then cut out ...
rargh's user avatar
  • 163
3 votes
1 answer
4k views

mpd to remote dlna

I currently use an mpd with 4 configured outputs, wired to speakers in the ceilings as home-made "multiroom" audio system. I would like to add wireless speakers, e.g. one like this. The question is: ...
yglodt's user avatar
  • 283
2 votes
1 answer
13k views

Failed to bind to '127.0.0.1:6600': Address already in use

I'm using ubuntu 12.10 for my MPI(message passing interface) configuration I have installed mpd after installation I have start mpd, it is started normally no error message display but when I'm trying ...
dora sa's user avatar
  • 21
2 votes
1 answer
3k views

Get music from subsonic to run in headless MPD

I share a subsonic server with several colleagues, together we have around 22k songs up there. Now I want to set up a MPD on something like a raspberry pi to listen to the music from subsonic. I want ...
Joshua's user avatar
  • 121
2 votes
2 answers
911 views

Installing mpd 0.17 or 0.16 on debian squeeze

How could I install mpd 0.17 or even 0.16 on debian squeeze? It's been suggested to me that I should use backports, but I did not quite understand what I should do in case of unmet dependencies. For ...
svart's user avatar
  • 55
2 votes
1 answer
2k views

mpd/mpc and NTFS mount

My music directory is kept on an NTFS mount as it was the simplest way to have it on both window and *nix machines. I am trying to get mpd/mpc to actually read the directory and getting no where. /...
Sardathrion - against SE abuse's user avatar
4 votes
5 answers
10k views

How to play the result of "mpc search"?

Example: $ mpc search title "when I was your man" Bruno Mars/Unorthodox Jukebox/06 Bruno Mars - When I Was Your Man.mp3 How do I play the song? I've tried piping it to mpc play but no luck. $ mpc ...
Jürgen Paul's user avatar
3 votes
1 answer
1k views

Streaming music to a raspberry pi

I have a laptop and a raspberry pi connected to a soundsystem via the jack output. I'd like to have the output of the soundcard of my laptop redirected to the raspberry through my local network. I ...
Elie Génard's user avatar
4 votes
2 answers
7k views

Stream system audio through mpd

I use mpd to stream music to my phone (connected to Hi-Fi) via http. Yet, this only works for songs in my mpd database. I oftentimes want to play stuff in my browser and would like that to be ...
Profpatsch's user avatar
  • 1,799
4 votes
1 answer
9k views

How to fix mpc timeout error

I'm using mpc/mpd on Raspbian (debian). Running MPD it starts: sudo mpd --no-daemon --stdout --verbose /etc/mpd.conf config: loading file /etc/mpd.conf path: path_set_fs_charset: fs charset is: UTF-...
andig's user avatar
  • 235
6 votes
2 answers
13k views

mpd: no audio output with PulseAudio, no mixing with ALSA

I am trying to use mpd with PulseAudio output. Thus I wrote the following in /etc/mpd.conf: music_directory "/mnt/dados/Musicas" playlist_directory "~/.mpd/playlists" db_file "~/.mpd/mpd.db" log_file ...
Renan's user avatar
  • 17.2k
5 votes
2 answers
1k views

ncmpcpp character problem

This was really wired! All = became q on my xfce4-terminal app, what's wrong with it? Any ideas? %> set | grep LANG LANG=en_US.utf8 LANGUAGE=en_US.utf8
daisy's user avatar
  • 54.6k