mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
* feat: updated radarr settings API to support 4k * feat: refactored the radarr setting page to support the new model * feat: Added 4k radarr to the settings page * feat: Added the new Movie 4k Request * feat: Got some of the backend rules done * feat: Made a load of progress * Removed the csproj ref * feat: fixed the radarr ui * feat: fixed up all the movie requests page * feat: Hide the 4K buttons when the user does not have the 4k permission * fix: fixed the templateref issue * test: fixed up all the tests * feat: Added migrations for media sever quality. Emby and Radarr Sync jobs now pull the quality * feat: Done the media sync jobs * feat: plex availability checker * feat: Updated the jellyfin availability checker to check for 4k * feat: updated emby availbility checker to check for 4k * feat: almost got it all working now * feat: Added 4k approve to the request list options * feat: Added 4k to the requests list and bulk approve * feat: Added the features service * feat: added feature update to the frontend * feat: got the features page working * feat: Applied the feature service on the backend * feat: added the feature flag on the UI * feat: added 4k to the card
26 lines
No EOL
1 KiB
C#
26 lines
No EOL
1 KiB
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Ombi.Store.Context;
|
|
using Ombi.Store.Entities;
|
|
|
|
namespace Ombi.Store.Repository
|
|
{
|
|
public abstract class MediaServerContentRepository<T> : ExternalRepository<T>, IMediaServerContentRepository<T> where T : MediaServerContent
|
|
{
|
|
protected ExternalContext Db { get; }
|
|
public abstract RecentlyAddedType RecentlyAddedType { get; }
|
|
|
|
public MediaServerContentRepository(ExternalContext db) : base(db)
|
|
{
|
|
Db = db;
|
|
}
|
|
|
|
public abstract Task Update(IMediaServerContent existingContent);
|
|
public abstract IQueryable<IMediaServerEpisode> GetAllEpisodes();
|
|
public abstract Task<IMediaServerEpisode> Add(IMediaServerEpisode content);
|
|
public abstract Task AddRange(IEnumerable<IMediaServerEpisode> content);
|
|
public abstract void UpdateWithoutSave(IMediaServerContent existingContent);
|
|
public abstract Task UpdateRange(IEnumerable<IMediaServerContent> existingContent);
|
|
}
|
|
} |