add remote control script file
This commit is contained in:
parent
ed0b7a09a2
commit
2225ff4e6b
|
@ -64,7 +64,8 @@ namespace MediaBrowser.Controller.Providers.Movies
|
||||||
|
|
||||||
var timestampFileInfo = new FileInfo(timestampFile);
|
var timestampFileInfo = new FileInfo(timestampFile);
|
||||||
|
|
||||||
if (_config.Configuration.MetadataRefreshDays > 0 && timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < _config.Configuration.MetadataRefreshDays)
|
// Don't check for tvdb updates anymore frequently than 24 hours
|
||||||
|
if (timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < 1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,8 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||||
|
|
||||||
var timestampFileInfo = new FileInfo(timestampFile);
|
var timestampFileInfo = new FileInfo(timestampFile);
|
||||||
|
|
||||||
if (_config.Configuration.MetadataRefreshDays > 0 && timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < _config.Configuration.MetadataRefreshDays)
|
// Don't check for tvdb updates anymore frequently than 24 hours
|
||||||
|
if (timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < 1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,8 @@ namespace MediaBrowser.Controller.Providers.TV
|
||||||
|
|
||||||
var timestampFileInfo = new FileInfo(timestampFile);
|
var timestampFileInfo = new FileInfo(timestampFile);
|
||||||
|
|
||||||
if (_config.Configuration.MetadataRefreshDays > 0 && timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < _config.Configuration.MetadataRefreshDays)
|
// Don't check for tvdb updates anymore frequently than 24 hours
|
||||||
|
if (timestampFileInfo.Exists && (DateTime.UtcNow - timestampFileInfo.LastWriteTimeUtc).TotalDays < 1)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -454,6 +454,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"librarybrowser.js",
|
"librarybrowser.js",
|
||||||
|
|
||||||
"aboutpage.js",
|
"aboutpage.js",
|
||||||
|
"alphapicker.js",
|
||||||
"addpluginpage.js",
|
"addpluginpage.js",
|
||||||
"advancedconfigurationpage.js",
|
"advancedconfigurationpage.js",
|
||||||
"advancedmetadataconfigurationpage.js",
|
"advancedmetadataconfigurationpage.js",
|
||||||
|
@ -494,6 +495,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"plugincatalogpage.js",
|
"plugincatalogpage.js",
|
||||||
"pluginspage.js",
|
"pluginspage.js",
|
||||||
"pluginupdatespage.js",
|
"pluginupdatespage.js",
|
||||||
|
"remotecontrol.js",
|
||||||
"scheduledtaskpage.js",
|
"scheduledtaskpage.js",
|
||||||
"scheduledtaskspage.js",
|
"scheduledtaskspage.js",
|
||||||
"search.js",
|
"search.js",
|
||||||
|
|
|
@ -327,6 +327,9 @@
|
||||||
<Content Include="dashboard-ui\musicvideos.html">
|
<Content Include="dashboard-ui\musicvideos.html">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\scripts\alphapicker.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\edititemimages.js">
|
<Content Include="dashboard-ui\scripts\edititemimages.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -342,6 +345,9 @@
|
||||||
<Content Include="dashboard-ui\scripts\musicvideos.js">
|
<Content Include="dashboard-ui\scripts\musicvideos.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\scripts\remotecontrol.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\scripts\search.js">
|
<Content Include="dashboard-ui\scripts\search.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user