mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
sync updates
This commit is contained in:
@@ -40,6 +40,7 @@ namespace MediaBrowser.Model.Sync
|
||||
if (item.IsFolder || item.IsGameGenre || item.IsMusicGenre || item.IsGenre || item.IsArtist || item.IsStudio || item.IsPerson)
|
||||
{
|
||||
options.Add(SyncOptions.SyncNewContent);
|
||||
options.Add(SyncOptions.ItemLimit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -47,5 +48,17 @@ namespace MediaBrowser.Model.Sync
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
public static List<SyncOptions> GetSyncOptions(SyncCategory category)
|
||||
{
|
||||
List<SyncOptions> options = new List<SyncOptions>();
|
||||
|
||||
options.Add(SyncOptions.Quality);
|
||||
options.Add(SyncOptions.UnwatchedOnly);
|
||||
options.Add(SyncOptions.SyncNewContent);
|
||||
options.Add(SyncOptions.ItemLimit);
|
||||
|
||||
return options;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user