mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49:13 +00:00
feat(releases): support magnet links (#730)
* feat(releases): support magnet links * feat(feeds): support magnet links * feat(actions): log messages * fix: component warning * fix: check hasprefix instead of hassuffix for magnet * feat(release): resolve magnet uri from link * fix(actions): deluge use magnet uri * fix(macros): add `MagnetURI` var * fix(actions): run magnet resolving before macros * feat(feeds): set download type on creation
This commit is contained in:
parent
c6101cc765
commit
ca196f0bf1
32 changed files with 770 additions and 260 deletions
9
web/src/types/Feed.d.ts
vendored
9
web/src/types/Feed.d.ts
vendored
|
@ -12,10 +12,18 @@ interface Feed {
|
|||
cookie: string;
|
||||
last_run: string;
|
||||
last_run_data: string;
|
||||
settings: FeedSettings;
|
||||
created_at: Date;
|
||||
updated_at: Date;
|
||||
}
|
||||
|
||||
interface FeedSettings {
|
||||
download_type: FeedDownloadType;
|
||||
// download_type: string;
|
||||
}
|
||||
|
||||
type FeedDownloadType = "MAGNET" | "TORRENT";
|
||||
|
||||
type FeedType = "TORZNAB" | "RSS";
|
||||
|
||||
interface FeedCreate {
|
||||
|
@ -27,4 +35,5 @@ interface FeedCreate {
|
|||
timeout: number;
|
||||
api_key?: string;
|
||||
indexer_id: number;
|
||||
settings: FeedSettings;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue