mirror of https://github.com/jellyfin/jellyfin.git
add guide settings
This commit is contained in:
parent
68268cfb73
commit
f5d37ed659
|
@ -35,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||||
|
|
||||||
public string Category
|
public string Category
|
||||||
{
|
{
|
||||||
get { return "Channels"; }
|
get { return "Internet Channels"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task Execute(System.Threading.CancellationToken cancellationToken, IProgress<double> progress)
|
public async Task Execute(System.Threading.CancellationToken cancellationToken, IProgress<double> progress)
|
||||||
|
|
|
@ -2882,12 +2882,12 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||||
{
|
{
|
||||||
var libraryOptions = CollectionFolder.GetLibraryOptions(virtualFolderPath);
|
var libraryOptions = CollectionFolder.GetLibraryOptions(virtualFolderPath);
|
||||||
|
|
||||||
SyncLibraryOptionsToLocations(virtualFolderPath, libraryOptions);
|
|
||||||
|
|
||||||
var list = libraryOptions.PathInfos.ToList();
|
var list = libraryOptions.PathInfos.ToList();
|
||||||
list.Add(pathInfo);
|
list.Add(pathInfo);
|
||||||
libraryOptions.PathInfos = list.ToArray();
|
libraryOptions.PathInfos = list.ToArray();
|
||||||
|
|
||||||
|
SyncLibraryOptionsToLocations(virtualFolderPath, libraryOptions);
|
||||||
|
|
||||||
CollectionFolder.SaveLibraryOptions(virtualFolderPath, libraryOptions);
|
CollectionFolder.SaveLibraryOptions(virtualFolderPath, libraryOptions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue