Merge branch 'experimental' of git://git.musicpd.org/metyl/mpd

Conflicts:

	configure.ac
	src/ls.h
	src/output/shout_plugin.c
This commit is contained in:
Max Kellermann
2008-12-27 13:34:51 +01:00
25 changed files with 1639 additions and 31 deletions
+15
View File
@@ -83,3 +83,18 @@ hasMusicSuffix(const char *utf8file, unsigned int next)
return ret;
}
const struct archive_plugin *
get_archive_by_suffix(const char *utf8file)
{
const struct archive_plugin *ret = NULL;
const char *s = getSuffix(utf8file);
if (s) {
ret = archive_plugin_from_suffix(s);
} else {
g_debug("get_archive_by_suffix: The file: %s has no valid suffix\n",
utf8file);
}
return ret;
}