Merge pull request #1977 from MediaBrowser/dev
add platform test to directory picker
This commit is contained in:
commit
7d5b0123b9
|
@ -134,6 +134,8 @@ namespace MediaBrowser.Api
|
|||
{
|
||||
var result = new DefaultDirectoryBrowserInfo();
|
||||
|
||||
if (Environment.OSVersion.Platform == PlatformID.Unix)
|
||||
{
|
||||
try
|
||||
{
|
||||
var qnap = "/share/CACHEDEV1_DATA";
|
||||
|
@ -146,6 +148,7 @@ namespace MediaBrowser.Api
|
|||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return ToOptimizedResult(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user