add basic ability to upload images for items

This commit is contained in:
Luke Pulverenti
2013-05-04 17:20:27 -04:00
parent 055a6eb4cc
commit 00222c8493
6 changed files with 111 additions and 2 deletions

View File

@@ -197,7 +197,7 @@ namespace MediaBrowser.Controller.Providers
item.SetImage(ImageType.Thumb, image.FullName);
}
// Thumbnail Image
// Box Image
image = GetImage(item, "box");
if (image != null)
@@ -205,6 +205,14 @@ namespace MediaBrowser.Controller.Providers
item.SetImage(ImageType.Box, image.FullName);
}
// BoxRear Image
image = GetImage(item, "boxrear");
if (image != null)
{
item.SetImage(ImageType.BoxRear, image.FullName);
}
// Thumbnail Image
image = GetImage(item, "menu");