mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
persist locked fields in xml
This commit is contained in:
@@ -1064,6 +1064,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
try
|
||||
{
|
||||
Logger.Debug("Found shortcut at {0}", i.FullName);
|
||||
|
||||
return new LinkedChild
|
||||
{
|
||||
Path = FileSystem.ResolveShortcut(i.FullName),
|
||||
@@ -1082,6 +1084,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (!newShortcutLinks.SequenceEqual(currentShortcutLinks))
|
||||
{
|
||||
Logger.Info("Shortcut links have changed for {0}", Path);
|
||||
|
||||
newShortcutLinks.AddRange(currentManualLinks);
|
||||
LinkedChildren = newShortcutLinks;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user