mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update BaseXmlSaver
This commit is contained in:
parent
a7a6cdd738
commit
be75d1f3e4
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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)
|
||||||
//{
|
//{
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user