#Display ratings and remove unused collections

1 messages · Page 1 of 1 (latest)

zealous imp
#

How do I remove unused collections (I previously had studio, but have sinced removed it but the studio collections aren't removing in plex).

Secondly, only rotten tomatoes ratings are displaying on my films, but I have requested multiple in my config.

libraries:
  Movies:
    reapply_overlays: true
    remove_overlays: false
    collection_files:
    - default: basic
    - default: imdb
    - default: streaming
    - file: MyCollections.yml
    overlay_files:
    - default: ribbon
    - default: ratings
    - default: runtimes
    - default: resolution
    template_variables:
      rating1: critic
      rating2: audience
      rating3: user
      rating1_image: imdb
      rating2_image: rt_tomato
      rating3_image: tmdb
  TV Shows: 
    reapply_overlays: true
    remove_overlays: false
    collection_files:
    - default: basic
    - default: imdb
    - default: streaming
    - file: MyCollections.yml
    overlay_files:
    - default: ribbon
    - default: ratings
    - default: runtimes
    - default: resolution
    template_variables:
      rating1: critic
      rating2: audience
      rating3: user
      rating1_image: imdb
      rating2_image: rt_tomato
      rating3_image: tmdb
  operations:
    mass_critic_rating_update: imdb
    mass_audience_rating_update: mdb_tomatoes
    mass_user_rating_update: tmdb
playlist_files:
- default: playlist
merry walrusBOT
#

Welcome @zealous imp!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

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.

final glade
#

When you remove collections from your config.yml, they will not automatically delete in Plex - this is by design.

You can remove them in the Plex UI, or use the delete_collections operation to specify movies that were previously created by Kometa but are no longer found in the config.yml:

libraries:
  Movies:
    operations:
      delete_collections:
        configured: false
        managed: true
#

for the ratings, we'd need to see a log

#

I see you're using reapply_overlays: true, I strongly suggest you do not do this, it will slow down your runs and cause image bloat.

zealous imp
merry walrusBOT
#

📝 If you want to review this again, antwanchild:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

merry walrusBOT
# merry walrus
**User Info**

Author of Linked Message: E720
Person who Invoked the Command: Antwan
File Name: meta.log.9

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation
Page 05: Plex Configuration - Section 1
Page 06: Plex Configuration - Section 2
Page 07: Plex Configuration - Section 3
Page 08: Plex Configuration - Section 4
Page 09: Plex Configuration - Section 5
Page 10: Rec 01 - ❌ ANIDB AUTH ERRORS
Page 11: Rec 02 - ❌🔒 BLANK API KEY ERROR
Page 12: Rec 03 - ❌ [ERROR]
Page 13: Rec 04 - ❌ MY ANIME LIST CONNECTION ERROR
Page 14: Rec 05 - ❌ PLEX LIBRARY ERROR
Page 15: Rec 06 - ⚠️ [WARNING]
Page 16: Rec 07 - ⚠️ NO ITEMS FOUND IN PLEX
Page 17: Rec 08 - ⚠️ PLEX REGEX ERROR
Page 18: Rec 09 - 💬 CONVERT WARNING
Page 19: Rec 10 - 💬💡️ PLEX DB CACHE ADVICE

merry walrusBOT
wintry totem
#

so your operations is at the wrong level:yaml operations: mass_critic_rating_update: mdb_trakt mass_audience_rating_update: tmdb mass_user_rating_update: imdb
Kometa thinks operations is a library. you need an operations with the ratings updates for each library

#
    - default: resolution
    template_variables:
      rating1: critic
      rating1_image: trakt
      rating2: audience
      rating2_image: tmdb
      rating3: user
      rating3_image: imdb```
The above is also incorrect in every instance it exists.  (1) those variables do not go with resolution. (2) `template_variables` is not at the correct indentation
#

you also cannot have the below without variablesyaml Movies - Local: remove_overlays: false overlay_files: - default: ribbon - default: ratings ###<--- This requires variables

twilit remnant
#

Kometa will not auto-remove collections that you remove from your config.

It generally will not delete anything from Plex unless specifically instructed to.

You can set up collection deletion if a variety of ways, but for a one-off it's typically simplest to delete them in the UI.

#

We have seen the multiple playlist thing once or twice as I recall. and I think it was related to issues inside Plex. There was discussion of a possible workaround, but I can't recall if it made it into the tool yet.

wintry totem
twilit remnant
#

Mentioned in original post

wintry totem
#

ok, i didn't see that in general chat

wintry totem
#

@zealous imp see all the above

twilit remnant
#

I think the multiple playlist thing was related to some issues inside the Plex database.

zealous imp
#

Thanks - the ratings are working now. However, I've noticed that in my collections tab, most collections are repeating themselves lots of times.

For example, it currently looks like the attached image. How do I stop the collections from repeating themselves?

twilit remnant
#

That's evidence of some database or other problem inside Plex since Plex shouldn't allow that; there's no way for Kometa [or any other script that uses the API] to force Plex to do that.

#

I'd delete all those dupes, then do all the Plex database maintenance as a first step.

zealous imp