Questions tagged [mpd]

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

54 questions
11
votes
3 answers

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 the actual file name (i.e. everything after the…
rargh
  • 163
  • 1
  • 1
  • 10
6
votes
2 answers

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 "~/.mpd/mpd.log" pid_file…
Renan
  • 16,976
  • 8
  • 69
  • 88
5
votes
1 answer

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
  • 53,527
  • 78
  • 236
  • 383
5
votes
1 answer

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 (BrokenPipeError in Python 3, socket.pipe in Python 2 - [Errno…
Marcel
  • 1,114
  • 1
  • 14
  • 28
4
votes
5 answers

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 search title "when I was your man" | mpc play
Jürgen Paul
  • 457
  • 2
  • 4
  • 8
4
votes
2 answers

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 streamed over mpd, too. Is there a way to route the pulse…
Profpatsch
  • 1,749
  • 4
  • 20
  • 23
4
votes
1 answer

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-8 database: reading DB disabling the last.fm…
andig
  • 235
  • 3
  • 7
4
votes
1 answer

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 "~/.config/mpd/database" input { plugin…
Tuyen Pham
  • 1,765
  • 1
  • 16
  • 46
4
votes
0 answers

Anyone know a dynamic lyric display application for mpd that works on Arch Linux?

I'm looking for a dynamic lyric display app, not like in sonata, static display in a tab, but dynamic ones, show corresponding lines as the music plays
daisy
  • 53,527
  • 78
  • 236
  • 383
3
votes
1 answer

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 read things about mplayer daemon or icecast protocol…
Elie Génard
  • 131
  • 5
3
votes
1 answer

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 to open default sndio device I assume the browsers…
ljs.dev
  • 2,127
  • 4
  • 19
  • 31
3
votes
1 answer

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 audio source right? That's exactly what I'm trying…
Doron Behar
  • 673
  • 8
  • 25
3
votes
1 answer

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 immediately on the HTTP stream. Also, the perceived…
Rocket Singh
  • 53
  • 1
  • 4
3
votes
1 answer

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 of my mpd.conf file, audio_output { type …
Jason B.
  • 133
  • 5
3
votes
1 answer

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: How can I tell mpd that there is an output which…
yglodt
  • 273
  • 5
  • 11
1
2 3 4