mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
abstract preferred metadata language per item
This commit is contained in:
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
public class Book : BaseItem, IHasTags
|
||||
public class Book : BaseItem, IHasTags, IHasPreferredMetadataLanguage
|
||||
{
|
||||
public override string MediaType
|
||||
{
|
||||
@@ -12,6 +12,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return Model.Entities.MediaType.Book;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the tags.
|
||||
/// </summary>
|
||||
@@ -20,6 +21,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
public string SeriesName { get; set; }
|
||||
|
||||
public string PreferredMetadataLanguage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user