add GameSystem to GameSystem dto
This commit is contained in:
parent
ae543e4253
commit
85568474ce
|
@ -373,6 +373,11 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||||
dto.GameSystem = item.GameSystem;
|
dto.GameSystem = item.GameSystem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void SetGameSystemProperties(BaseItemDto dto, GameSystem item)
|
||||||
|
{
|
||||||
|
dto.GameSystem = item.GameSystemName;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the backdrop image tags.
|
/// Gets the backdrop image tags.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1064,6 +1069,13 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||||
SetGameProperties(dto, game);
|
SetGameProperties(dto, game);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var gameSystem = item as GameSystem;
|
||||||
|
|
||||||
|
if (gameSystem != null)
|
||||||
|
{
|
||||||
|
SetGameSystemProperties(dto, gameSystem);
|
||||||
|
}
|
||||||
|
|
||||||
var musicVideo = item as MusicVideo;
|
var musicVideo = item as MusicVideo;
|
||||||
|
|
||||||
if (musicVideo != null)
|
if (musicVideo != null)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user