mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
add guide settings
This commit is contained in:
parent
68268cfb73
commit
f5d37ed659
@ -35,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
|
||||
public string Category
|
||||
{
|
||||
get { return "Channels"; }
|
||||
get { return "Internet Channels"; }
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
SyncLibraryOptionsToLocations(virtualFolderPath, libraryOptions);
|
||||
|
||||
var list = libraryOptions.PathInfos.ToList();
|
||||
list.Add(pathInfo);
|
||||
libraryOptions.PathInfos = list.ToArray();
|
||||
|
||||
SyncLibraryOptionsToLocations(virtualFolderPath, libraryOptions);
|
||||
|
||||
CollectionFolder.SaveLibraryOptions(virtualFolderPath, libraryOptions);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user