diff --git a/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs b/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs index 49e3e0f56..be173faf9 100644 --- a/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs +++ b/Ombi.Api.Models/Emby/EmbyEpisodeInformation.cs @@ -78,7 +78,7 @@ namespace Ombi.Api.Models.Emby public object[] Keywords { get; set; } public string SeriesPrimaryImageTag { get; set; } public string SeasonName { get; set; } - public EmbyMediastream1[] MediaStreams { get; set; } + public EmbyMediastream[] MediaStreams { get; set; } public string VideoType { get; set; } public EmbyImagetags ImageTags { get; set; } public object[] BackdropImageTags { get; set; } diff --git a/Ombi.Api.Models/Emby/EmbyMediastream1.cs b/Ombi.Api.Models/Emby/EmbyMediastream1.cs deleted file mode 100644 index 61153b900..000000000 --- a/Ombi.Api.Models/Emby/EmbyMediastream1.cs +++ /dev/null @@ -1,64 +0,0 @@ -#region Copyright -// /************************************************************************ -// Copyright (c) 2017 Jamie Rees -// File: MovieInformation.cs -// Created By: Jamie Rees -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// ************************************************************************/ -#endregion - - -namespace Ombi.Api.Models.Emby -{ - public class EmbyMediastream1 - { - public string Codec { get; set; } - public string Language { get; set; } - public string TimeBase { get; set; } - public string CodecTimeBase { get; set; } - public string NalLengthSize { get; set; } - public bool IsInterlaced { get; set; } - public bool IsAVC { get; set; } - public int BitRate { get; set; } - public int BitDepth { get; set; } - public int RefFrames { get; set; } - public bool IsDefault { get; set; } - public bool IsForced { get; set; } - public int Height { get; set; } - public int Width { get; set; } - public float AverageFrameRate { get; set; } - public float RealFrameRate { get; set; } - public string Profile { get; set; } - public string Type { get; set; } - public string AspectRatio { get; set; } - public int Index { get; set; } - public bool IsExternal { get; set; } - public bool IsTextSubtitleStream { get; set; } - public bool SupportsExternalStream { get; set; } - public string PixelFormat { get; set; } - public int Level { get; set; } - public bool IsAnamorphic { get; set; } - public string DisplayTitle { get; set; } - public string ChannelLayout { get; set; } - public int Channels { get; set; } - public int SampleRate { get; set; } - } -} \ No newline at end of file diff --git a/Ombi.Api.Models/Emby/EmbyMovieInformation.cs b/Ombi.Api.Models/Emby/EmbyMovieInformation.cs index 72f8ebc02..bb9bfe244 100644 --- a/Ombi.Api.Models/Emby/EmbyMovieInformation.cs +++ b/Ombi.Api.Models/Emby/EmbyMovieInformation.cs @@ -70,7 +70,7 @@ namespace Ombi.Api.Models.Emby public string DisplayPreferencesId { get; set; } public object[] Tags { get; set; } public string[] Keywords { get; set; } - public EmbyMediastream1[] MediaStreams { get; set; } + public EmbyMediastream[] MediaStreams { get; set; } public string VideoType { get; set; } public EmbyImagetags ImageTags { get; set; } public string[] BackdropImageTags { get; set; } diff --git a/Ombi.Api.Models/Ombi.Api.Models.csproj b/Ombi.Api.Models/Ombi.Api.Models.csproj index c0926455f..3d5fc3460 100644 --- a/Ombi.Api.Models/Ombi.Api.Models.csproj +++ b/Ombi.Api.Models/Ombi.Api.Models.csproj @@ -60,7 +60,6 @@ -