mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-09 07:10:34 +02:00
restore library editor
This commit is contained in:
parent
bd0ad4a5cd
commit
2c5ee7e2cf
|
@ -204,9 +204,17 @@ namespace MediaBrowser.Api.Library
|
||||||
|
|
||||||
if (_fileSystem.DirectoryExists(virtualFolderPath))
|
if (_fileSystem.DirectoryExists(virtualFolderPath))
|
||||||
{
|
{
|
||||||
throw new ArgumentException("There is already a media collection with the name " + name + ".");
|
throw new ArgumentException("There is already a media library with the name " + name + ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(request.Path))
|
||||||
|
{
|
||||||
|
if (!_fileSystem.DirectoryExists(request.Path))
|
||||||
|
{
|
||||||
|
throw new DirectoryNotFoundException("The specified folder does not exist.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_libraryMonitor.Stop();
|
_libraryMonitor.Stop();
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
@ -132,13 +132,6 @@ namespace MediaBrowser.ServerApplication
|
||||||
|
|
||||||
LocalizeText();
|
LocalizeText();
|
||||||
|
|
||||||
if (_appHost.IsFirstRun)
|
|
||||||
{
|
|
||||||
Action action = () => notifyIcon1.ShowBalloonTip(5000, "Emby", "Welcome to Emby Server!", ToolTipIcon.Info);
|
|
||||||
|
|
||||||
contextMenuStrip1.Invoke(action);
|
|
||||||
}
|
|
||||||
|
|
||||||
notifyIcon1.DoubleClick += notifyIcon1_DoubleClick;
|
notifyIcon1.DoubleClick += notifyIcon1_DoubleClick;
|
||||||
Application.ApplicationExit += Application_ApplicationExit;
|
Application.ApplicationExit += Application_ApplicationExit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,6 +206,12 @@
|
||||||
<Content Include="dashboard-ui\components\medialibrarycreator\medialibrarycreator.template.html">
|
<Content Include="dashboard-ui\components\medialibrarycreator\medialibrarycreator.template.html">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\components\medialibraryeditor\medialibraryeditor.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\components\medialibraryeditor\medialibraryeditor.template.html">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\components\metadataeditor\metadataeditor.js">
|
<Content Include="dashboard-ui\components\metadataeditor\metadataeditor.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue