update tag keys

This commit is contained in:
kieran 2024-05-16 15:28:04 +01:00
parent 33d173b1c9
commit f59df9c24f
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

18
35.md
View File

@ -11,7 +11,7 @@ This NIP defined a new `kind 2003` which is a Torrent.
`kind 2003` is a simple torrent index where there is enough information to search for content and construct the magnet link. No torrent files exist on nostr.
## Tags
- `i`: V1 BitTorrent Info Hash, as seen in the [magnet link](https://www.bittorrent.org/beps/bep_0053.html) `magnet:?xt=urn:btih:HASH`
- `x`: V1 BitTorrent Info Hash, as seen in the [magnet link](https://www.bittorrent.org/beps/bep_0053.html) `magnet:?xt=urn:btih:HASH`
- `file`: A file entry inside the torrent, including the full path ie. `info/example.txt`
- `tracker`: (Optional) A tracker to use for this torrent
@ -19,9 +19,9 @@ In order to make torrents searchable by general category, you SHOULD include a f
## Tag prefixes
Tag prefixes are used to label the content with references, ie. `["t", "imdb:1234"]`
Tag prefixes are used to label the content with references, ie. `["i", "imdb:1234"]`
- `tcat`: A comma separated text category path, ie. `["t", "tcat:video,movie,4k"]`, this should also match the `newznab` category in a best effort approach.
- `tcat`: A comma separated text category path, ie. `["i", "tcat:video,movie,4k"]`, this should also match the `newznab` category in a best effort approach.
- `newznab`: The category ID from [newznab](https://github.com/Prowlarr/Prowlarr/blob/develop/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs)
- `tmdb`: [The movie database](https://www.themoviedb.org/) id.
- `ttvdb`: [TV database](https://thetvdb.com/) id.
@ -43,16 +43,16 @@ In some cases the url mapping isnt direct, mapping the url in general is out of
"content": "<long-description-pre-formatted>",
"tags": [
["title", "<torrent-title>"],
["i", "<bittorrent-info-hash>"],
["x", "<bittorrent-info-hash>"],
["file", "<file-name>", "<file-size-in-bytes>"],
["file", "<file-name>", "<file-size-in-bytes>"],
["tracker", "udp://mytacker.com:1337"],
["tracker", "http://1337-tracker.net/announce"],
["t", "tcat:video,movie,4k"],
["t", "newznab:2045"],
["t", "imdb:tt15239678"],
["t", "tmdb:movie:693134"],
["t", "ttvdb:movie:290272"],
["i", "tcat:video,movie,4k"],
["i", "newznab:2045"],
["i", "imdb:tt15239678"],
["i", "tmdb:movie:693134"],
["i", "ttvdb:movie:290272"],
["t", "movie"],
["t", "4k"],
]