Re: [Musicpd-dev-team] mpd changes - failing test suite

2009-10-18 Thread Max Kellermann
On 2009/10/16 19:55, Jerome Quelin jque...@gmail.com wrote:
 - i am using null output for those tests, for obvious reasons.
   however, setvol command doesn't work anymore with this output. failure
   message:
 
 ACK [...@0] {setvol} problems setting volume
 
   is it on purpose? i agree that setvol on a null output shouldn't do
   anything, but it seems weird to me that it's failing.

Without a mixer, you cannot set the volume.  If you want to set the
volume with the null plugin, you can configure a software mixer.

 - mpd --create-db used to just create the database and exit. now it
   creates the db and daemonizes mpd.

That's a documented change.  In git, we have removed that option completely.

 - for the tests, i'm shipping some ogg files (voice samples).
   i'm launching mpd with --create-db, then run an updatedb just to be
   sure. and then, issuing a stats command gives a db_playtime of 0
   (instead of 8 seconds, which is the total of used ogg files). just to
   be clear: db is created correctly, i can add the songs and play
   them. but even after having been played, and re-updated the db again,
   the db_playtime remains 0. the db itself doesn't have any 'Time:'
   lines associated to the files.

Known bug in MPD 0.15.3.  Upgrade to 0.15.4.  You wrote MPD 0.15,
are you sure you're using plain 0.15?

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


Re: [Musicpd-dev-team] mpd changes - failing test suite

2009-10-18 Thread Jerome Quelin
hi,

On 09/10/18 15:58 +0200, Max Kellermann wrote:
 On 2009/10/16 19:55, Jerome Quelin jque...@gmail.com wrote:
  - i am using null output for those tests, for obvious reasons.
however, setvol command doesn't work anymore with this output. failure
message:
  
  ACK [...@0] {setvol} problems setting volume
  
is it on purpose? i agree that setvol on a null output shouldn't do
anything, but it seems weird to me that it's failing.
 
 Without a mixer, you cannot set the volume.  If you want to set the
 volume with the null plugin, you can configure a software mixer.

within mpd, or externally?
anyway, currently i'm using alsa output.

 
  - mpd --create-db used to just create the database and exit. now it
creates the db and daemonizes mpd.
 
 That's a documented change.  In git, we have removed that option completely.

indeed. does that mean that future mpd (0.16?) will automatically create
the db if needed?

 
  - for the tests, i'm shipping some ogg files (voice samples).
i'm launching mpd with --create-db, then run an updatedb just to be
sure. and then, issuing a stats command gives a db_playtime of 0
(instead of 8 seconds, which is the total of used ogg files). just to
be clear: db is created correctly, i can add the songs and play
them. but even after having been played, and re-updated the db again,
the db_playtime remains 0. the db itself doesn't have any 'Time:'
lines associated to the files.
 
 Known bug in MPD 0.15.3.  Upgrade to 0.15.4.  You wrote MPD 0.15,
 are you sure you're using plain 0.15?

mpd 0.15.3

thanks for your answers,
jérôme 
-- 
jque...@gmail.com

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team


[Musicpd-dev-team] mpd changes - failing test suite

2009-10-16 Thread Jerome Quelin
hi,

i'm currently porting the extensive test suite of perl modules audio::mpd
and poe::component::client::mpd to match mpd 0.15

i found some differences with previous mpd versions:

- i am using null output for those tests, for obvious reasons.
  however, setvol command doesn't work anymore with this output. failure
  message:

ACK [...@0] {setvol} problems setting volume

  is it on purpose? i agree that setvol on a null output shouldn't do
  anything, but it seems weird to me that it's failing.

- mpd --create-db used to just create the database and exit. now it
  creates the db and daemonizes mpd.

- for the tests, i'm shipping some ogg files (voice samples).
  i'm launching mpd with --create-db, then run an updatedb just to be
  sure. and then, issuing a stats command gives a db_playtime of 0
  (instead of 8 seconds, which is the total of used ogg files). just to
  be clear: db is created correctly, i can add the songs and play
  them. but even after having been played, and re-updated the db again,
  the db_playtime remains 0. the db itself doesn't have any 'Time:'
  lines associated to the files.


any insights on this? are those changes expected and wanted? (i haven't
seen anything in the NEWS file) or are they bugs?

thanks,
jérôme 
-- 
jque...@gmail.com

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team