mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
Merge pull request #7234 from nielsvanvelzen/baseitemperson-guid
This commit is contained in:
commit
4f1eed862e
2 changed files with 3 additions and 2 deletions
|
@ -584,7 +584,7 @@ namespace Emby.Server.Implementations.Dto
|
||||||
if (dictionary.TryGetValue(person.Name, out Person entity))
|
if (dictionary.TryGetValue(person.Name, out Person entity))
|
||||||
{
|
{
|
||||||
baseItemPerson.PrimaryImageTag = GetTagAndFillBlurhash(dto, entity, ImageType.Primary);
|
baseItemPerson.PrimaryImageTag = GetTagAndFillBlurhash(dto, entity, ImageType.Primary);
|
||||||
baseItemPerson.Id = entity.Id.ToString("N", CultureInfo.InvariantCulture);
|
baseItemPerson.Id = entity.Id;
|
||||||
if (dto.ImageBlurHashes != null)
|
if (dto.ImageBlurHashes != null)
|
||||||
{
|
{
|
||||||
// Only add BlurHash for the person's image.
|
// Only add BlurHash for the person's image.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#nullable disable
|
#nullable disable
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using MediaBrowser.Model.Entities;
|
using MediaBrowser.Model.Entities;
|
||||||
|
@ -20,7 +21,7 @@ namespace MediaBrowser.Model.Dto
|
||||||
/// Gets or sets the identifier.
|
/// Gets or sets the identifier.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The identifier.</value>
|
/// <value>The identifier.</value>
|
||||||
public string Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the role.
|
/// Gets or sets the role.
|
||||||
|
|
Loading…
Reference in a new issue