Re: The ultimate MPD guide
@the dude: Looked again at your issue. Sorry, I overread, you also started MPD as your user but it gives you always the failure about the db_file.
CrunchBang Linux Forums » Tips, Tricks & Scripts » The ultimate MPD guide
@the dude: Looked again at your issue. Sorry, I overread, you also started MPD as your user but it gives you always the failure about the db_file.
The real issue with starting as user for me is the gnome-keyring thing, I think. I didn't change that line in the config, it was already uncommented on mine.
Will comment it out and check out your setup in the main post.
EDIT:
Okay, so there's still no tag_cache file, but it's updating the database somehow? tail -f ~/.mpd/mpd.log shows that it's busy.
EDIT: IDK, it's working fine, I'm playing a music with ncmpcpp now. Going to move all my network music to be local on this netbook, I have the disk space.
Last edited by thevdude (2012-02-12 17:16:40)
^ I have to say, this f**ing Gnome keyring is driving me crazy. I removed it totally but still sometimes pop ups a message saying it is missing. So, I would ignore this firstly, that does not interfere I think.
Ok, post back when MPD has written all the files into its db.
MPD is a very sensible creature, you do one thing wrong and it bites.
Mmkay, it's almost completely working. It's not mixing audio, though.
I can't do anything with sound as well as have mpd playing music/started. ![]()
Video loaded in VLC + audio running from chrome works great, until I start mpd, which won't play any audio.
Last edited by thevdude (2012-02-12 18:48:47)
Wait, could you be more precise. MPD is not playing audio or when MPD plays you have no audio with other apps?
But you did not copy blindly my MPD conf, because I use it with an EQ unless you did the same?
Do you use Alsa?
At least we are getting there. ![]()
Edit: From your posted conf I assume yes, you use Alsa.
Can you post any error message when you start MPD?
Also try this as root:
usermod -aG audio mpdThat will add MPD to the audio group.
Last edited by ivanovnegro (2012-02-12 19:29:49)
If I have something playing audio open (mocp, vlc, youtube, or all at the same time works fine) and mpd starts without issue, but if I play a song it doesn't play.
If I start mpd, open anything else and play audio it will work, unless mpd is playing a song, in which case it won't. The only relevant error I can make come up is with MoC, here it is:
┌─[ robert@s10 ]──[ ~ ]
└[#!]¬ mocp
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!my .asoundrc (although multiple programs worked without this before, I'm pretty sure):
pcm.dsp {
type plug
slave.pcm "dmix"
}Hm, ok, we could try one thing with MPD, maybe that is the problem, change this line in your MPD conf:
mixer_type "software"to this:
#mixer_type "software" And now I remember, MOC is making problems when MPD was first running.
No dice.
I'm not super worried about it at the moment, but it'll confuse me later on down the line I'm sure. Everything else is working fine, though. Will be googling.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568588
trying this now
commenting out the optionals worked, trying a couple of other things now too. ![]()
Now I broke something again, restarting it all over.
Last edited by thevdude (2012-02-12 20:12:43)
^ I never add the whole music to the playlist, 50.000 very different songs simply does not fit together.
If I want more music I add one directory, and that normally contains the similar music yet. I am more an album listener. And I do that all with ncmpcpp.
Understood.
Sometimes when I "listen in background" I like to add the whole collection and play it randomly...
Ok, for some new guys we maybe could have here that have more problems to configure stuff I also added how to install and set up mpdscribble in my how-to.
Have fun!
Mmkay, got it all fixed up. Problem was with my .asoundrc and VLC, apparently VLC wasn't using properly and was using hw:0,0 by default. Telling it to use ALSA and device: default fixed that.
Posts [ 51 to 62 of 62 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » The ultimate MPD guide
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.