mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed an issue where for Available Emby content, the service ID was not being passed
This commit is contained in:
parent
900ec20e42
commit
21b8bf76d2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace Ombi.Core.Rule.Rules.Search
|
|||
var s = await EmbySettings.GetSettingsAsync();
|
||||
if (s.Enable)
|
||||
{
|
||||
var server = s.Servers.FirstOrDefault(x => x.ServerHostname != null);
|
||||
var server = s.Servers.FirstOrDefault();
|
||||
if ((server?.ServerHostname ?? string.Empty).HasValue())
|
||||
{
|
||||
obj.EmbyUrl = EmbyHelper.GetEmbyMediaUrl(item.EmbyId, server?.ServerId, server?.ServerHostname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue