LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2012, 03:48 AM   #1
Lumify
Member
 
Registered: Jan 2012
Distribution: Debian Stable
Posts: 52

Rep: Reputation: Disabled
GMPC: cannot open Database


In GMPC's preferences, I'm connected to localhost port 6600 for MPD, and my music library is set to the correct location. When I go to the Databases tab on the left, it shows a folder labeled "/", probably meaning root, but I can't open that folder in GMPC. I have clicked the "update database" button. Any possible solutions?
 
Old 03-29-2012, 03:37 PM   #2
flai
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
I'm having the exact same problem. I just installed GMPC on Ubuntu 11.10, and am currently trying to fix that problem. First shot (editing /etc/mpd.conf) didn't work.
Any ideas?
 
Old 03-29-2012, 04:19 PM   #3
flai
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Ok, after having broken and somehow fixed mpd it worked. I guess this is what did the trick in the end:

1. close gmpc, then stop mpd: open a terminal and type

sudo /etc/init.d/mpd stop

2. Edit the file /etc/mpd.conf (you probably have to be root for that as well): change the variable music_directory to your desired directory

3. restart mpd: in the terminal, type

sudo /etc/init.d/mpd start

Open gmpc again. Does it work?

EDIT:
I had trouble using stop / start as described in 1. and 3. - could not create pid-file or something similar. Solution:
In terminal, type

killall mpd

Then, in /etc/mpd.conf, change the pid_file to: /home/<your username>/.mpd/pid
Create the directory .mpd (e.g. in terminal: mkdir /home/<your username>/.mpd)

Then start mpd as in step 3.

Last edited by flai; 03-29-2012 at 04:25 PM. Reason: Added the pid-file - issue
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Gnome Music Player Client (GMPC) + MPD - Just WOW LXer Syndicated Linux News 0 11-19-2009 05:40 PM
Postfix: fatal: open database alejandroye Linux - Server 15 01-16-2009 12:08 PM
Open Office Database issue ceantuco Linux - Newbie 5 10-28-2008 12:23 AM
apt -> E: could not open RPM database gottin Linux - Software 1 06-15-2004 02:53 PM
how to open Access database ? meshmesh Linux - Software 1 01-27-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration