From 878a2fd380c10ba9c75074f7653dc7bd9f55e554 Mon Sep 17 00:00:00 2001 From: 0x5f3 <104367919+0x5f3@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:49:27 +0000 Subject: [PATCH] added recommended and its unwatched counterpart collections; modified Suggested collection scrape numbers --- 0x5f3/MOVIES.md | 26 +++-- 0x5f3/README.md | 13 ++- 0x5f3/SHOWS.md | 24 +++-- 0x5f3/config.yml | 153 +++++++++++++++++++++++++++ 0x5f3/metadata/movie/1_seasonal.yml | 2 +- 0x5f3/metadata/movie/1_suggested.yml | 64 +++++++++-- 0x5f3/metadata/show/1_suggested.yml | 64 +++++++++-- 7 files changed, 299 insertions(+), 47 deletions(-) create mode 100644 0x5f3/config.yml diff --git a/0x5f3/MOVIES.md b/0x5f3/MOVIES.md index cd46b10..ddd7fe8 100644 --- a/0x5f3/MOVIES.md +++ b/0x5f3/MOVIES.md @@ -1,19 +1,22 @@ +``` - 1_suggested.yml - - Random Movies + - Random Movies (English) - Recently Added Movies (English) - Recently Released Movies (English) - - Suggested Movies - - Trending Movies - - Popular Movies - - Top Rated Movies + - Recommended Movies (Trakt user's personal favourites and/or trakt/letterboxd lists) + - Suggested Movies (Trakt most favourited daily/weekly/monthly/yearly/all charts and/or trakt/letterboxd lists) + - Trending Movies (https://mdblist.com/lists/archivist/movie-trending) + - Popular Movies (https://mdblist.com/lists/archivist/movie-popular) + - Top Rated Movies (https://mdblist.com/lists/archivist/movie-top-rated) - Unwatched: Random Movies + - Unwatched: Recommended Movies - Unwatched: Suggested Movies - Unwatched: Popular Movies - Unwatched: Top Rated Movies - - Most Watched Daily - - Most Watched Weekly - - Most Watched Monthly - - Most Watched Yearly + - Most Watched Daily (https://trakt.tv/movies/watched/daily) + - Most Watched Weekly (https://trakt.tv/movies/watched/weekly) + - Most Watched Monthly (https://trakt.tv/movies/watched/monthly) + - Most Watched Yearly (https://trakt.tv/movies/watched/yearly) - 1_seasonal.yml - Valentine's Day Movies (02/13-02/15) @@ -25,7 +28,7 @@ - New Year's Eve Movies (12/26-01-02) - 1_parental.yml - - Parental: All + - Parental: All (https://mdblist.com/lists/archivist/list-parental) - Parental: Random - Parental: Recently Added - Parental: Recently Released @@ -39,7 +42,7 @@ - Documentaries: Top Rated - 1_standup.yml - - Stand-up: All + - Stand-up: All (https://mdblist.com/lists/archivist/list-standup) - Stand-up: Random - Stand-up: Recently Added - Stand-up: Recently Released @@ -253,3 +256,4 @@ - 9_collections.yml - TMDb Collections +``` diff --git a/0x5f3/README.md b/0x5f3/README.md index fbc6ff1..310648f 100644 --- a/0x5f3/README.md +++ b/0x5f3/README.md @@ -1,6 +1,6 @@ #### This config will populate the following: ``` -- !Suggested (random, recently added|released, suggested, trending, popular, top-rated, unwatched, most watched) +- !Suggested (random, recently added|released, recommended, suggested, trending, popular, top-rated, unwatched, most watched) - !Seasonal * - Parental - Documentaries @@ -22,7 +22,7 @@ ###### For more details on what each section contains: [movies](MOVIES.md) | [shows](SHOWS.md) #### Requirements: ``` - - APP/API keys for: mdblist, tmdb, trakt + - API keys for: mdblist, tmdb, trakt ``` #### Install: ``` @@ -32,14 +32,13 @@ git clone -b remote https://github.com/0x5f3/pmm.config config ###### The initial process for populating collections: ``` -docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/movie.yml --collection-only --run --ignore-schedules -docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/show.yml --collection-only --run --ignore-schedules +docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/config.yml --collection-only --run --ignore-schedules ``` + ###### Following a successful initial run: ``` -docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/movie.yml --collection-only --run -docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/show.yml --collection-only --run +docker run --rm -it -v ./config:/config meisnate12/plex-meta-manager --config config/config.yml --collection-only --run ``` ###### A successful run will result in something similar to this: ![movies](https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/_/_movies.png) -![shows](https://github.com/0x5f3/pmm.config/blob/main/assets/_/_shows.png) +![shows](https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/_/_shows.png) \ No newline at end of file diff --git a/0x5f3/SHOWS.md b/0x5f3/SHOWS.md index cda0775..d6d38da 100644 --- a/0x5f3/SHOWS.md +++ b/0x5f3/SHOWS.md @@ -1,22 +1,25 @@ +``` - 1_suggested.yml - - Random TV shows + - Random TV shows (English) - Recently Added TV shows (English) - Recently Released TV shows (English) - - Suggested TV shows - - Trending TV shows - - Popular TV shows - - Top Rated TV shows + - Recommended TV shows (Trakt user's personal favourites and/or trakt/letterboxd lists) + - Suggested TV shows (Trakt most favourited daily/weekly/monthly/yearly/all charts and/or trakt/letterboxd lists) + - Trending TV shows (https://mdblist.com/lists/archivist/tv-trending) + - Popular TV shows (https://mdblist.com/lists/archivist/tv-popular) + - Top Rated TV shows (https://mdblist.com/lists/archivist/tv-top-rated) - Unwatched: Random TV shows + - Unwatched: Recommended TV shows - Unwatched: Suggested TV shows - Unwatched: Popular TV shows - Unwatched: Top Rated TV shows - - Most Watched Daily - - Most Watched Weekly - - Most Watched Monthly - - Most Watched Yearly + - Most Watched Daily (https://trakt.tv/shows/watched/daily) + - Most Watched Weekly (https://trakt.tv/shows/watched/weekly) + - Most Watched Monthly (https://trakt.tv/shows/watched/monthly) + - Most Watched Yearly (https://trakt.tv/shows/watched/yearly) - 1_parental.yml - - Parental: All + - Parental: All (https://mdblist.com/lists/archivist/list-parental) - Parental: Random - Parental: Recently Added - Parental: Recently Released @@ -152,3 +155,4 @@ - TLC - TNT - YouTube +``` diff --git a/0x5f3/config.yml b/0x5f3/config.yml new file mode 100644 index 0000000..1649298 --- /dev/null +++ b/0x5f3/config.yml @@ -0,0 +1,153 @@ +## config.yml + +libraries: + Movies: + library_type: movie + operations: + delete_unmanaged_collections: false + collection_files: +# - file: config/metadata/movie/0_radarr.yml + - file: config/metadata/movie/1_suggested.yml + - file: config/metadata/movie/1_seasonal.yml + - file: config/metadata/movie/2_year_top.yml + schedule: weekly(monday) + - file: config/metadata/movie/3_decades_top.yml + schedule: weekly(tuesday) +# - file: config/metadata/movie/4_awards.yml +# schedule: weekly(wednesday) + - file: config/metadata/movie/5_genre_popular.yml + - file: config/metadata/movie/6_genre_top.yml + schedule: weekly(thursday) +# - file: config/metadata/movie/7_subgenre_top.yml +# - file: config/metadata/movie/8_studio.yml +# schedule: weekly(wednesday) +# - file: config/metadata/movie/9_collections.yml +# schedule: weekly(sunday) +# - file: config/metadata/movie/1_parental_sync.yml +# - file: config/metadata/movie/1_parental.yml +# - file: config/metadata/movie/1_documentary.yml +# - file: config/metadata/movie/1_standup.yml + TV: + library_type: show + operations: + delete_unmanaged_collections: false + collection_files: +# - file: config/metadata/show/0_sonarr.yml + - file: config/metadata/show/1_suggested.yml + - file: config/metadata/show/2_year_top.yml + schedule: weekly(monday) + - file: config/metadata/show/3_decades_top.yml + schedule: weekly(wednesday) +# - file: config/metadata/show/4_awards.yml +# schedule: weekly(thursday) + - file: config/metadata/show/5_genre_popular.yml + - file: config/metadata/show/6_genre_top.yml + schedule: weekly(saturday) +# - file: config/metadata/show/7_network.yml +# - file: config/metadata/show/1_parental_sync.yml +# - file: config/metadata/show/1_parental.yml +# - file: config/metadata/show/1_documentary.yml +# KIDS: +# library_type: show +# operations: +# delete_unmanaged_collections: false +# collection_files: +# - file: config/metadata/show/0_sonarr.yml +# - file: config/metadata/show/1_parental_sync.yml +# - file: config/metadata/show/1_parental.yml +settings: + assets_for_all: false + asset_depth: 0 + asset_directory: + asset_folders: false + cache: true + cache_expiration: 60 + check_nightly: false + create_asset_folders: false + custom_repo: + default_collection_order: + delete_below_minimum: false + delete_not_scheduled: false + dimensional_asset_rename: false + download_url_assets: true + ignore_ids: + ignore_imdb_ids: + item_refresh: false + item_refresh_delay: 3 + minimum_items: 5 + missing_only_released: false + only_filter_missing: false + playlist_exclude_users: + playlist_report: true + playlist_sync_to_users: all + prioritize_assets: false + released_missing_only: false + run_again_delay: 5 + run_order: + - operations + - metadata + - collections + - overlays + save_missing: false + show_asset_not_needed: true + show_filtered: false + show_missing: false + show_missing_assets: true + show_missing_episode_assets: false + show_missing_season_assets: false + show_options: false + show_unconfigured: true + show_unmanaged: false + sync_mode: sync + tvdb_language: default + verify_ssl: false +plex: + url: + token: + timeout: 180 + clean_bundles: false + empty_trash: false + optimize: false +radarr: + url: + token: + add_missing: false + add_existing: false + root_folder_path: + monitor: true + availability: announced + quality_profile: + tag: + search: false + radarr_path: + plex_path: + upgrade_existing: false +sonarr: + url: + token: + add_missing: false + add_existing: false + root_folder_path: + monitor: all + quality_profile: + language_profile: English + series_type: standard + season_folder: true + tag: + search: false + cutoff_search: false + sonarr_path: + plex_path: + upgrade_existing: false +tmdb: + apikey: + language: en + cache_expiration: 60 + region: +mdblist: + apikey: + cache_expiration: 60 +trakt: + client_id: + client_secret: + pin: diff --git a/0x5f3/metadata/movie/1_seasonal.yml b/0x5f3/metadata/movie/1_seasonal.yml index 894ebdc..8c4c2e0 100644 --- a/0x5f3/metadata/movie/1_seasonal.yml +++ b/0x5f3/metadata/movie/1_seasonal.yml @@ -3,7 +3,7 @@ templates: seasonal: collection_mode: hide - collection_order: critic_rating.desc + collection_order: alpha delete_not_scheduled: true limit: 1000 sort_title: +1_<>_<> diff --git a/0x5f3/metadata/movie/1_suggested.yml b/0x5f3/metadata/movie/1_suggested.yml index 8935528..3df874b 100644 --- a/0x5f3/metadata/movie/1_suggested.yml +++ b/0x5f3/metadata/movie/1_suggested.yml @@ -80,6 +80,28 @@ templates: - mdblist_extra_4 - mdblist_extra_5 + letterboxd: + collection_mode: hide + collection_order: custom + delete_not_scheduled: false + sort_title: "+1_<>_<>" + sync_mode: sync + visible_home: false + visible_library: false + visible_shared: false + letterboxd_list: + - <> + - <> + - <> + - <> + - <> + optional: + - letterboxd_list_extra_01 + - letterboxd_list_extra_02 + - letterboxd_list_extra_03 + - letterboxd_list_extra_04 + - letterboxd_list_extra_05 + collections: "Random Movies": summary: "Random selection of movies" @@ -126,8 +148,21 @@ collections: sort_by: release.desc limit: 200 + "Recommended Movies": + collection_order: alpha + summary: "Based on personally favourited movies" + url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_recommended.png + template: { + name: letterboxd, + num: 0 +# letterboxd_list_extra_01: "https://letterboxd.com/########/list/movie-recommendations", + } + trakt_userlist: + - userlist: favorites + user: me + "Suggested Movies": - collection_order: random + collection_order: alpha summary: "Based on watched and favourited movies" url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_suggested.png template: { @@ -136,30 +171,27 @@ collections: # trakt_list_extra_01: "https://trakt.tv/users/########/lists/movie-recommendations-couchmoney-tv", # trakt_list_extra_02: "https://trakt.tv/users/########/lists/movies-based-on-recently-watched-couchmoney-tv" } - trakt_userlist: - - userlist: recommendations - user: me trakt_chart: - chart: recommended time_period: daily languages: en countries: us, gb, ie, ca, au, nz - limit: 25 + limit: 5 - chart: recommended time_perid: weekly languages: en countries: us, gb, ie, ca, au, nz - limit: 50 + limit: 10 - chart: recommended time_period: monthly languages: en countries: us, gb, ie, ca, au, nz - limit: 100 + limit: 25 - chart: recommended time_period: yearly languages: en countries: us, gb, ie, ca, au, nz - limit: 150 + limit: 50 - chart: recommended time_period: all languages: en @@ -222,6 +254,20 @@ collections: sort_by: random limit: 250 + "Unwatched: Recommended Movies": + summary: "Based on personally favourited movies" + url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_unwatched_recommended.png + template: { + name: plex, + num: 2 + } + smart_filter: + all: + collection: "Recommended Movies" + unplayed: true + collection_filtering: user + sort_by: title.asc + "Unwatched: Suggested Movies": summary: "Based on watched and favourited movies" url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_unwatched_suggested.png @@ -234,7 +280,7 @@ collections: collection: "Suggested Movies" unplayed: true collection_filtering: user - sort_by: random + sort_by: title.asc "Unwatched: Popular Movies": summary: "Popular movies across the internet" diff --git a/0x5f3/metadata/show/1_suggested.yml b/0x5f3/metadata/show/1_suggested.yml index 277b3be..73cacbe 100644 --- a/0x5f3/metadata/show/1_suggested.yml +++ b/0x5f3/metadata/show/1_suggested.yml @@ -80,6 +80,28 @@ templates: - mdblist_extra_4 - mdblist_extra_5 +# letterboxd: +# collection_mode: hide +# collection_order: custom +# delete_not_scheduled: false +# sort_title: "+1_<>_<>" +# sync_mode: sync +# visible_home: false +# visible_library: false +# visible_shared: false +# letterboxd_list: +# - <> +# - <> +# - <> +# - <> +# - <> +# optional: +# - letterboxd_list_extra_01 +# - letterboxd_list_extra_02 +# - letterboxd_list_extra_03 +# - letterboxd_list_extra_04 +# - letterboxd_list_extra_05 + collections: "Random TV shows": summary: "Random selection of TV shows" @@ -124,8 +146,21 @@ collections: sort_by: release.desc limit: 200 + "Recommended TV shows": + collection_order: alpha + summary: "Based on personally favourited TV shows" + url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_recommended.png + template: { + name: trakt, + num: 0 +# trakt_list_extra_01: "https://trakt.tv/users/########/lists/tv-recommendations", + } + trakt_userlist: + - userlist: favorites + user: me + "Suggested TV shows": - collection_order: random + collection_order: alpha summary: "Based on watched and favourited TV shows" url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_suggested.png template: { @@ -134,30 +169,27 @@ collections: # trakt_list_extra_01: "https://trakt.tv/users/########/lists/tv-recommendations-couchmoney-tv", # trakt_list_extra_02: "https://trakt.tv/users/########/lists/tv-based-on-recently-watched-couchmoney-tv" } - trakt_userlist: - - userlist: recommendations - user: me trakt_chart: - chart: recommended time_period: daily languages: en countries: us, gb, ie, ca, au, nz - limit: 25 + limit: 5 - chart: recommended time_perid: weekly languages: en countries: us, gb, ie, ca, au, nz - limit: 50 + limit: 10 - chart: recommended time_period: monthly languages: en countries: us, gb, ie, ca, au, nz - limit: 100 + limit: 25 - chart: recommended time_period: yearly languages: en countries: us, gb, ie, ca, au, nz - limit: 150 + limit: 50 - chart: recommended time_period: all languages: en @@ -220,6 +252,20 @@ collections: sort_by: random limit: 250 + "Unwatched: Recommended TV shows": + summary: "Based on personally favourited TV shows" + url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_unwatched_recommended.png + template: { + name: plex, + num: 1 + } + smart_filter: + all: + collection: "Recommended TV shows" + plays.lt: 1 + collection_filtering: user + sort_by: title.asc + "Unwatched: Suggested TV shows": summary: "Based on watched and favourited TV shows" url_poster: https://raw.githubusercontent.com/0x5f3/pmm.config/main/assets/1_suggested/suggested_unwatched_suggested.png @@ -232,7 +278,7 @@ collections: collection: "Suggested TV shows" plays.lt: 1 collection_filtering: user - sort_by: random + sort_by: title.asc "Unwatched: Popular TV shows": summary: "Popular TV shows across the internet"