From 8267c4da786704a6d3898ac5adf3914b82197ff6 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Fri, 21 Jan 2022 10:35:13 +0000 Subject: [PATCH] Update genres to be smart collections --- yozora/configs/tv/genres-smart.yml | 90 ++++++++++++++++++++++++++++++ yozora/configs/tv/genres.yml | 45 --------------- 2 files changed, 90 insertions(+), 45 deletions(-) create mode 100644 yozora/configs/tv/genres-smart.yml delete mode 100644 yozora/configs/tv/genres.yml diff --git a/yozora/configs/tv/genres-smart.yml b/yozora/configs/tv/genres-smart.yml new file mode 100644 index 0000000..3182ac0 --- /dev/null +++ b/yozora/configs/tv/genres-smart.yml @@ -0,0 +1,90 @@ +templates: + Genre: + default: + exclude: Children, Anime + sort_title: +02_<> + url_background: https://wallpaper.dog/large/20509069.jpg + smart_filter: + sort_by: release.desc + validate: false + all: + genre.not: <> + audio_language: en + genre: <> + +collections: + Action: + template: { name: Genre, genre: action} + url_poster: https://i.imgur.com/5rP3mqc.jpg + Adventure: + template: { name: Genre, genre: adventure } + url_poster: https://i.imgur.com/fZMIfdy.jpg + Animation: + template: { name: Genre, genre: animation, exclude: null } + url_poster: https://i.imgur.com/W9355wl.jpg + Comedy: + template: { name: Genre, genre: comedy } + url_poster: https://i.imgur.com/dIMKbt9.jpg + Competition: + template: { name: Genre, genre: "game show" } + url_poster: https://i.imgur.com/dIMKbt9.jpg + Cooking: + template: { name: Genre, genre: "cooking, food" } + url_poster: https://i.imgur.com/dVXspVv.jpg + Crime: + template: { name: Genre, genre: crime } + url_poster: https://i.imgur.com/1FYD7Cz.jpg + Documentary: + template: { name: Genre, genre: "Biography, Documentary" } + url_poster: https://i.imgur.com/KRH25hE.jpg + Drama: + template: { name: Genre, genre: drama } + url_poster: https://i.imgur.com/RwOUFLI.jpg + Family: + template: { name: Genre, genre: family, exclude: null } + url_poster: https://i.imgur.com/k4VAgNR.jpg + Fantasy: + template: { name: Genre, genre: fantasy, exclude: null } + url_poster: https://i.imgur.com/IdeoNnr.jpg + History: + template: { name: Genre, genre: history } + url_poster: https://i.imgur.com/1n070o0.jpg + Horror: + template: { name: Genre, genre: horror } + url_poster: https://i.imgur.com/M6msOoq.jpg + Music: + template: { name: Genre, genre: music, exclude: null} + url_poster: https://i.imgur.com/eCJZSue.jpg + Musical: + template: { name: Genre, genre: musical, exclude: null} + url_poster: https://i.imgur.com/xBTTyNx.jpg + Mystery: + template: { name: Genre, genre: mystery } + url_poster: https://i.imgur.com/t1ArisJ.jpg + Reality: + template: { name: Genre, genre: reality } + url_poster: https://i.imgur.com/aDp1CZ9.jpg + Romance: + template: { name: Genre, genre: romance } + url_poster: https://i.imgur.com/0Jm9Jck.jpg + Romantic Comedy: + template: { name: Genre, genre: "romance,comedy" } + url_poster: https://i.imgur.com/7XVf34s.jpg + Romantic Drama: + template: { name: Genre, genre: "romance,drama" } + url_poster: https://i.imgur.com/ccutmOd.jpg + Sci-Fi: + template: { name: Genre, genre: sci-fi } + url_poster: https://i.imgur.com/EPi451Z.jpg + Sports: + template: { name: Genre, genre: sport } + url_poster: https://i.imgur.com/uGtTbYV.jpg + Thriller: + template: { name: Genre, genre: thriller } + url_poster: https://i.imgur.com/i4K4wXI.jpg + War: + template: { name: Genre, genre: war } + url_poster: https://i.imgur.com/tPgvWij.jpg + Western: + template: { name: Genre, genre: western } + url_poster: https://i.imgur.com/NbiRkV6.jpg diff --git a/yozora/configs/tv/genres.yml b/yozora/configs/tv/genres.yml deleted file mode 100644 index 9108568..0000000 --- a/yozora/configs/tv/genres.yml +++ /dev/null @@ -1,45 +0,0 @@ -###################################################### -# Genre Collections # -###################################################### - -templates: - genre: - sort_title: +02_<> - url_background: https://wallpaper.dog/large/20509069.jpg - smart_filter: - sort_by: release.desc - validate: false - all: - genre.not: "children, animation, family" - audio_language: english - any: - genre: <> -# schedule: weekly (sunday) - -collections: - Cooking Shows: - template: { name: genre, genre: "Food" } - url_poster: https://i.imgur.com/VM2wr44.jpg - - Crime Shows: - template: { name: genre, genre: "Crime" } - url_poster: https://i.imgur.com/qXqvLTA.jpg - - Documentary Shows: - template: { name: genre, genre: "Biography, Documentary" } - url_poster: https://i.imgur.com/t4ltEIY.jpg - - Game Shows: - template: { name: genre, genre: "Game Show" } - smart_filter: - sort_by: episode_added.desc - validate: false - all: - genre.not: "children, animation" - any: - genre: "Game Show" - url_poster: https://i.imgur.com/HGlAWyH.jpg - - Reality Shows: - template: { name: genre, genre: "Reality" } - url_poster: https://i.imgur.com/v4A3Up2.jpg \ No newline at end of file