autobrr/internal/indexer/definitions/orpheus.yaml
ze0s 08826db036
feat(indexers): improve RED and OPS artist parsing (#629)
* feat(indexers): improve RED and OPS artist parsing

* feat(indexers): deprecate lidarr red ops workaround

* feat(indexers): change artist and album field check

* seperator before tags and tags optional for red

* fix: update rejection msg

Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
2023-01-08 15:06:04 +01:00

75 lines
2.2 KiB
YAML

---
#id: orpheus
name: Orpheus
identifier: ops
description: Orpheus (OPS) is a Private Torrent Tracker for MUSIC
language: en-us
urls:
- https://orpheus.network/
privacy: private
protocol: torrent
supports:
- irc
- rss
source: gazelle
settings:
- name: torrent_pass
type: text
required: true
label: Torrent pass
help: Right click DL on a torrent and get the torrent_pass.
irc:
network: Orpheus
server: irc.orpheus.network
port: 7000
tls: true
channels:
- "#announce"
announcers:
- hermes
settings:
- name: nick
type: text
required: true
label: Nick
help: Bot nick. Eg. user|bot
- name: auth.account
type: text
required: true
label: NickServ Account
help: NickServ account. Make sure to group your user and bot.
- name: auth.password
type: secret
required: true
label: NickServ Password
help: NickServ password
- name: invite_command
type: secret
default: "hermes enter #announce USERNAME IRCKEY"
required: true
label: Invite command
help: Invite auth with Hermes. Replace USERNAME and IRCKEY.
parse:
type: single
lines:
- test:
- "TORRENT: That Artist - Albuum [2002] [Single] - FLAC / Lossless / WEB - 2000s,house,uk.garage,garage.house - https://orpheus.network/torrents.php?id=000000 / https://orpheus.network/torrents.php?action=download&id=0000000"
- "TORRENT: Something [2021] [Album] - FLAC / Lossless / CD - - https://orpheus.network/torrents.php?id=000000 / https://orpheus.network/torrents.php?action=download&id=0000000"
- "TORRENT: Artist 1 & Artist 2 - Best album (subtitle) [2004] [Album] - FLAC / Lossless / Log (100%) / Cue / CD - experimental,ambient,downtempo - https://orpheus.network/torrents.php?id=000000 / https://orpheus.network/torrents.php?action=download&id=0000000"
pattern: 'TORRENT: (.* \[(.*?)\] \[(.*?)\] - (.*)) - \s*(.*) - https?:\/\/.* \/ (https?:\/\/.*\/).*id=(\d+)'
vars:
- torrentName
- year
- category
- releaseTags
- tags
- baseUrl
- torrentId
match:
torrenturl: "/torrents.php?action=download&id={{ .torrentId }}&torrent_pass={{ .torrent_pass }}"