* 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

@ -472,6 +472,8 @@ insert_file(char * name, const char * path, const char * parentID, int object)
if( is_image(name) )
{
if( is_album_art(name) )
return -1;
strcpy(base, IMAGE_DIR_ID);
strcpy(class, "item.imageItem.photo");
detailID = GetImageMetadata(path, name);