Merged release 0.15.3 from branch 'v0.15.x'

Conflicts:

	NEWS
	configure.ac
This commit is contained in:
Max Kellermann 2009-08-30 09:42:12 +02:00
commit f2ff2409ad
5 changed files with 30 additions and 2 deletions

8
NEWS
View File

@ -32,6 +32,14 @@ ver 0.16 (20??/??/??)
* obey $(sysconfdir) for default mpd.conf location
ver 0.15.3 (2009/08/29)
* decoders:
- vorbis: faster tag scanning with ov_test_callback()
* output:
- fix stuttering due to uninitialized variable
* update: don't re-read unchanged container files
ver 0.15.2 (2009/08/15)
* tags:
- ape: check the tag size (fixes integer underflow)

View File

@ -279,6 +279,24 @@
</returnvalue>
</para>
</listitem>
<listitem>
<para>
<varname>nextsong</varname>:
<footnoteref linkend="since_0_15"/>
<returnvalue> playlist song number of the next
song to be played
</returnvalue>
</para>
</listitem>
<listitem>
<para>
<varname>nextsongid</varname>:
<footnoteref linkend="since_0_15"/>
<returnvalue>playlist songid of the next song
to be played
</returnvalue>
</para>
</listitem>
<listitem>
<para>
<varname>time</varname>:

View File

@ -382,7 +382,7 @@ vorbis_tag_dup(const char *file)
return NULL;
}
if (ov_open(fp, &vf, NULL, 0) < 0) {
if (ov_test_callbacks(fp, &vf, NULL, 0, OV_CALLBACKS_STREAMONLY) < 0) {
fclose(fp);
return NULL;
}

View File

@ -178,6 +178,7 @@ audio_output_init(struct audio_output *ao, const struct config_param *param,
ao->plugin = plugin;
ao->enabled = config_get_block_bool(param, "enabled", true);
ao->open = false;
ao->pause = false;
ao->fail_timer = NULL;
/* set up the filter chain */

View File

@ -502,7 +502,8 @@ update_regular_file(struct directory *directory,
{
struct song* song = songvec_find(&directory->songs, name);
if (plugin->container_scan != NULL)
if (!(song != NULL && st->st_mtime == song->mtime) &&
plugin->container_scan != NULL)
{
if (update_container_file(directory, name, st, plugin))
{