mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 02:09:13 +00:00
feat(clients): add Readarr support (#490)
* Add initial Readarr support * Readarr working with MaM * feat(clients): readarr add tests
This commit is contained in:
parent
b7d2161fdb
commit
71d0424b61
16 changed files with 626 additions and 6 deletions
37
pkg/readarr/testdata/release_push_ok_response.json
vendored
Normal file
37
pkg/readarr/testdata/release_push_ok_response.json
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"guid": "PUSH-https://www.mock-indexer.test/tor/download.php?tid=000000",
|
||||
"quality": {
|
||||
"quality": {
|
||||
"id": 3,
|
||||
"name": "EPUB"
|
||||
},
|
||||
"revision": {
|
||||
"version": 1,
|
||||
"real": 0,
|
||||
"isRepack": false
|
||||
}
|
||||
},
|
||||
"qualityWeight": 301,
|
||||
"age": 0,
|
||||
"ageHours": 0.00138141025,
|
||||
"ageMinutes": 0.08288463833333333,
|
||||
"size": 1048576,
|
||||
"indexerId": 0,
|
||||
"indexer": "mock-indexer",
|
||||
"releaseHash": "",
|
||||
"title": "The Best Book by Famous Author [English / epub, mobi]",
|
||||
"discography": false,
|
||||
"sceneSource": false,
|
||||
"authorName": "Famous Author",
|
||||
"bookTitle": "The best book",
|
||||
"approved": true,
|
||||
"temporarilyRejected": false,
|
||||
"rejected": false,
|
||||
"rejections": [],
|
||||
"publishDate": "2022-10-14T17:36:15Z",
|
||||
"downloadUrl": "https://www.mock-indexer.test/tor/download.php?tid=000000",
|
||||
"downloadAllowed": true,
|
||||
"releaseWeight": 0,
|
||||
"preferredWordScore": 0,
|
||||
"protocol": "torrent"
|
||||
}
|
31
pkg/readarr/testdata/system_status_response_ok.json
vendored
Normal file
31
pkg/readarr/testdata/system_status_response_ok.json
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"appName": "Readarr",
|
||||
"version": "0.1.1.1320",
|
||||
"buildTime": "2022-05-09T22:53:15Z",
|
||||
"isDebug": false,
|
||||
"isProduction": true,
|
||||
"isAdmin": false,
|
||||
"isUserInteractive": true,
|
||||
"startupPath": "/app/bin",
|
||||
"appData": "/config",
|
||||
"osName": "alpine",
|
||||
"osVersion": "3.16.2",
|
||||
"isNetCore": true,
|
||||
"isMono": false,
|
||||
"isLinux": true,
|
||||
"isOsx": false,
|
||||
"isWindows": false,
|
||||
"isDocker": false,
|
||||
"mode": "console",
|
||||
"branch": "develop",
|
||||
"authentication": "none",
|
||||
"sqliteVersion": "3.38.5",
|
||||
"migrationVersion": 21,
|
||||
"urlBase": "",
|
||||
"runtimeVersion": "6.0.3",
|
||||
"runtimeName": "netCore",
|
||||
"startTime": "2022-10-14T17:26:21Z",
|
||||
"packageVersion": "testing-e06fe51",
|
||||
"packageAuthor": "[hotio](https://github.com/hotio)",
|
||||
"packageUpdateMechanism": "docker"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue