You are not logged in.

#1 2009-03-17 01:04:48

dustinw
Member
Registered: 2009-03-16
Posts: 34

mpd/sonata issue

I followed the wiki but sonata does not play music at all. 
Is there a hidden step or am I just a little slow?

#Edit
I think I have all the codecs installed, amarok works fine.

Last edited by dustinw (2009-03-17 01:05:35)

Offline

#2 2009-03-17 01:15:08

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: mpd/sonata issue

Have you started the mpd daemon? You will have to define the location of your music in the .mpdconf in your home directory. Have you done that?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-17 03:14:57

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

Yeah i've done that, the music shows up in my library, but when I click on it to play it scrolls through much like winamp does when you try to get it to play the wrong file format.  I have tryed flac and mp3 neither work in sonata but both work with amarok.

Offline

#4 2009-03-17 03:16:39

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: mpd/sonata issue

Try starting sonata from the terminal and see what errors it gives, if any.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2009-03-17 03:48:02

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

/usr/lib/python2.6/site-packages/sonata/main.py:78: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import gtk, pango, threading, time, ui, img, tray, md5

eh?

Offline

#6 2009-03-17 03:49:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,392
Website

Re: mpd/sonata issue

That warning can safely be ignored.

Offline

#7 2009-03-17 04:37:39

area
Member
Registered: 2008-09-18
Posts: 43

Re: mpd/sonata issue

where is your music stored?

I had an issue earlier today becuase my music partition was owned by root. fix was as simple as umount and mount as my user.

Offline

#8 2009-03-17 05:10:14

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

on my external but I moved a cd onto ~/music and that did the same thing

Offline

#9 2009-03-17 05:17:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: mpd/sonata issue

dustinw wrote:

on my external but I moved a cd onto ~/music and that did the same thing

so when you moved it to ~/music, did you change the mpdconf file accordingly?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2009-03-17 05:48:17

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

~/music is the file in the mpdconf  I just drag and dropped a cd into the folder

Offline

#11 2009-03-17 05:55:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: mpd/sonata issue

Can you check the permissions on ~/music like area suggested? Post them here.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#12 2009-03-17 07:05:30

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

I am the owner with rw access

The group is root with rw access and I am a member of the root group

others also have rw access of the file

Offline

#13 2009-03-17 07:13:04

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: mpd/sonata issue

1. kill the mpd daemon
2. start mpd with "mpd --verbose --no-daemon --stdout" from a cli
3. play something in sonata
4. watch cli for error messages.
5. tell us smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#14 2009-03-17 07:31:27

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

client 1: process command "playid "1""
playlist: play 1:"We Were Dead Before The Ship Even Sank/01 - March Into The Sea.mp3"
client 1: command returned 0
playlist: queue song 2:"We Were Dead Before The Ship Even Sank/02 - Dashboard.mp3"
client 1: process command "status"
client 1: command returned 0
detected LAME version 3.97 ("LAME3.97 ")
LAME peak found: 0.000000
encoder delay is 576, encoder padding is 1500
client 1: process command "currentsong"
client 1: command returned 0
client 1: process command "search "album" "We Were Dead Before The Ship Even Sank""
client 1: command returned 0
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM dev=mixer
Error opening ALSA device "dev=mixer": No such file or directory
problems opening audio device while playing "We Were Dead Before The Ship Even Sank/01 - March Into The Sea.mp3"

Offline

#15 2009-03-17 08:01:06

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: mpd/sonata issue

Maybe you've forgot to configure the "device" section in mpd.conf?

You should specify something, for example like this:

############################# MIXER ############################
#
# MPD needs to know what mixer settings to change when you
# adjust the volume.  If you don't specify one here, MPD will
# pick one based on which ones it was compiled with support for.
#
# An example for controlling an ALSA mixer:
#
mixer_type                      "alsa"
mixer_device                    "default"
mixer_control                   "PCM"
#
# An example for controlling an OSS mixer:
#
#mixer_type                      "oss"
#mixer_device                    "/dev/mixer"
#mixer_control                   "PCM"
#
# If you want MPD to adjust the volume of audio sent to the
# audio outputs, you can tell it to use the software mixer:
#
#mixer_type                      "software"
#
################################################################

Or what now is applicable in your system. Looks like it plays but doesn't know what device to use.

Offline

#16 2009-03-17 08:13:24

dustinw
Member
Registered: 2009-03-16
Posts: 34

Re: mpd/sonata issue

awesome, it works now.  I had 'device  dev=mixer'  like in the wiki but changing it to 'default' made it work.

Offline

Board footer

Powered by FluxBB