mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-31 01:35:50 +02:00
stub out web client media controller
This commit is contained in:
parent
ca9a0edd17
commit
0c32267717
|
@ -349,13 +349,13 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Logger.Debug("Watcher sees change of type " + e.ChangeType + " to " + e.FullPath);
|
Logger.Debug("Changed detected of type " + e.ChangeType + " to " + e.FullPath);
|
||||||
|
|
||||||
ReportFileSystemChanged(e.FullPath);
|
ReportFileSystemChanged(e.FullPath);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Logger.ErrorException("Exception in watcher changed. Path: {0}", ex, e.FullPath);
|
Logger.ErrorException("Exception in ReportFileSystemChanged. Path: {0}", ex, e.FullPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -397,14 +397,6 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||||
Logger.Debug("Ignoring change to {0}", path);
|
Logger.Debug("Ignoring change to {0}", path);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Go up another level
|
|
||||||
parent = Path.GetDirectoryName(i);
|
|
||||||
if (string.Equals(parent, path, StringComparison.OrdinalIgnoreCase))
|
|
||||||
{
|
|
||||||
Logger.Debug("Ignoring change to {0}", path);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -404,6 +404,10 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
//"chromecast.js",
|
//"chromecast.js",
|
||||||
"contextmenu.js",
|
"contextmenu.js",
|
||||||
|
|
||||||
|
"mediacontroller.js",
|
||||||
|
"mediaplayer.js",
|
||||||
|
"mediaplayer-video.js",
|
||||||
|
|
||||||
"ratingdialog.js",
|
"ratingdialog.js",
|
||||||
"aboutpage.js",
|
"aboutpage.js",
|
||||||
"allusersettings.js",
|
"allusersettings.js",
|
||||||
|
@ -461,10 +465,6 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"loginpage.js",
|
"loginpage.js",
|
||||||
"logpage.js",
|
"logpage.js",
|
||||||
"medialibrarypage.js",
|
"medialibrarypage.js",
|
||||||
"mediaplayer.js",
|
|
||||||
|
|
||||||
"mediaplayer-video.js",
|
|
||||||
|
|
||||||
"metadataconfigurationpage.js",
|
"metadataconfigurationpage.js",
|
||||||
"metadataimagespage.js",
|
"metadataimagespage.js",
|
||||||
"moviegenres.js",
|
"moviegenres.js",
|
||||||
|
|
|
@ -587,6 +587,9 @@
|
||||||
<Content Include="dashboard-ui\scripts\editorsidebar.js">
|
<Content Include="dashboard-ui\scripts\editorsidebar.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\scripts\mediacontroller.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\mediaplayer-video.js">
|
<Content Include="dashboard-ui\scripts\mediaplayer-video.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue