DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th May 2008
Magnetar Magnetar is offline
New User
 
Join Date: May 2008
Posts: 3
Thanked 0 Times in 0 Posts
Question Sonata/MPD problems

I've installed the Sonata music client and am running into some problems. When I first installed it, I thought it would behave like any other media player and simply add files once I specified what directory my music is in (in this case its /media/Media/Music on another hard drive). When I found out this wasn't the case and that I would have to configure MPD manually, I googled and came across this site:

http://mpd.wikia.com/wiki/Install#Installing_with_Ports

Only thing I did different is I used PortManager to install instead of the standard "make install clean" command as it handles installing/upgrading all the dependencies (not to mention it shows you the percentage done). For the initial configuration I made all the files necessary (database, log, and error files) in my home directory and noted as such in the system wide mpd.conf file.

I ran this command:

Code:
/usr/local/bin/mpd --create-db /usr/local/etc/mpd.conf
and a bunch of text scrolled by that looked as if MPD was cataloging all of my music, but when I opened up Sonata there was nothing there and as such I am very confused. I really don't want to install any other media player as I'm afraid it will pull down a bunch of Gnome/KDE dependencies which would defeat the purpose of using XFCE in the first place. I'm pretty sure vermanden uses Sonata (or at least he was on one of the screenshots he posted on BSDforums) so I'm hoping he will have something to say.

Last edited by Magnetar; 9th May 2008 at 08:10 PM.
Reply With Quote
  #2   (View Single Post)  
Old 9th May 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 376
Thanked 13 Times in 13 Posts
Default

Did you put this in your /etc/rc.conf

Code:
 musicpd_enable="YES"
This will start it on reboot.

This part is from memory...

I believe there should be a script /usr/local/etc/rc.d/mpd which should allow the deamon to start by issuing the command:

Code:
 /usr/local/etc/rc.d/mpd start
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #3   (View Single Post)  
Old 9th May 2008
Magnetar Magnetar is offline
New User
 
Join Date: May 2008
Posts: 3
Thanked 0 Times in 0 Posts
Default

No, I did not. I'll try that when I get back from work. Thanks!
Reply With Quote
  #4   (View Single Post)  
Old 9th May 2008
Magnetar Magnetar is offline
New User
 
Join Date: May 2008
Posts: 3
Thanked 0 Times in 0 Posts
Default

It works!! Thanks so much!

The only thing that didn't work that I had to change was the command. It was "musicpd" instead of "mpd"; must have been changed in the new release.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick