update BaseXmlSaver

This commit is contained in:
Luke Pulverenti 2016-10-30 03:48:34 -04:00
parent a7a6cdd738
commit be75d1f3e4
4 changed files with 31 additions and 59 deletions

View File

@ -5,30 +5,23 @@
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
},
"contentFiles": {
"bin/Debug/MediaBrowser.Common.pdb": {
"buildAction": "None",
"codeLanguage": "any",
"copyToOutput": true
}
} }
}, },
"MediaBrowser.Model/1.0.0": { "MediaBrowser.Model/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"contentFiles": { "contentFiles": {
"bin/Debug/MediaBrowser.Model.pdb": { "bin/Release/MediaBrowser.Model.pdb": {
"buildAction": "None", "buildAction": "None",
"codeLanguage": "any", "codeLanguage": "any",
"copyToOutput": true "copyToOutput": true

View File

@ -5,47 +5,33 @@
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
},
"contentFiles": {
"bin/Debug/MediaBrowser.Common.pdb": {
"buildAction": "None",
"codeLanguage": "any",
"copyToOutput": true
}
} }
}, },
"MediaBrowser.Controller/1.0.0": { "MediaBrowser.Controller/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Controller.dll": {} "bin/Release/MediaBrowser.Controller.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Controller.dll": {} "bin/Release/MediaBrowser.Controller.dll": {}
},
"contentFiles": {
"bin/Debug/MediaBrowser.Controller.pdb": {
"buildAction": "None",
"codeLanguage": "any",
"copyToOutput": true
}
} }
}, },
"MediaBrowser.Model/1.0.0": { "MediaBrowser.Model/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"contentFiles": { "contentFiles": {
"bin/Debug/MediaBrowser.Model.pdb": { "bin/Release/MediaBrowser.Model.pdb": {
"buildAction": "None", "buildAction": "None",
"codeLanguage": "any", "codeLanguage": "any",
"copyToOutput": true "copyToOutput": true

View File

@ -310,24 +310,24 @@ namespace MediaBrowser.LocalMetadata.Savers
writer.WriteElementString("ContentRating", item.OfficialRating); writer.WriteElementString("ContentRating", item.OfficialRating);
} }
//if (!string.IsNullOrEmpty(item.OfficialRatingDescription)) if (!string.IsNullOrEmpty(item.OfficialRatingDescription))
//{ {
// builder.Append("<MPAADescription>" + SecurityElement.Escape(item.OfficialRatingDescription) + "</MPAADescription>"); writer.WriteElementString("MPAADescription", item.OfficialRatingDescription);
//} }
//builder.Append("<Added>" + SecurityElement.Escape(item.DateCreated.ToLocalTime().ToString("G")) + "</Added>"); writer.WriteElementString("Added", item.DateCreated.ToLocalTime().ToString("G"));
//builder.Append("<LockData>" + item.IsLocked.ToString().ToLower() + "</LockData>"); writer.WriteElementString("LockData", item.IsLocked.ToString().ToLower());
//if (item.LockedFields.Count > 0) if (item.LockedFields.Count > 0)
//{ {
// builder.Append("<LockedFields>" + string.Join("|", item.LockedFields.Select(i => i.ToString()).ToArray()) + "</LockedFields>"); writer.WriteElementString("LockedFields", string.Join("|", item.LockedFields.Select(i => i.ToString()).ToArray()));
//} }
//if (!string.IsNullOrEmpty(item.DisplayMediaType)) if (!string.IsNullOrEmpty(item.DisplayMediaType))
//{ {
// builder.Append("<Type>" + SecurityElement.Escape(item.DisplayMediaType) + "</Type>"); writer.WriteElementString("Type", item.DisplayMediaType);
//} }
//if (item.CriticRating.HasValue) //if (item.CriticRating.HasValue)
//{ //{

View File

@ -5,30 +5,23 @@
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Common.dll": {} "bin/Release/MediaBrowser.Common.dll": {}
},
"contentFiles": {
"bin/Debug/MediaBrowser.Common.pdb": {
"buildAction": "None",
"codeLanguage": "any",
"copyToOutput": true
}
} }
}, },
"MediaBrowser.Model/1.0.0": { "MediaBrowser.Model/1.0.0": {
"type": "project", "type": "project",
"framework": ".NETPortable,Version=v4.5,Profile=Profile7", "framework": ".NETPortable,Version=v4.5,Profile=Profile7",
"compile": { "compile": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"runtime": { "runtime": {
"bin/Debug/MediaBrowser.Model.dll": {} "bin/Release/MediaBrowser.Model.dll": {}
}, },
"contentFiles": { "contentFiles": {
"bin/Debug/MediaBrowser.Model.pdb": { "bin/Release/MediaBrowser.Model.pdb": {
"buildAction": "None", "buildAction": "None",
"codeLanguage": "any", "codeLanguage": "any",
"copyToOutput": true "copyToOutput": true