update components
This commit is contained in:
parent
625a089737
commit
c4fa6a28db
|
@ -68,7 +68,6 @@ namespace MediaBrowser.Api
|
||||||
_config.Configuration.EnableLocalizedGuids = true;
|
_config.Configuration.EnableLocalizedGuids = true;
|
||||||
_config.Configuration.MergeMetadataAndImagesByName = true;
|
_config.Configuration.MergeMetadataAndImagesByName = true;
|
||||||
_config.Configuration.EnableStandaloneMetadata = true;
|
_config.Configuration.EnableStandaloneMetadata = true;
|
||||||
_config.Configuration.EnableLibraryMetadataSubFolder = true;
|
|
||||||
_config.Configuration.EnableCustomPathSubFolders = true;
|
_config.Configuration.EnableCustomPathSubFolders = true;
|
||||||
_config.Configuration.EnableDateLastRefresh = true;
|
_config.Configuration.EnableDateLastRefresh = true;
|
||||||
_config.SaveConfiguration();
|
_config.SaveConfiguration();
|
||||||
|
|
|
@ -174,13 +174,9 @@ namespace MediaBrowser.Common.Implementations.Configuration
|
||||||
{
|
{
|
||||||
cachePath = null;
|
cachePath = null;
|
||||||
}
|
}
|
||||||
else if (CommonConfiguration.EnableCustomPathSubFolders)
|
|
||||||
{
|
|
||||||
cachePath = Path.Combine(CommonConfiguration.CachePath, "cache");
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cachePath = CommonConfiguration.CachePath;
|
cachePath = Path.Combine(CommonConfiguration.CachePath, "cache");
|
||||||
}
|
}
|
||||||
|
|
||||||
((BaseApplicationPaths)CommonApplicationPaths).CachePath = cachePath;
|
((BaseApplicationPaths)CommonApplicationPaths).CachePath = cachePath;
|
||||||
|
|
|
@ -458,10 +458,7 @@ namespace MediaBrowser.Controller.Entities
|
||||||
{
|
{
|
||||||
var idString = Id.ToString("N");
|
var idString = Id.ToString("N");
|
||||||
|
|
||||||
if (ConfigurationManager.Configuration.EnableLibraryMetadataSubFolder)
|
basePath = System.IO.Path.Combine(basePath, "library");
|
||||||
{
|
|
||||||
basePath = System.IO.Path.Combine(basePath, "library");
|
|
||||||
}
|
|
||||||
|
|
||||||
return System.IO.Path.Combine(basePath, idString.Substring(0, 2), idString);
|
return System.IO.Path.Combine(basePath, idString.Substring(0, 2), idString);
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,12 +98,6 @@ namespace MediaBrowser.Model.Configuration
|
||||||
/// <value><c>true</c> if [enable localized guids]; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if [enable localized guids]; otherwise, <c>false</c>.</value>
|
||||||
public bool EnableLocalizedGuids { get; set; }
|
public bool EnableLocalizedGuids { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets or sets a value indicating whether [enable library metadata sub folder].
|
|
||||||
/// </summary>
|
|
||||||
/// <value><c>true</c> if [enable library metadata sub folder]; otherwise, <c>false</c>.</value>
|
|
||||||
public bool EnableLibraryMetadataSubFolder { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the preferred metadata language.
|
/// Gets or sets the preferred metadata language.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -143,7 +143,7 @@ namespace MediaBrowser.Providers.Manager
|
||||||
{
|
{
|
||||||
var id = itemOfType.GetLookupInfo();
|
var id = itemOfType.GetLookupInfo();
|
||||||
|
|
||||||
await FindIdentities(id, cancellationToken).ConfigureAwait(false);
|
//await FindIdentities(id, cancellationToken).ConfigureAwait(false);
|
||||||
|
|
||||||
var result = await RefreshWithProviders(metadataResult, id, refreshOptions, providers, itemImageProvider, cancellationToken).ConfigureAwait(false);
|
var result = await RefreshWithProviders(metadataResult, id, refreshOptions, providers, itemImageProvider, cancellationToken).ConfigureAwait(false);
|
||||||
|
|
||||||
|
|
|
@ -317,7 +317,6 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
_fileSystem.DeleteFile(Path.Combine(path, "thirdparty", "jquerymobile-1.4.5", "jquery.mobile-1.4.5.min.map"));
|
_fileSystem.DeleteFile(Path.Combine(path, "thirdparty", "jquerymobile-1.4.5", "jquery.mobile-1.4.5.min.map"));
|
||||||
|
|
||||||
_fileSystem.DeleteDirectory(Path.Combine(path, "bower_components"), true);
|
_fileSystem.DeleteDirectory(Path.Combine(path, "bower_components"), true);
|
||||||
_fileSystem.DeleteDirectory(Path.Combine(path, "thirdparty", "viblast"), true);
|
|
||||||
|
|
||||||
// But we do need this
|
// But we do need this
|
||||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "webcomponentsjs", "webcomponents-lite.js"), Path.Combine(path, "bower_components", "webcomponentsjs", "webcomponents-lite.js"));
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "webcomponentsjs", "webcomponents-lite.js"), Path.Combine(path, "bower_components", "webcomponentsjs", "webcomponents-lite.js"));
|
||||||
|
|
|
@ -539,21 +539,6 @@
|
||||||
<Content Include="dashboard-ui\thirdparty\social-share-kit-1.0.4\dist\js\social-share-kit.min.js">
|
<Content Include="dashboard-ui\thirdparty\social-share-kit-1.0.4\dist\js\social-share-kit.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\viblast\viblast-video-js.swf">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\viblast\viblast.crypto.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\viblast\viblast.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\viblast\viblast.remuxer.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\viblast\worker.html">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\components\tvproviders\schedulesdirect.js">
|
<Content Include="dashboard-ui\components\tvproviders\schedulesdirect.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user