Skip to content

Commit

Permalink
fix(jellyfin): 🐛 Fixed an issue where Jellyfin content was showing th…
Browse files Browse the repository at this point in the history
…e Play on Emby button

#4542
  • Loading branch information
tidusjar committed Mar 10, 2022
1 parent a8ba2f3 commit 18b167d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Ombi.Core/Rule/Rules/Search/JellyfinAvailabilityRule.cs
Expand Up @@ -92,14 +92,14 @@ public async Task<RuleResult> Execute(SearchViewModel obj)
else
{
obj.Available = true;
obj.EmbyUrl = item.Url;
obj.JellyfinUrl = item.Url;
obj.Quality = item.Quality;
}

if (item.Quality.HasValue())
{
obj.Available = true;
obj.EmbyUrl = item.Url;
obj.JellyfinUrl = item.Url;
obj.Quality = item.Quality;
}
}
Expand Down
Expand Up @@ -33,11 +33,9 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Ombi.Core;
using Ombi.Core.Notifications;
using Ombi.Helpers;
using Ombi.Hubs;
using Ombi.Notifications.Models;
using Ombi.Schedule.Jobs.Ombi;
using Ombi.Store.Entities;
using Ombi.Store.Repository;
using Ombi.Store.Repository.Requests;
Expand Down

0 comments on commit 18b167d

Please sign in to comment.