mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Merge pull request #782 from hawken93/wat
Remove commented file MediaBrowser.LocalMetadata.Savers.PersonXmlSaver
This commit is contained in:
commit
b4c5ff89fd
1 changed files with 0 additions and 47 deletions
|
@ -1,47 +0,0 @@
|
|||
namespace MediaBrowser.LocalMetadata.Savers
|
||||
{
|
||||
///// <summary>
|
||||
///// Class PersonXmlSaver
|
||||
///// </summary>
|
||||
//public class PersonXmlSaver : BaseXmlSaver
|
||||
//{
|
||||
// public override bool IsEnabledFor(IHasMetadata item, ItemUpdateType updateType)
|
||||
// {
|
||||
// if (!item.SupportsLocalMetadata)
|
||||
// {
|
||||
// return false;
|
||||
// }
|
||||
|
||||
// return item is Person && updateType >= ItemUpdateType.MetadataDownload;
|
||||
// }
|
||||
|
||||
// protected override List<string> GetTagsUsed()
|
||||
// {
|
||||
// var list = new List<string>
|
||||
// {
|
||||
// "PlaceOfBirth"
|
||||
// };
|
||||
|
||||
// return list;
|
||||
// }
|
||||
|
||||
// protected override void WriteCustomElements(IHasMetadata item, XmlWriter writer)
|
||||
// {
|
||||
// var person = (Person)item;
|
||||
|
||||
// if (person.ProductionLocations.Count > 0)
|
||||
// {
|
||||
// writer.WriteElementString("PlaceOfBirth", person.ProductionLocations[0]);
|
||||
// }
|
||||
// }
|
||||
|
||||
// protected override string GetLocalSavePath(IHasMetadata item)
|
||||
// {
|
||||
// return Path.Combine(item.Path, "person.xml");
|
||||
// }
|
||||
|
||||
// public PersonXmlSaver(IFileSystem fileSystem, IServerConfigurationManager configurationManager, ILibraryManager libraryManager, IUserManager userManager, IUserDataManager userDataManager, ILogger logger, IXmlReaderSettingsFactory xmlReaderSettingsFactory) : base(fileSystem, configurationManager, libraryManager, userManager, userDataManager, logger, xmlReaderSettingsFactory)
|
||||
// {
|
||||
// }
|
||||
//}
|
||||
}
|
Loading…
Reference in a new issue