mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-16 02:06:21 +01:00
Initial setup of Sabnzbd integration
This commit is contained in:
@@ -72,6 +72,7 @@ export const ServiceTypeList = [
|
||||
'Transmission',
|
||||
'Overseerr',
|
||||
'Jellyseerr',
|
||||
'Sabnzbd',
|
||||
];
|
||||
export type ServiceType =
|
||||
| 'Other'
|
||||
@@ -86,7 +87,8 @@ export type ServiceType =
|
||||
| 'Sonarr'
|
||||
| 'Overseerr'
|
||||
| 'Jellyseerr'
|
||||
| 'Transmission';
|
||||
| 'Transmission'
|
||||
| 'Sabnzbd';
|
||||
|
||||
export function tryMatchPort(name: string | undefined, form?: any) {
|
||||
if (!name) {
|
||||
@@ -112,6 +114,7 @@ export const portmap = [
|
||||
{ name: 'emby', value: '8096' },
|
||||
{ name: 'overseerr', value: '5055' },
|
||||
{ name: 'dash.', value: '3001' },
|
||||
{ name: 'sabnzbd', value: '8080' },
|
||||
];
|
||||
|
||||
export const MatchingImages: {
|
||||
@@ -185,3 +188,12 @@ export interface serviceItem {
|
||||
newTab?: boolean;
|
||||
status?: string[];
|
||||
}
|
||||
|
||||
export interface DownloadItem {
|
||||
name: string;
|
||||
progress: number;
|
||||
size: number;
|
||||
id: string;
|
||||
state: 'paused' | 'downloading' | 'queued';
|
||||
eta: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user