* Don't expose album art images in the content directory.

* Support album art name wildcards.
This commit is contained in:
Justin Maggard
2011-02-14 23:52:10 +00:00
parent 761f62ca26
commit 14a0d1ac98
8 changed files with 44 additions and 11 deletions

View File

@ -422,6 +422,12 @@ init(int argc, char * * argv)
case UPNPALBUMART_NAMES:
for( string = ary_options[i].value; (word = strtok(string, "/")); string = NULL ) {
struct album_art_name_s * this_name = calloc(1, sizeof(struct album_art_name_s));
int len = strlen(word);
if( word[len-1] == '*' )
{
word[len-1] = '\0';
this_name->wildcard = 1;
}
this_name->name = strdup(word);
if( !album_art_names )
{