You are not logged in.
pid_file "/var/run/mpd/pid"Change the file name to /home/manning/.mpd/pidfile
And before you start mpd again make sure that the system daemon mpd is disabled:
sudo update-rc.d mpd disablebootinfoscript - emacs primer - I ♥ #!
Offline
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Failed to load database: Failed to open database file "/home/manning/.mpd/tag_cache": No such file or directoryAlright! that fixed my pid issues, now have to fix the listen issue and missing file.
Anymore sage advice?
@xaos52 Thanks!
Offline
Do you have music files in /home/manning/music?
Run
touch $HOME/.mpd/tag_cachePost output of
netstat -a | grep 6600Last edited by xaos52 (2012-10-27 16:37:13)
bootinfoscript - emacs primer - I ♥ #!
Offline
@xaos52 I do have music there.
tcp 0 0 127.0.0.1:6600 0.0.0.0:* LISTEN 6252/mpdI changed my address from any to 127.0.0.1, that seemed to get mpd started! Now on to learn how to actually use it! Thanks for the help, I'm loving the move from Ubuntu so far!
Offline
@Ivanovnegro
First things first. Great HowTo Ivan! Everything worked out beautiful except for one thing. I have to do a
touch ~/.mpd/tag_cacheby myself to make things working automagical
Maybe
touch ~/.mpd/{mpd.db,mpd.log,mpd.pid,mpdstate}should be
touch ~/.mpd/{mpd.db,mpd.log,mpd.pid,mpdstate,tag_cache}or have i missed something?
Anyway, as i have said above. Great GREAT HowTo. Thank you for that!
came for the distro, stayed for the community
streamripper :: smxi
Offline
^ Thanks for the tip, could be, strange, I think it worked here without your step. But I will take it into account to trouble shoot.
Offline
hey guys
i started using mpd last week and i really love it, somehow i got it synched with lastfm so its awesome. my only problem is i cant delete files from the disk. its important because i cant really reach my music files from thunar cuz the directory names are different and i have so much music. i copied this line to .ncmpcpp/config
allow_physical_file_deletion = "yes"but it still tells me that deleting files i disabled by default. can anybody help me with this?
Offline
What version of ncmpcpp do you use right now? Anyway, you can delete the directories manually, that is my default setting.
apt-cache policy ncmpcppLook here, they talked about it:
Part of it:
ATTENTION: Feature that allows you to physically remove directories from disk is BROKEN IN ALL VERSIONS < 0.5.4 and may, under some random circumstances, cause UNWANTED DELETION OF OTHER FILES. It needs to be manually enabled in configuration file, so if you don't use it, you're fine. Otherwise you should upgrade to 0.5.4 or higher version immediately.
Offline
thanks for the reply, but i have an older version, and i visited that page. btw i cant care about this because my whole system broke down haha.
Offline
How do I play am icecast stream with MPD?
I can find thousands of faq's on how to stream with MPD and Icecast but nothing on how to play an Icecast stream.
The Icecsat server is on my local network
I have tried
mpc add http://192.168.1.117:8000/bska0.m3u
Then mpc play but nothing happens
After mpc stop I get the message
ERROR: problems decoding "http://192.168.1.117:8000/bska0.m3u"
I can play this stream on plenty of other media players and you can play it here:
Offline
You can't.
MPD is audio server, and that meant it need to scan all the audio file before it could serve it. It can't do that with stream.
You must find client that work with both MPD and Icecast.
Debian Sid (Minted) x86_64/3.8-5, Conky 2.0_pre, Xorg 7.7/1.12.4, GNOME 3.4.2, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
Linux user No.: 483055 | Conky Pitstop
Offline
...or, accept that you might want to use a separate client for playing icecast/shoutcast streams. "Do one thing well" - the Linux way, innit? 
while ( ! ( succeed = try() ) );
We've earned a reputation as a nice, friendly community; please help us keep it that way.
Offline
or... make local icecast server, restream by it icecast stream from net and stream mpd to it... dunno if you can do that but that way you could just use icecast client to play all
Debian Sid (Minted) x86_64/3.8-5, Conky 2.0_pre, Xorg 7.7/1.12.4, GNOME 3.4.2, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
Linux user No.: 483055 | Conky Pitstop
Offline
You can play m3u's and radio stations, if that is what you want. Put it in:
~/.mpd/playlistsOffline
You can play m3u's and radio stations, if that is what you want. Put it in:
~/.mpd/playlists
Put what? The m3u?
I searched and I can not find the actual m3u anywhere in the Icecast2 directories or in /var/www that hosts the stream websit
find: `bska0.m3u': No such file or directory
find: `*.m3u': No such file or directory
Last edited by qwertinsky (2013-02-12 01:07:30)
Offline
What are decent alternatives that will play an Icecast stream?
I am looking for something console based and low power requirements as I want to run it on a raspberry pi
Offline
mplayer - 13MB static (dynamic: 28KB + libraries)
cvlc (console vlc) - static dunno, have only shared, 15KB + libraries
Last edited by dk75 (2013-02-12 09:48:38)
Debian Sid (Minted) x86_64/3.8-5, Conky 2.0_pre, Xorg 7.7/1.12.4, GNOME 3.4.2, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
Linux user No.: 483055 | Conky Pitstop
Offline
@qwertinsky: If you are not happy with the answers provided here then do not troll in my thread. Ever heard about Google?
Offline
@qwertinsky: If you are not happy with the answers provided here then do not troll in my thread. Ever heard about Google?
Asking you for further explanation of the answer you gave me is trolling your thread?
This is what is wrong with the Linux community as a whole.
Offline
^ I am sorry!
This is what made me crazy:
Put what? The m3u?
Had a bad day.
m3u's, that is the ending of the streams when you download them from the internet. You can put them into the directory of your mpd config in your home folder and they will be available to play from your clients. I use ncmpcpp.
But honestly I use just mplayer for playing radio streams.
I would suggest you make a new thread about your streaming wishes or search for another thread.
And again, I am sorry for being aggressive without real reason. If you look at the whole thread you will see I was very polite and helpful. 
Offline
Just started using mpd/ncmpcpp the last day or so in preference to moc (after skipping past this thread lots of times
) and it works really well.
Thought I'd add that it also works perfectly with jack. Just add
audio_output {
type "jack"
name "my jack device"
}into the outputs section of your mpd.conf to have it working. I've also uncommented the alsa and pulse outputs in that file as they can be enabled/disabled in ncmpcpp (handy for when I'm not using jack). Note, unless only one output is selected, all outputs work simultaneously.
Thanks for the write-up 
Offline
Hello,
I have a problem with the configuration of mpd, I usually listen music with a bluetooth adapter connected on my stereo (and it work well with Clementine), but I can't make mpd play music on it.
To make the bluetooth work I added this in /etc/asound.conf :
pcm.btheadset {
type plug
slave {
pcm {
type bluetooth
device 00:02:72:EA:71:B5
profile "auto"
}
}
hint {
show on
description "BT Headset"
}
}
ctl.btheadset {
type bluetooth
} Every think seems to be ok with alsa, aplay -L send me back :
btheadset
BT HeadsetAnd in my ~/.mpd/mpd.conf I tried to put lot of different thinks without success, like :
audio_output {
type "pulse"
name "btheadset"
device "btheadset"
format "44100:16:2"
}
Or
audio_output {
type "alsa"
name "btheadset"
device "btheadset"
format "44100:16:2"
}
And
audio_output {
type "alsa"
name "btheadset"
device "pcm.btheadset"
format "44100:16:2"
}
...So if anyone have the good audio_output configuration for me I will thank him a lot ^^
PS : sorry for my English but I'm French
Offline
Post uncut output of both command:
aplay -L
aplay -lDebian Sid (Minted) x86_64/3.8-5, Conky 2.0_pre, Xorg 7.7/1.12.4, GNOME 3.4.2, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
Linux user No.: 483055 | Conky Pitstop
Offline
┌────[seb@stien]────────────────────────────────────────────────────[15:03:34]────┐
└───> ~ $ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: ALC269 Analog [ALC269 Analog]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
carte 1: Generic [HD-Audio Generic], périphérique 3: HDMI 0 [HDMI 0]
Sous-périphériques: 1/1
Sous-périphérique #0: subdevice #0
┌────[seb@stien]────────────────────────────────────────────────────[15:05:00]────┐
└───> ~ $ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
Playback/recording through the PulseAudio sound server
btheadset
BT Headset
sysdefault:CARD=Intel
HDA Intel, ALC269 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC269 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio OutputLast edited by Nanoseb (2013-02-28 14:06:18)
Offline
Aplay sees "btheadset" PCM but it doesn't see Bluetooth hardware.
Either try to push some RAW audio trough "aplay" to headset for check if it really works:
aplay -D btheadset sound.rawor ditch ALSA and play trough PULSE, and change output in system sound preference to BT during playback.
Debian Sid (Minted) x86_64/3.8-5, Conky 2.0_pre, Xorg 7.7/1.12.4, GNOME 3.4.2, Intel X3100
Lenovo T61, HITACHI HTS722010K9SA00 100GB, ST9250827AS 250GB
Linux user No.: 483055 | Conky Pitstop
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.