From 0d5c21b2b089ced3141da3c873b39ee44290d35b Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Thu, 9 May 2024 09:54:33 -0400 Subject: [PATCH] [4] transition seasonal to use imdb_search --- VERSION | 2 +- defaults/movie/seasonal.yml | 56 +++++++++++++++++++-------------- docs/defaults/movie/seasonal.md | 29 +++-------------- 3 files changed, 39 insertions(+), 48 deletions(-) diff --git a/VERSION b/VERSION index 9ac22ce5..1b5e4a18 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.1-develop3 +2.0.1-develop4 diff --git a/defaults/movie/seasonal.yml b/defaults/movie/seasonal.yml index 6d131f02..3264005d 100644 --- a/defaults/movie/seasonal.yml +++ b/defaults/movie/seasonal.yml @@ -143,35 +143,45 @@ dynamic_collections: lgbtq: range(05/31-06/30) latinx: range(09/15-10/15) women: range(02/28-03/31) - # check3 - imdb_list: - years: https://www.imdb.com/list/ls066838460/ + # check4 + imdb_search: + years: + list.any: ls066838460 valentine: - - https://www.imdb.com/list/ls000094398/ - - https://www.imdb.com/list/ls057783436/ - - https://www.imdb.com/list/ls064427905/ - patrick: https://www.imdb.com/list/ls063934595/ + list.any: + - ls000094398 + - ls057783436 + - ls064427905 + patrick: + list.any: ls063934595 easter: - - https://www.imdb.com/list/ls062665509/ - - https://www.imdb.com/list/ls051733651/ - mother: https://www.imdb.com/list/ls072551197/ - memorial: https://www.imdb.com/list/ls561621160/ - father: https://www.imdb.com/list/ls020471057/ + list.any: + - ls062665509 + - ls051733651 + mother: + list.any: ls072551197 + memorial: + list.any: ls561621160 + father: + list.any: ls020471057 independence: - - https://www.imdb.com/list/ls068664510/ - - https://www.imdb.com/list/ls080925875/ - labor: https://www.imdb.com/list/ls002014923/ + list.any: + - ls068664510 + - ls080925875 + labor: + list.any: ls002014923 halloween: - - https://www.imdb.com/list/ls023118929/ - - https://www.imdb.com/list/ls000099714/ + list.any: + - ls023118929 + - ls000099714 veteran: - - https://www.imdb.com/list/ls565595526/ + list.any: ls565595526 thanksgiving: - - https://www.imdb.com/list/ls000835734/ - - https://www.imdb.com/list/ls091597850/ - christmas: https://www.imdb.com/list/ls000096828/ - # check4 - imdb_search: + list.any: + - ls000835734 + - ls091597850 + christmas: + list.any: ls000096828 women: type: movie keyword.any: women in film, women's rights, women's suffrage, womens rights, womens suffrage diff --git a/docs/defaults/movie/seasonal.md b/docs/defaults/movie/seasonal.md index 2fe1e1e6..4c384299 100644 --- a/docs/defaults/movie/seasonal.md +++ b/docs/defaults/movie/seasonal.md @@ -66,11 +66,11 @@ work. Any value not specified will use its default value if it has one if not it | Variable | Description & Values | |:--------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `tmdb_collection_<>`1 | **Description:** Adds the TMDb Collection IDs given to the specified key's collection. Overrides the [default tmdb_collection](#tmdb-collection) for that collection if used.
**Values:** List of TMDb Collection IDs | - | `tmdb_movie_<>`1 | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default tmdb_movie](#tmdb-movie) for that collection if used.
**Values:** List of TMDb Movie IDs | | - | `imdb_list_<>`1 | **Description:** Adds the Movies in the IMDb List to the specified key's collection. Overrides the [default imdb_list](#imdb-list) for that collection if used.
**Values:** List of IMDb List URLs | | | - | `imdb_search_<>`1 | **Description:** Adds the Movies in the IMDb Search to the specified key's collection. Overrides the [default imdb_search](#imdb-search) for that collection if used.
**Values:** List of IMDb List URLs | | | - | `trakt_list_<>`1 | **Description:** Adds the Movies in the Trakt List to the specified key's collection. Overrides the [default trakt_list](#trakt-list) for that collection if used.
**Values:** List of Trakt List URLs | | | | - | `mdblist_list_<>`1 | **Description:** Adds the Movies in the MDb List to the specified key's collection. Overrides the [default mdblist_list](#mdblist-list) for that collection if used.
**Values:** List of MDBList URLs | | | | + | `tmdb_movie_<>`1 | **Description:** Adds the TMDb Movie IDs given to the specified key's collection. Overrides the [default tmdb_movie](#tmdb-movie) for that collection if used.
**Values:** List of TMDb Movie IDs | + | `imdb_list_<>`1 | **Description:** Adds the Movies in the IMDb List to the specified key's collection.
**Values:** List of IMDb List URLs | + | `imdb_search_<>`1 | **Description:** Adds the Movies in the IMDb Search to the specified key's collection. Overrides the [default imdb_search](#imdb-search) for that collection if used.
**Values:** List of IMDb List URLs | + | `trakt_list_<>`1 | **Description:** Adds the Movies in the Trakt List to the specified key's collection. Overrides the [default trakt_list](#trakt-list) for that collection if used.
**Values:** List of Trakt List URLs | + | `mdblist_list_<>`1 | **Description:** Adds the Movies in the MDb List to the specified key's collection. Overrides the [default mdblist_list](#mdblist-list) for that collection if used.
**Values:** List of MDBList URLs | | `emoji` | **Description:** Controls the Emoji Prefix for all Collections. Set to `""` to remove all emojis.
**Values:** Any String | | `emoji_<>`1 | **Description:** Controls the Emoji Prefix for the specified key's collection. Overrides the [default emoji](#emoji) for that collection if used.
**Values:** Any String | | `limit` | **Description:** Changes the Builder Limit for all collections in this file.
**Values:** Number Greater than 0 | @@ -193,25 +193,6 @@ If you want to customize these values, use the methods described above. %} ``` -??? example "Default Template Variable `imdb_list` (click to expand) " - -
- - ???+ tip - - Pass `imdb_list_<>` to the file as template variables to change this value per collection. - - ```yaml - {% - include-markdown "../../../defaults/movie/seasonal.yml" - comments=false - preserve-includer-indent=true - dedent=true - start="# check3" - end="# check4" - %} - ``` - ??? example "Default Template Variable `imdb_search` (click to expand) "