From owner-freebsd-questions@FreeBSD.ORG Sat Dec 28 13:45:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55A1BF42 for ; Sat, 28 Dec 2013 13:45:58 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AE3B1E47 for ; Sat, 28 Dec 2013 13:45:58 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id fa1so10228803pad.10 for ; Sat, 28 Dec 2013 05:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eJmhL9DM75RFf2KdaWVK6kMmX52ihXM9ELRBkrhoB1o=; b=r3KatLxd/oGNJkaBUK15UWCUnnPMK8co3UK5tMJTb4EJyaVMcE/mMupRK/XIol/u72 jsHmsYTNOQ5sgLZWfgd9RXksTu+w7EMjGy8eDZEnpiaa9UXAN6pubrvu2k/5TopR1qbn 8k3CvXZEM/rHZdGR8RKjiely8PStt1zYiPTJvXg4url8EMnfzEvyqXFWNQTV4EYBmq3O So854z+VdLForOl1+XUFCzNWj3dUGK/v5AzGSncmRTXbOp5jZUiEIDV3lHPKGJEbUfLy RZfBTDNg1w09hobBYKLf+VzwJTnuiaHw4IEOttIZ0wMpizUYh/o8guxPDGuuZveuJAtK MS9g== MIME-Version: 1.0 X-Received: by 10.66.149.231 with SMTP id ud7mr57875302pab.8.1388238356969; Sat, 28 Dec 2013 05:45:56 -0800 (PST) Received: by 10.70.86.69 with HTTP; Sat, 28 Dec 2013 05:45:56 -0800 (PST) In-Reply-To: <52BEC6B4.4050100@gmail.com> References: <52BE9F6F.5020603@gmail.com> <52BEC6B4.4050100@gmail.com> Date: Sat, 28 Dec 2013 14:45:56 +0100 Message-ID: Subject: Re: musicpd doesn't play musics From: Zsolt Udvari To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 13:45:58 -0000 musicpd -V: Music Player Daemon 0.18.5 Copyright (C) 2003-2007 Warren Dukes Copyright (C) 2008-2013 Max Kellermann This is free software; see the source for copying conditions. There is NO warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Decoders plugins: [mad] mp3 mp2 [dsdiff] dff [dsf] dsf [pcm] Output plugins: null fifo oss httpd recorder Encoder plugins: null lame wave Archive plugins: [bz2] bz2 Input plugins: file archive curl Playlist plugins: extm3u m3u xspf pls asx rss soundcloud cue cue Protocols: file:// http:// https:// It seems it's ok (for me). My music files only mp3. Or is it any fault? Logs after "mpc play": Dec 28 14:43:18 [mpd] client: [7] opened from 127.0.0.1:55594 Dec 28 14:43:18 [mpd] client: [7] process command "play" Dec 28 14:43:18 [mpd] client: [7] command returned 0 Dec 28 14:43:18 [mpd] client: [7] process command list Dec 28 14:43:18 [mpd] client: process command "status" Dec 28 14:43:18 [mpd] client: command returned 0 Dec 28 14:43:18 [mpd] client: process command "currentsong" Dec 28 14:43:18 [mpd] client: command returned 0 Dec 28 14:43:18 [mpd] client: [7] process command list returned 0 Dec 28 14:43:18 [mpd] client: [7] closed 2013/12/28 David Demelier : > On 28/12/2013 11:54, Zsolt Udvari wrote: >> Now I have six dsps: >> /dev/dsp0.0 /dev/dsp0.1 /dev/dsp0.2 /dev/dsp0.3 /dev/dsp0.4 /dev/dsp0.5 >> >> 2013/12/28 Zsolt Udvari : >>> Thanks for your answer! >>> >>> 2013/12/28 David Demelier : >>>> Try to remove the device from audio_output. I personally have : >>> First I've tried with the default musicpd.conf, without oss/device. >>> Now I've tried again but it doesn't work :( >>> Vlc has audio output, and I can hear youtube videos, etc. And "cat >>> anyfile > /dev/dsp" produces some "melody". >>> I think the problem is in musicpd (because other programs has voice). >>> >>> But I noticed a strange thing: I've /dev/dsp0.0, sometimes I've got >>> /dev/dsp0.1 too, and now only /dev/dsp0.1 (without /dev/dsp0.0). Is it >>> normal? >>> >>>> >>>> audio_output { >>>> type "oss" >>>> name "My OSS Device" >>>> mixer_device "/dev/mixer" >>>> mixer_control "vol" >>>> } >>>> >>>> And it works. Do you have any output at all? mplayer, vlc, or so? >>>> >>>> Regards >>>> > > Show your musicpd options (musicpd -V) and take a look at your logs. I > remember once that my files were in a format not compiled in but it was > shown in the mpc list. > > Regards, > David Demelier