mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Use Guid for parentPrimaryImageItemId (#13874)
This commit is contained in:
@@ -551,7 +551,7 @@ namespace MediaBrowser.Model.Dto
|
|||||||
/// Gets or sets the parent primary image item identifier.
|
/// Gets or sets the parent primary image item identifier.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The parent primary image item identifier.</value>
|
/// <value>The parent primary image item identifier.</value>
|
||||||
public string ParentPrimaryImageItemId { get; set; }
|
public Guid? ParentPrimaryImageItemId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the parent primary image tag.
|
/// 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.
|
/// Gets or sets the parent primary image item identifier.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The parent primary image item identifier.</value>
|
/// <value>The parent primary image item identifier.</value>
|
||||||
public string ParentPrimaryImageItemId { get; set; }
|
public Guid? ParentPrimaryImageItemId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the parent primary image tag.
|
/// Gets or sets the parent primary image tag.
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ namespace Jellyfin.LiveTv
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
||||||
dto.ParentPrimaryImageItemId = program.Id.ToString("N", CultureInfo.InvariantCulture);
|
dto.ParentPrimaryImageItemId = program.Id;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -327,7 +327,7 @@ namespace Jellyfin.LiveTv
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
dto.ParentPrimaryImageTag = _imageProcessor.GetImageCacheTag(program, image);
|
||||||
dto.ParentPrimaryImageItemId = program.Id.ToString("N", CultureInfo.InvariantCulture);
|
dto.ParentPrimaryImageItemId = program.Id;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user