feat: add the concept of tags

Tags are attached to all magnet links provided by a given source, and
passed to actions. This allows for e.g. better categorization in
Bitmagnet.
This commit is contained in:
Marc Plano-Lesay 2025-05-04 15:41:02 +10:00
parent f19e02988f
commit c3764c125a
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
13 changed files with 240 additions and 11 deletions

View file

@ -67,11 +67,19 @@ password = "password" # Optional
username = "reddituser1"
title_filter = "720p|1080p" # Optional regex pattern
imdb_id = "tt1234567" # Optional IMDB ID for better metadata when sending to Bitmagnet
tags = ["movie", "hd"] # Optional tags
[sources.example2]
username = "reddituser2"
```
### Tags
Tags are optional and can be assigned to sources. They provide additional metadata that actions can use in different ways:
- **Transmission**: Tags are passed as labels.
- **Bitmagnet**: The first tag is used as the content type (e.g., `movie`, `tv_show`), which helps Bitmagnet categorize the content properly.
## Potential future features
- Support for additional BitTorrent clients (Deluge, qBittorrent, etc.)