update auto-organize
This commit is contained in:
parent
cfce61efbc
commit
6c27159406
|
@ -1155,14 +1155,21 @@ namespace MediaBrowser.Controller.Entities
|
|||
DateTime? datePlayed,
|
||||
bool resetPosition)
|
||||
{
|
||||
var itemsResult = await GetItems(new InternalItemsQuery
|
||||
var query = new InternalItemsQuery
|
||||
{
|
||||
User = user,
|
||||
Recursive = true,
|
||||
IsFolder = false,
|
||||
IsMissing = false
|
||||
IsUnaired = false
|
||||
|
||||
}).ConfigureAwait(false);
|
||||
};
|
||||
|
||||
if (!user.Configuration.DisplayMissingEpisodes)
|
||||
{
|
||||
query.IsMissing = false;
|
||||
}
|
||||
|
||||
var itemsResult = await GetItems(query).ConfigureAwait(false);
|
||||
|
||||
// Sweep through recursively and update status
|
||||
var tasks = itemsResult.Items.Select(c => c.MarkPlayed(user, datePlayed, resetPosition));
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace MediaBrowser.Providers.TV
|
|||
if (seriesProviderIds.TryGetValue(MetadataProviders.Tvdb.ToString(), out id))
|
||||
{
|
||||
// This check should ideally never be necessary but we're seeing some cases of this and haven't tracked them down yet.
|
||||
if (string.IsNullOrWhiteSpace(id))
|
||||
if (!string.IsNullOrWhiteSpace(id))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -335,6 +335,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "hammerjs", "hammer.min.js"), Path.Combine(path, "bower_components", "hammerjs", "hammer.min.js"));
|
||||
|
||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "Sortable", "Sortable.min.js"), Path.Combine(path, "bower_components", "Sortable", "Sortable.min.js"));
|
||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "native-promise-only", "lib", "npo.src.js"), Path.Combine(path, "bower_components", "native-promise-only", "lib", "npo.src.js"));
|
||||
}
|
||||
|
||||
MinifyCssDirectory(Path.Combine(path, "css"));
|
||||
|
|
|
@ -379,6 +379,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
//sb.Append("<meta http-equiv=\"Content-Security-Policy\" content=\"default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'\">");
|
||||
}
|
||||
|
||||
sb.Append("<link rel=\"manifest\" href=\"manifest.json\">");
|
||||
sb.Append("<meta http-equiv=\"X-UA-Compatibility\" content=\"IE=Edge\">");
|
||||
sb.Append("<meta name=\"format-detection\" content=\"telephone=no\">");
|
||||
sb.Append("<meta name=\"msapplication-tap-highlight\" content=\"no\">");
|
||||
|
|
|
@ -128,6 +128,9 @@
|
|||
<Content Include="dashboard-ui\bower_components\jstree\dist\jstree.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\bower_components\native-promise-only\lib\npo.src.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\bower_components\requirejs\require.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -179,6 +182,9 @@
|
|||
<Content Include="dashboard-ui\components\directorybrowser\directorybrowser.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\components\imagestore.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\components\itemidentifier\itemidentifier.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -2709,6 +2715,9 @@
|
|||
<Content Include="dashboard-ui\strings\javascript\zh-TW.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="dashboard-ui\manifest.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\strings\html\zh-HK.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
|
Loading…
Reference in New Issue
Block a user