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

Empty trash doesn't seem to work #2176

Open
Skaronator opened this issue Jul 28, 2024 · 1 comment
Open

Empty trash doesn't seem to work #2176

Skaronator opened this issue Jul 28, 2024 · 1 comment
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@Skaronator
Copy link

Version Number

v2.0.2

What branch are you on?

master

Describe the Bug

I've enabled plex.empty_trash: true yet Kometa doesn't seem to empty the trash for my libraries.

This is my configuration:

    plex:
      url: https://plex:32400
      token: <<SECRET_PLEX_TOKEN>>
      clean_bundles: true
      optimize: true
      empty_trash: true

But after running Kometa it doesn't clean the trash of my movies and TV series. As you can see, I have items that look like this:
image

I checked the code and noticed that I've to define each library explicitly, so I had added my tv show library, but both movies and tv show libraries doesn't empty the trash.

Here is my full, currently deployed, configuration: https://github.com/Skaronator/homelab/blob/main/kubernetes/media/kometa/values.yaml#L28

Relevant Collection/Overlay/Playlist Definition

No response

Logs

https://gist.github.com/Skaronator/08cdba1e39b26f6b09e3544a752d66f6

@Skaronator Skaronator added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Jul 28, 2024
@chazlarson
Copy link
Contributor

chazlarson commented Jul 29, 2024

It appears that there's an issue where the values from the config doesn't make it down to the library:

grep -i -e "trash" config/logs/meta.log
[2024-07-29 15:15:12,606] [config.py:193]             [DEBUG]    |   empty_trash: true
[2024-07-29 15:15:15,516] [kometa.py:623]             [DEBUG]    | Empty Trash: False

grep -i -e "optimize" config/logs/meta.log
[2024-07-29 15:15:12,606] [config.py:193]             [DEBUG]    |   optimize: true
[2024-07-29 15:15:15,516] [kometa.py:624]             [DEBUG]    | Optimize: False

grep -i -e "clean" config/logs/meta.log
[2024-07-29 15:15:12,606] [config.py:193]             [DEBUG]    |   clean_bundles: true
[2024-07-29 15:15:15,516] [kometa.py:622]             [DEBUG]    | Clean Bundles: False

meisnate12 added a commit that referenced this issue Aug 12, 2024
@meisnate12 meisnate12 mentioned this issue Aug 12, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

3 participants