|
|
@ -172,8 +172,8 @@ namespace MediaBrowser.Providers.Studios
|
|
|
|
|
|
|
|
|
|
|
|
public IEnumerable<string> GetAvailableImages(string file)
|
|
|
|
public IEnumerable<string> GetAvailableImages(string file)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
using (var fileStream = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read));
|
|
|
|
using var fileStream = new FileStream(file, FileMode.Open, FileAccess.Read, FileShare.Read);
|
|
|
|
using (var reader = new StreamReader(fileStream));
|
|
|
|
using var reader = new StreamReader(fileStream);
|
|
|
|
var lines = new List<string>();
|
|
|
|
var lines = new List<string>();
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var line in reader.ReadAllLines())
|
|
|
|
foreach (var line in reader.ReadAllLines())
|
|
|
@ -184,11 +184,6 @@ namespace MediaBrowser.Providers.Studios
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(text))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
lines.Add(text);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return lines;
|
|
|
|
return lines;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|