mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
added cloud sync model objects
This commit is contained in:
@@ -29,7 +29,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
if (item.SupportsLocalMetadata)
|
||||
{
|
||||
// Episode has it's own provider
|
||||
if (item.IsOwnedItem || item is Episode || item is Audio)
|
||||
if (item.IsOwnedItem || item is Episode || item is Audio || item is Photo)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||
// Deprecated. No longer saving in this field.
|
||||
"MPAARating",
|
||||
|
||||
"MPAADescription",
|
||||
|
||||
"MusicBrainzArtistId",
|
||||
"MusicBrainzAlbumArtistId",
|
||||
"MusicBrainzAlbumId",
|
||||
@@ -230,6 +232,11 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||
builder.Append("<ContentRating>" + SecurityElement.Escape(item.OfficialRating) + "</ContentRating>");
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(item.OfficialRatingDescription))
|
||||
{
|
||||
builder.Append("<MPAADescription>" + SecurityElement.Escape(item.OfficialRatingDescription) + "</MPAADescription>");
|
||||
}
|
||||
|
||||
builder.Append("<Added>" + SecurityElement.Escape(item.DateCreated.ToLocalTime().ToString("G")) + "</Added>");
|
||||
|
||||
builder.Append("<LockData>" + item.IsLocked.ToString().ToLower() + "</LockData>");
|
||||
|
||||
Reference in New Issue
Block a user