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
  • Loading branch information
tidusjar authored Mar 17, 2022
2 parents 8dfa858 + 18b167d commit 6998129
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 6998129

Please sign in to comment.