Skip to content

Commit

Permalink
fix(GazelleJSONAPI): 不同站点的一些兼容性调整
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Sep 6, 2022
1 parent ef0ed34 commit 8a4dac4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions resource/schemas/GazelleJSONAPI/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@
group.artist +
" - " +
group.groupName +
" [" +
" / " +
group.groupYear +
"] [" +
group.releaseType +
"]",
" / " +
(group.releaseType ? group.releaseType : ""),
subTitle:
torrent.format +
" / " +
Expand All @@ -85,7 +84,7 @@
leechers: torrent.leechers,
completed: torrent.snatches,
site: site,
tags: (torrent.isFreeleech || torrent.isPersonalFreeleech)?[{name: "Free",color: "blue"}]:torrent.isNeutralLeech?[{name: "Neutral",color: "purple"}]:[{"":""}],
tags: (torrent.isFreeleech || torrent.isPersonalFreeleech) ? [{name: "Free",color: "blue"}] : torrent.isNeutralLeech ? [{name: "Neutral",color: "purple"}] : [],
entryName: options.entry.name,
category: group.releaseType
};
Expand Down

0 comments on commit 8a4dac4

Please sign in to comment.