mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-10 01:38:49 +01:00
added new image params & GameSystem constants
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
|
||||
namespace MediaBrowser.Model.Drawing
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ImageOverlay
|
||||
/// </summary>
|
||||
public enum ImageOverlay
|
||||
{
|
||||
/// <summary>
|
||||
/// The watched
|
||||
/// </summary>
|
||||
Played,
|
||||
/// <summary>
|
||||
/// The percent played
|
||||
/// </summary>
|
||||
PercentPlayed
|
||||
}
|
||||
}
|
||||
@@ -70,10 +70,33 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value><c>true</c> if [enable image enhancers]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableImageEnhancers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the format.
|
||||
/// </summary>
|
||||
/// <value>The format.</value>
|
||||
public ImageOutputFormat Format { get; set; }
|
||||
|
||||
public ImageOverlay? Indicator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [add played indicator].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [add played indicator]; otherwise, <c>false</c>.</value>
|
||||
public bool AddPlayedIndicator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the percent played.
|
||||
/// </summary>
|
||||
/// <value>The percent played.</value>
|
||||
public int? PercentPlayed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the color of the background.
|
||||
/// </summary>
|
||||
/// <value>The color of the background.</value>
|
||||
public string BackgroundColor { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ImageOptions" /> class.
|
||||
/// </summary>
|
||||
public ImageOptions()
|
||||
{
|
||||
EnableImageEnhancers = true;
|
||||
|
||||
48
MediaBrowser.Model/Games/GameSystem.cs
Normal file
48
MediaBrowser.Model/Games/GameSystem.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
namespace MediaBrowser.Model.Games
|
||||
{
|
||||
public class GameSystem
|
||||
{
|
||||
public const string Nintendo = "Nintendo";
|
||||
public const string SuperNintendo = "Super Nintendo";
|
||||
public const string Panasonic3DO = "3DO";
|
||||
public const string Amiga = "Amiga";
|
||||
public const string Arcade = "Arcade";
|
||||
public const string Atari2600 = "Atari 2600";
|
||||
public const string Atari5200 = "Atari 5200";
|
||||
public const string Atari7800 = "Atari 7800";
|
||||
public const string AtariXE = "Atari XE";
|
||||
public const string AtariJaguar = "Atari Jaguar";
|
||||
public const string AtariJaguarCD = "Atari Jaguar CD";
|
||||
public const string Colecovision = "Colecovision";
|
||||
public const string Commodore64 = "Commodore 64";
|
||||
public const string CommodoreVic20 = "Commodore Vic-20";
|
||||
public const string Intellivision = "Intellivision";
|
||||
public const string MicrosoftXBox = "Xbox";
|
||||
public const string NeoGeo = "Neo Geo";
|
||||
public const string Nintendo64 = "Nintendo 64";
|
||||
public const string NintendoDS = "Nintendo DS";
|
||||
public const string NintendoGameBoy = "Game Boy";
|
||||
public const string NintendoGameBoyAdvance = "Game Boy Advance";
|
||||
public const string NintendoGameBoyColor = "Game Boy Color";
|
||||
public const string NintendoGameCube = "Gamecube";
|
||||
public const string VirtualBoy = "Virtual Boy";
|
||||
public const string Wii = "Nintendo Wii";
|
||||
public const string DOS = "DOS";
|
||||
public const string Windows = "Windows";
|
||||
public const string Sega32X = "Sega 32X";
|
||||
public const string SegaCD = "Sega CD";
|
||||
public const string SegaDreamcast = "Dreamcast";
|
||||
public const string SegaGameGear = "Game Gear";
|
||||
public const string SegaGenesis = "Sega Genesis";
|
||||
public const string SegaMasterSystem = "Sega Master System";
|
||||
public const string SegaMegaDrive = "Sega Mega Drive";
|
||||
public const string SegaSaturn = "Sega Saturn";
|
||||
public const string SonyPlaystation = "Sony Playstation";
|
||||
public const string SonyPlaystation2 = "PS2";
|
||||
public const string SonyPSP = "PSP";
|
||||
public const string TurboGrafx16 = "TurboGrafx 16";
|
||||
public const string TurboGrafxCD = "TurboGrafx CD";
|
||||
public const string ZxSpectrum = "ZX Spectrum";
|
||||
}
|
||||
}
|
||||
@@ -17,5 +17,11 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// </summary>
|
||||
/// <value>The name of the service.</value>
|
||||
public string ServiceName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType ChannelType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
19
MediaBrowser.Model/LiveTv/ChannelType.cs
Normal file
19
MediaBrowser.Model/LiveTv/ChannelType.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum ChannelType
|
||||
/// </summary>
|
||||
public enum ChannelType
|
||||
{
|
||||
/// <summary>
|
||||
/// The TV
|
||||
/// </summary>
|
||||
TV,
|
||||
|
||||
/// <summary>
|
||||
/// The radio
|
||||
/// </summary>
|
||||
Radio
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,6 @@
|
||||
<Compile Include="Configuration\BaseApplicationConfiguration.cs" />
|
||||
<Compile Include="Configuration\ManualLoginCategory.cs" />
|
||||
<Compile Include="Configuration\ServerConfiguration.cs" />
|
||||
<Compile Include="Drawing\ImageOverlay.cs" />
|
||||
<Compile Include="Drawing\ImageOutputFormat.cs" />
|
||||
<Compile Include="Dto\BaseItemPerson.cs" />
|
||||
<Compile Include="Dto\ChapterInfoDto.cs" />
|
||||
@@ -63,10 +62,12 @@
|
||||
<Compile Include="Entities\MediaUrl.cs" />
|
||||
<Compile Include="Entities\MetadataFields.cs" />
|
||||
<Compile Include="Entities\Video3DFormat.cs" />
|
||||
<Compile Include="Games\GameSystem.cs" />
|
||||
<Compile Include="IO\IIsoManager.cs" />
|
||||
<Compile Include="IO\IIsoMount.cs" />
|
||||
<Compile Include="IO\IIsoMounter.cs" />
|
||||
<Compile Include="LiveTv\ChannelInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ChannelType.cs" />
|
||||
<Compile Include="LiveTv\LiveTvServiceInfo.cs" />
|
||||
<Compile Include="Net\WebSocketMessage.cs" />
|
||||
<Compile Include="Net\WebSocketMessageType.cs" />
|
||||
|
||||
Reference in New Issue
Block a user