SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#51 2012-02-12 16:49:43

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

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.

Offline

Help fund CrunchBang, donate to the project!

#52 2012-02-12 16:53:11

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

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. hmm 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)

Offline

#53 2012-02-12 17:15:46

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

^ 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.

Offline

#54 2012-02-12 18:44:44

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

Mmkay, it's almost completely working. It's not mixing audio, though. hmm I can't do anything with sound as well as have mpd playing music/started. hmm

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)

Offline

#55 2012-02-12 19:23:07

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

usermod -aG audio mpd

Last edited by ivanovnegro (2012-02-12 19:29:49)

Offline

#56 2012-02-12 19:42:30

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

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"
}

Offline

#57 2012-02-12 19:48:15

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

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.

Offline

#58 2012-02-12 19:52:34

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

Last edited by thevdude (2012-02-12 20:12:43)

Offline

#59 2012-02-12 20:02:18

Milozzy
#! Die Hard
Registered: 2011-02-22
Posts: 633
Website

Re: The ultimate MPD guide

Offline

#60 2012-02-12 20:26:22

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

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!

Offline

#61 2012-02-12 21:00:15

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

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.

Offline

#62 2012-02-12 21:05:49

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

^ Great!

Offline

#63 2012-02-26 20:47:27

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

Ok, I found the way to totally get rid of the Gnome keyring if you do not need it and you removed it but still see it with MPD or in ncmpcpp, remove the Gnome keyring folder from your home folder and it will stop to pop up, and I hope so forever. smile

Offline

#64 2012-02-28 16:27:17

thevdude
#! Junkie
From: Pittsburgh, PA
Registered: 2011-09-01
Posts: 469

Re: The ultimate MPD guide

I've still got one issue, it doesn't want to bind to port 6600.

listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)

Without mpd started, netstat | grep 6600 shows nothing, and if I start mpd I still get that error. hmm

Also, I don't see a gnome keyring folder in my home folder. hmm

Last edited by thevdude (2012-02-28 16:36:25)

Offline

#65 2012-02-28 21:45:47

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

Offline

#66 2012-02-29 11:23:03

Milozzy
#! Die Hard
Registered: 2011-02-22
Posts: 633
Website

Re: The ultimate MPD guide

It is ~/.gnome2/keyrings/ I guess

Last edited by Milozzy (2012-02-29 11:23:20)

Offline

#67 2012-02-29 12:18:58

Erinsfan
#! CrunchBanger
From: At a terminal
Registered: 2011-01-28
Posts: 148

Re: The ultimate MPD guide

I found that the bind issue was a permissions thing. The only solution I could find was to run mpd under my user.


Enjoying a good !#

Offline

#68 2012-03-03 15:02:17

m5
#! CrunchBanger
From: 200 years ago.
Registered: 2011-12-08
Posts: 221

Re: The ultimate MPD guide

Thanks for How-to.


Keep digging.
Linux beginner.

Offline

#69 2012-03-03 19:16:26

m5
#! CrunchBanger
From: 200 years ago.
Registered: 2011-12-08
Posts: 221

Re: The ultimate MPD guide

I have a problem,
when I play MPD,I cant use my sound in other programs and vice versa.
I am a beginner,I read the post above and commented out mixer_type software,but it didnt work,whats the problem?


Keep digging.
Linux beginner.

Offline

#70 2012-03-04 00:50:50

ivanovnegro
Ivan #000000
From: unstable madness
Registered: 2011-06-02
Posts: 5,432

Re: The ultimate MPD guide

Can you see error messages when starting MPD from terminal or the other apps you use? What apps are not producing sound? Is it also with VLC like with @thevdude?

Offline

#71 2012-03-04 17:39:07

m5
#! CrunchBanger
From: 200 years ago.
Registered: 2011-12-08
Posts: 221

Re: The ultimate MPD guide

While I use vlc or flash video in browser,when I click to play a file with MPD,it just doesnt play,
While I play with MPD,I start something in vlc this message apeears,

Potential ALSA version problem:
VLC failed to initialize your sound output device (if any).
Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue.

Last edited by m5 (2012-03-04 17:39:50)


Keep digging.
Linux beginner.

Offline

#72 2012-03-04 17:49:11

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: The ultimate MPD guide

^ isn't that just because the sound-device is busy? i mean, i cannot play two things at the same time with Alsa at any point. i have to close MOC to allow for sound in a Youtube video, and i have to close Firefox to have MOC play something (or even start).

btw, if anyone has a solution to that, great smile

Offline

#73 2012-03-04 19:30:58

m5
#! CrunchBanger
From: 200 years ago.
Registered: 2011-12-08
Posts: 221

Re: The ultimate MPD guide

Last edited by m5 (2012-03-04 19:40:24)


Keep digging.
Linux beginner.

Offline

#74 2012-03-04 19:41:20

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: The ultimate MPD guide

^ ok thanks. don't know why you only have that problem with MPD. hopefully one of our MPD-guruhs can help you out here smile

Offline

Be excellent to each other!

#75 2012-03-04 19:56:14

m5
#! CrunchBanger
From: 200 years ago.
Registered: 2011-12-08
Posts: 221

Re: The ultimate MPD guide

^ thanks man, smile


I commented out optional lines in audio_output in MPD configuration file,now it works.
thanks again to you all.

Last edited by m5 (2012-03-04 20:05:46)


Keep digging.
Linux beginner.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo