mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
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:
parent
2cfad10a82
commit
e5ef111087
15 changed files with 96 additions and 24 deletions
19
src/Ombi.Api.Emby/Models/PublicInfo.cs
Normal file
19
src/Ombi.Api.Emby/Models/PublicInfo.cs
Normal 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; }
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue