New: MediaCover api now includes several resized variants to save bandwidth for mobile apps.

banner-35.jpg (height)
banner-70.jpg
fanart-180.jpg (height)
fanart-360.jpg
poster-170.jpg (width)
poster-340.jpg
This commit is contained in:
Taloth Saldono
2015-01-22 23:12:35 +01:00
parent eb4bcf9331
commit 35ab3a28fd
15 changed files with 241 additions and 16 deletions
+6 -1
View File
@@ -421,7 +421,7 @@ namespace NzbDrone.Common.Disk
return driveInfo.VolumeLabel;
}
public FileStream StreamFile(string path)
public FileStream OpenReadStream(string path)
{
if (!FileExists(path))
{
@@ -431,6 +431,11 @@ namespace NzbDrone.Common.Disk
return new FileStream(path, FileMode.Open, FileAccess.Read);
}
public FileStream OpenWriteStream(string path)
{
return new FileStream(path, FileMode.Create);
}
public List<DriveInfo> GetDrives()
{
return DriveInfo.GetDrives()