mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
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);
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -63,7 +63,8 @@ namespace MediaBrowser.Controller.Providers.Music
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -64,7 +64,8 @@ namespace MediaBrowser.Controller.Providers.TV
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -454,6 +454,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
"librarybrowser.js",
|
||||
|
||||
"aboutpage.js",
|
||||
"alphapicker.js",
|
||||
"addpluginpage.js",
|
||||
"advancedconfigurationpage.js",
|
||||
"advancedmetadataconfigurationpage.js",
|
||||
@ -494,6 +495,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||
"plugincatalogpage.js",
|
||||
"pluginspage.js",
|
||||
"pluginupdatespage.js",
|
||||
"remotecontrol.js",
|
||||
"scheduledtaskpage.js",
|
||||
"scheduledtaskspage.js",
|
||||
"search.js",
|
||||
|
@ -327,6 +327,9 @@
|
||||
<Content Include="dashboard-ui\musicvideos.html">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\alphapicker.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\edititemimages.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@ -342,6 +345,9 @@
|
||||
<Content Include="dashboard-ui\scripts\musicvideos.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\remotecontrol.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\scripts\search.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
Loading…
Reference in New Issue
Block a user