Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification every day of collection creation around the Oscars #2415

Open
Derekcde opened this issue Jan 6, 2025 · 3 comments
Open

Notification every day of collection creation around the Oscars #2415

Derekcde opened this issue Jan 6, 2025 · 3 comments
Assignees

Comments

@Derekcde
Copy link

Derekcde commented Jan 6, 2025

Version Number

2.1.0

What branch are you on?

master

Describe the Bug

Good morning,

I have had this non-blocking but disturbing problem for a long time now. Every day I have notifications of collection creation for "Oscars Winners XXXX" even though I have neither added nor deleted films in my Plex, in the Kometa log, it adds the films every day that it added the day before, and I don't know why, whereas for the Golden Globes I have no problem.

Relevant Collection/Overlay/Playlist Definition

libraries:
  Films:
    collection_files:
      - default: seasonal
        template_variables:
          language: fr
          minimum_items: 3
          visible_home: true
          visible_shared: true
          sync_mode: sync
          use_independence: false 
          sort_by: random 
          imdb_list_christmas: https://www.imdb.com/list/ls027353066/
          mdblist_list_christmas: 
            - https://mdblist.com/lists/bluejack92/christmas-by-antares/
            - https://mdblist.com/lists/scottgigawatt/every-christmas-movie-ever-made/
          mdblist_list_halloween: https://mdblist.com/lists/linvo/halloween-popular-movies/
          mdblist_list_valentine: https://mdblist.com/lists/linvo/valentines-day-popular-movies/
          emoji: "" #PLEX BUG EMOJI
      - default: based
        template_variables:
          language: fr
          minimum_items: 3
          use_separator: false
          exclude:
            - comics
            - video_games
      - default: decade
        template_variables:
          use_separator: false   
          language: fr
          minimum_items: 3
      - default: golden                                   # Golden Globes Awards
        template_variables:                           # Show collections from latest-10 onwards.
          language: fr
          minimum_items: 3
          use_separator: false
          data:
            starting: latest-2
            ending: latest
      - default: oscars                                   # The Oscars
        template_variables:
          language: fr                           # Show collections from latest-10 onwards.
          minimum_items: 3
          use_separator: false
          data:
            starting: latest-2
            ending: latest
    overlay_files:
    - remove_overlays: false
      #- reapply_overlay: true
    - default: resolution
    operations:
      mass_content_rating_update: 
        - mdb_commonsense
        - mdb_age_rating
      #delete_collections:
      #  configured: false
      #  managed: true

  Séries TV:
    overlay_files:
    - remove_overlays: false   # Set to true if you want to remove overlays
    #- reapply_overlay: true  # If you are doing a lot of testing and changes like me, keep this to true to always reapply overlays - can cause image bloat
    #- reset_overlays: tmdb # if you want to reset the poster to default poster from tmdb - can cause image bloat
    - default: streaming
      template_variables:
        vertical_offset: 15
    - default: resolution
      template_variables:
        overlay_level: episode
        vertical_align: bottom
        horizontal_align: left
    - default: runtimes
      template_variables:
        overlay_level: episode
        vertical_align: bottom
        horizontal_align: right
        text: ''
        back_width: 254

settings:
  cache: true
  cache_expiration: 60
  asset_directory: config/assets
  asset_folders: true
  asset_depth: 0
  create_asset_folders: true
  prioritize_assets: false
  dimensional_asset_rename: false
  download_url_assets: false
  show_missing_season_assets: false
  show_missing_episode_assets: false
  show_asset_not_needed: true
  sync_mode: append
  minimum_items: 2
  default_collection_order:
  delete_below_minimum: true
  delete_not_scheduled: false
  run_again_delay: 2
  missing_only_released: false
  only_filter_missing: false
  show_unmanaged: true
  show_unconfigured: true
  show_filtered: false
  show_options: false
  show_missing: false
  show_missing_assets: true
  save_report: false
  tvdb_language: fra
  ignore_ids: None
  ignore_imdb_ids: None
  item_refresh_delay: 0
  playlist_sync_to_user: all
  playlist_exclude_users: None
  playlist_report: false
  verify_ssl: true
  custom_repo: None
  check_nightly: false
  run_order:
  - operations
  - metadata
  - collections
  - overlays
  overlay_artwork_filetype: jpg
  overlay_artwork_quality:
plex:                            # Can be individually specified per library as well; REQUIRED for the script to run
  url: http://192.168.1.14:32400
  token: XXXXxxxxXXXX
  timeout: 60
  clean_bundles: true
  empty_trash: true
  optimize: true
  verify_ssl: false
  db_cache: 40
tmdb:                            # REQUIRED for the script to run
  apikey: XXXXXxxxXXXX
  language: fr
  cache_expiration: 60
  region: FR
mdblist:
  apikey: XXXXxxxxXXX
  cache_expiration: 60
gotify:
  url: https://XxxxxXxXx
  token: xXXXXxxXxx
webhooks: 
  error: gotify
  run_start: gotify
  run_end: gotify
  changes: gotify
  delete: gotify
  version: gotify

Logs

https://gist.github.com/Derekcde/f041700a40e31fe2da8e1a016f2df635

@Derekcde Derekcde added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Jan 6, 2025
@YozoraXCII
Copy link
Contributor

Can you attach the entirel og please.

This is happening because of

[2025-01-06 09:03:18,189] [builder.py:712]            [DEBUG]    | Validating Method: delete_collections_named                                                        |
[2025-01-06 09:03:18,189] [builder.py:713]            [DEBUG]    | Value: ['Oscars Winners 2022']      

I'd like to see the full log to understand what else is happening

@YozoraXCII
Copy link
Contributor

This is being caused by language: fr, when you set the language, it will look for and delete the English named collection prior to creating the new collection.

@YozoraXCII YozoraXCII removed status:not-yet-viewed I haven't reviewed the Feature or Bug yet bug Bug is with Plex Meta Manager labels Jan 6, 2025
@Derekcde
Copy link
Author

Derekcde commented Jan 8, 2025

ok, but it's strange that it doesn't happen like that for the other collections?

Here is a complete log of a Kometa execution:
https://gist.github.com/Derekcde/6abb208c236c01bea771f6438225c0b4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants