mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Use Guid for parentPrimaryImageItemId (#13874)
This commit is contained in:
parent
98697e75ca
commit
16dc1e2260
@ -551,7 +551,7 @@ namespace MediaBrowser.Model.Dto
|
||||
/// Gets or sets the parent primary image item identifier.
|
||||
/// </summary>
|
||||
/// <value>The parent primary image item identifier.</value>
|
||||
public string ParentPrimaryImageItemId { get; set; }
|
||||
public Guid? ParentPrimaryImageItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parent primary image tag.
|
||||
|
@ -83,7 +83,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// Gets or sets the parent primary image item identifier.
|
||||
/// </summary>
|
||||
/// <value>The parent primary image item identifier.</value>
|
||||
public string ParentPrimaryImageItemId { get; set; }
|
||||
public Guid? ParentPrimaryImageItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parent primary image tag.
|
||||
|
@ -221,7 +221,7 @@ namespace Jellyfin.LiveTv
|
||||
try
|
||||
{
|
||||
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
||||
dto.ParentPrimaryImageItemId = program.Id.ToString("N", CultureInfo.InvariantCulture);
|
||||
dto.ParentPrimaryImageItemId = program.Id;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@ -327,7 +327,7 @@ namespace Jellyfin.LiveTv
|
||||
try
|
||||
{
|
||||
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
||||
dto.ParentPrimaryImageItemId = program.Id.ToString("N", CultureInfo.InvariantCulture);
|
||||
dto.ParentPrimaryImageItemId = program.Id;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user