Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/7d980fee4595a7b5eb2adab582694e7b00afb14b?style=split&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

add platform test to directory picker

pull/702/head
Luke Pulverenti 9 years ago
parent 2ab60ee250
commit 7d980fee45

@ -134,17 +134,20 @@ namespace MediaBrowser.Api
{ {
var result = new DefaultDirectoryBrowserInfo(); var result = new DefaultDirectoryBrowserInfo();
try if (Environment.OSVersion.Platform == PlatformID.Unix)
{ {
var qnap = "/share/CACHEDEV1_DATA"; try
if (Directory.Exists(qnap))
{ {
result.Path = qnap; var qnap = "/share/CACHEDEV1_DATA";
if (Directory.Exists(qnap))
{
result.Path = qnap;
}
}
catch
{
} }
}
catch
{
} }
return ToOptimizedResult(result); return ToOptimizedResult(result);

Loading…
Cancel
Save