fix(jellyfin): 🐛 Fixed an issue where Jellyfin content was showing the Play on Emby button

This commit is contained in:
Jamie 2022-03-17 15:12:50 +00:00 committed by GitHub
commit 6998129478
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -92,14 +92,14 @@ namespace Ombi.Core.Rule.Rules.Search
else else
{ {
obj.Available = true; obj.Available = true;
obj.EmbyUrl = item.Url; obj.JellyfinUrl = item.Url;
obj.Quality = item.Quality; obj.Quality = item.Quality;
} }
if (item.Quality.HasValue()) if (item.Quality.HasValue())
{ {
obj.Available = true; obj.Available = true;
obj.EmbyUrl = item.Url; obj.JellyfinUrl = item.Url;
obj.Quality = item.Quality; obj.Quality = item.Quality;
} }
} }

View file

@ -33,11 +33,9 @@ using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Ombi.Core; using Ombi.Core;
using Ombi.Core.Notifications;
using Ombi.Helpers; using Ombi.Helpers;
using Ombi.Hubs; using Ombi.Hubs;
using Ombi.Notifications.Models; using Ombi.Notifications.Models;
using Ombi.Schedule.Jobs.Ombi;
using Ombi.Store.Entities; using Ombi.Store.Entities;
using Ombi.Store.Repository; using Ombi.Store.Repository;
using Ombi.Store.Repository.Requests; using Ombi.Store.Repository.Requests;