separate player selection into it's own script

This commit is contained in:
Luke Pulverenti
2016-12-29 02:14:59 -05:00
parent cf720d2d65
commit 853dbfc558
12 changed files with 18 additions and 98 deletions

View File

@@ -43,25 +43,5 @@ namespace MediaBrowser.Providers.Chapters
{
return _itemRepo.SaveChapters(new Guid(itemId), chapters, cancellationToken);
}
public ChapterOptions GetConfiguration()
{
return _config.GetConfiguration<ChapterOptions>("chapters");
}
}
public class ChapterConfigurationStore : IConfigurationFactory
{
public IEnumerable<ConfigurationStore> GetConfigurations()
{
return new List<ConfigurationStore>
{
new ConfigurationStore
{
Key = "chapters",
ConfigurationType = typeof (ChapterOptions)
}
};
}
}
}