Updated Definition format (markdown)

garfield69 2024-03-15 17:23:38 +13:00
parent b2996715b1
commit 98b219e251
1 changed files with 9 additions and 9 deletions

@ -1241,20 +1241,20 @@ Note that these are only available during search queries.
the following are boolean-like variables in that they return either the string "True" or are null. Can be used in if-else-end statements.
```
.Query.IsBookSearch # t=book
.Query.IsDoubanQuery
.Query.IsGenreQuery
.Query.IsDoubanQuery # from t=tvseearch or t=movie
.Query.IsGenreQuery # from t=tvsearch or t=movie or t=music or t=book
.Query.IsIdSearch # Episode.IsNotNullOrWhiteSpace() || Season > 0 || IsImdbQuery || IsTvdbQuery || IsTVRageQuery || IsTraktQuery || IsTvmazeQuery || IsTmdbQuery || IsDoubanQuery || Album.IsNotNullOrWhiteSpace() || Artist.IsNotNullOrWhiteSpace() || Label.IsNotNullOrWhiteSpace() || Genre.IsNotNullOrWhiteSpace() || Track.IsNotNullOrWhiteSpace() || Author.IsNotNullOrWhiteSpace() || Title.IsNotNullOrWhiteSpace() || Publisher.IsNotNullOrWhiteSpace() || Year.HasValue
.Query.IsImdbQuery
.Query.IsImdbQuery # from t=tvseearch or t=movie
.Query.IsMovieSearch # t=movie
.Query.IsMusicSearch # t-music
.Query.IsRssSearch # SearchTerm.IsNullOrWhiteSpace() && !IsIdSearch
.Query.IsSearch # t=search
.Query.IsTVRageQuery
.Query.IsTVRageQuery # from t=tvsearch
.Query.IsTVSearch # t=tvsearch
.Query.IsTmdbQuery
.Query.IsTraktQuery
.Query.IsTvdbQuery
.Query.IsTvmazeQuery
.Query.IsTmdbQuery # from t=tvseearch or t=movie
.Query.IsTraktQuery # from t=tvseearch or t=movie
.Query.IsTvdbQuery # from t=tvsearch
.Query.IsTvmazeQuery # from t=tvsearch
```
Note: There are several variables that are not supported and are provided by Cardigann for compatibility with the Torznab specifications. These variables will always return null.
@ -1288,7 +1288,7 @@ Based on the download search field result the following variables are available:
.DownloadUri.Host example: domain.to
.DownloadUri.Port example: 443
.DownloadUri.PathAndQuery example: /torrent/1234567/A-Torrent-Name-1080p/
.DownloadUri.Query example:
.DownloadUri.Query example: see below
```
For each query string argument of the URI a corresponding `.DownloadUri.Query.$Key` variable is generated.