mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
added image by name api methods
This commit is contained in:
@@ -76,6 +76,16 @@ namespace MediaBrowser.Api
|
||||
{
|
||||
return ResultFactory.GetCachedResult(RequestContext, cacheKey, lastDateModified, cacheDuration, factoryFn, contentType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To the static file result.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>System.Object.</returns>
|
||||
protected object ToStaticFileResult(string path)
|
||||
{
|
||||
return ResultFactory.GetStaticFileResult(RequestContext, path);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user