mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-20 22:14:34 -04:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user