Added better support for Jellyfin, we will now auto detect if it's a jellyfin server after pressing the discover button

This commit is contained in:
tidusjar 2019-10-12 21:29:02 +01:00
commit e5ef111087
15 changed files with 96 additions and 24 deletions

View file

@ -0,0 +1,19 @@
namespace Ombi.Api.Emby.Models
{
public class PublicInfo
{
public string LocalAddress { get; set; }
public string ServerName { get; set; }
public string Version { get; set; }
/// <summary>
/// Only populated for Jellyfin
/// </summary>
public string ProductName { get; set; }
public bool IsJellyfin => !string.IsNullOrEmpty(ProductName) && ProductName.Contains("Jellyfin");
public string OperatingSystem { get; set; }
public string Id { get; set; }
}
}