fix image methods
This commit is contained in:
parent
099b4d3e5b
commit
cdd5d2f1bc
|
@ -90,7 +90,7 @@ namespace MediaBrowser.Providers.GameGenres
|
||||||
|
|
||||||
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
||||||
{
|
{
|
||||||
var list = ImageUtils.GetAvailableImages(filename);
|
var list = ImageUtils.GetAvailableImages(filename, _fileSystem);
|
||||||
|
|
||||||
var match = ImageUtils.FindMatch(item, list);
|
var match = ImageUtils.FindMatch(item, list);
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ namespace MediaBrowser.Providers.Genres
|
||||||
|
|
||||||
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
||||||
{
|
{
|
||||||
var list = ImageUtils.GetAvailableImages(filename);
|
var list = ImageUtils.GetAvailableImages(filename, _fileSystem);
|
||||||
|
|
||||||
var match = ImageUtils.FindMatch(item, list);
|
var match = ImageUtils.FindMatch(item, list);
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ namespace MediaBrowser.Providers.Studios
|
||||||
|
|
||||||
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
private RemoteImageInfo GetImage(IHasImages item, string filename, ImageType type, string remoteFilename)
|
||||||
{
|
{
|
||||||
var list = ImageUtils.GetAvailableImages(filename);
|
var list = ImageUtils.GetAvailableImages(filename, _fileSystem);
|
||||||
|
|
||||||
var match = ImageUtils.FindMatch(item, list);
|
var match = ImageUtils.FindMatch(item, list);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user