#Bypass/Delete cache for a single collection

1 messages · Page 1 of 1 (latest)

inland jewel
#

Hi, is there a way to bypass/delete cache for a single collection? I have a Top 25 Trending Shows collection that adds only a single show to the collection and after doing some debugging, it seems like the cache has only one show in that collection for some reason.

I would think collections wouldnt be cached to get updated media that needs to be added so I am a but confused, but how can I get rid of the cache for this collection so it does a fresh api request for trakt?

Here is the relevant section of the output should it be needed: https://privatebin.net/?d5adfba525a1323e#5GamW8eJqSZTLwQ1FvVBBdguhwaqXZj3YdUxVNnvva8j

brave copperBOT
#

Welcome @inland jewel!

Thanks for being a Kometa Sponsor, we greatly appreciate it! Your ticket will now be diverted to <@&1097919568334311495> and <@&938443185347244033>.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

eager barn
#

I'm not at my computer to review anything but adding cache_builders: 0 to your collection definition makes it never cache

#

Example:

collections:
  Marvel Cinematic Universe:
    cache_builders: 0
    trakt_list: https://trakt.tv/users/jawann2002/lists/marvel-cinematic-universe-movies
inland jewel
#

Awesome will give this a try and report back! Thanks!

#

@eager barn What if it looks like this:

  TV Shows:
    collection_files: &metadata_tvshows
    - default: trakt
      template_variables:
        limit: 25
        name_popular: Top 25 Popular Shows
        name_trending: Top 25 Trending Shows
        url_poster_popular: https://theposterdb.com/api/assets/204278
        url_poster_trending: https://theposterdb.com/api/assets/204195
        use_collected: false
        use_recommended: false
        use_watched: false
        visible_library: true
        visible_home: true
        visible_shared: true
        sonarr_add_missing: true
        collection_order: custom
    - default: streaming
      template_variables:
        exclude:
        - bet
        - crave
        - crunchyroll
        - hayu
        - now
        name_format: <<key_name>>
        visible_library: true
        visible_home: false
        visible_shared: false
    - default: genre
      template_variables:
        exclude:
        - Anime
        - Politics
        - News
        name_format: <<key_name>>

Not sure exactly where to put it

dry meadow
#

You can use it as a template variable like the others you have there.

runic ginkgoBOT
#

antwanchild used !aenh

@inland jewel, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.

inland jewel
#

Nope this worked, thank you all!