update select server
This commit is contained in:
parent
68aee65305
commit
0394d40397
|
@ -81,7 +81,18 @@ namespace MediaBrowser.Server.Implementations.Persistence
|
|||
|
||||
if (item != null)
|
||||
{
|
||||
await _itemRepo.SaveItem(item, cancellationToken).ConfigureAwait(false);
|
||||
try
|
||||
{
|
||||
await _itemRepo.SaveItem(item, cancellationToken).ConfigureAwait(false);
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
throw;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.ErrorException("Error saving item", ex);
|
||||
}
|
||||
}
|
||||
|
||||
numComplete++;
|
||||
|
|
|
@ -651,13 +651,11 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
private async Task<Stream> GetAllCss(bool enableMinification)
|
||||
{
|
||||
var memoryStream = new MemoryStream();
|
||||
var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
|
||||
|
||||
await AppendResource(memoryStream, "thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.min.css", newLineBytes).ConfigureAwait(false);
|
||||
await AppendResource(memoryStream, "thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.structure.min.css", newLineBytes).ConfigureAwait(false);
|
||||
|
||||
var files = new[]
|
||||
{
|
||||
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css",
|
||||
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.structure.css",
|
||||
"css/site.css",
|
||||
"css/chromecast.css",
|
||||
"css/nowplayingbar.css",
|
||||
|
@ -668,7 +666,6 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
"css/card.css",
|
||||
"css/notifications.css",
|
||||
"css/search.css",
|
||||
"css/pluginupdates.css",
|
||||
"css/remotecontrol.css",
|
||||
"css/userimage.css",
|
||||
"css/nowplaying.css",
|
||||
|
|
|
@ -847,9 +847,6 @@
|
|||
<Content Include="dashboard-ui\css\librarybrowser.css">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\pluginupdates.css">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\css\remotecontrol.css">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
|
Loading…
Reference in New Issue
Block a user