mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
feat(radarr): 4K Requests and Radarr 4K support
* 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
This commit is contained in:
parent
09f648515e
commit
ba88848866
153 changed files with 12438 additions and 784 deletions
|
@ -10,4 +10,15 @@
|
|||
public string MinimumAvailability { get; set; }
|
||||
public bool ScanForAvailability { get; set; }
|
||||
}
|
||||
|
||||
public class Radarr4KSettings : RadarrSettings
|
||||
{
|
||||
// no additional properties needed
|
||||
}
|
||||
|
||||
public class RadarrCombinedModel
|
||||
{
|
||||
public RadarrSettings Radarr { get; set; }
|
||||
public Radarr4KSettings Radarr4K { get; set; }
|
||||
}
|
||||
}
|
24
src/Ombi.Settings/Settings/Models/FeatureSettings.cs
Normal file
24
src/Ombi.Settings/Settings/Models/FeatureSettings.cs
Normal file
|
@ -0,0 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ombi.Settings.Settings.Models
|
||||
{
|
||||
public class FeatureSettings : Settings
|
||||
{
|
||||
public List<FeatureEnablement> Features { get; set; }
|
||||
}
|
||||
|
||||
public class FeatureEnablement
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
public static class FeatureNames
|
||||
{
|
||||
public const string Movie4KRequests = nameof(Movie4KRequests);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue