feat(filters): RED and OPS fetch record label from API (#1881)

* feat(filters): RED and OPS fetch record label from API

* test: add record label to RED and OPS test data

* refactor: record label check

---------

Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
soup 2024-12-25 13:39:03 +01:00 committed by GitHub
parent 221bc35371
commit d153ac44b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 380 additions and 154 deletions

View file

@ -72,10 +72,11 @@ func TestOrpheusClient_GetTorrentByID(t *testing.T) {
},
args: args{torrentID: "2156788"},
want: &domain.TorrentBasic{
Id: "2156788",
InfoHash: "",
Size: "255299244",
Uploader: "uploader",
Id: "2156788",
InfoHash: "",
Size: "255299244",
Uploader: "uploader",
RecordLabel: "FAJo Music",
},
wantErr: "",
},