Skip to content

[BUG] Cannot fix rating_key matches for "Artist" library type #2429

@polklabs

Description

@polklabs

Describe the Bug

My Plex library got messed up so I had to import all my media again.
Now all Tautulli media is not linked properly. I was able to use update_all_metadata.py to fix this for my Movie and TV Show library. But now I'm stuck trying to fix my music library.

In the web UI clicking fix match does not actually fixed the match. I also refactored update_all_metadata.py to work for music but when calling the update_metadata_details, nothing happens. The rating key is not changed.

For movies and tv I saw logs saying that Tautulli was updating the rating key. For music I don't see any logs.

Not sure what to do. Other than writing some SQL to try and update the database directly.

Steps to Reproduce

Get some music with mismatched rating key from plex.
Make sure that music has history in Tautulli.
Open the track from history tab.
Click fix match.
Select the correct match.
Click "Update" in the popup window.
... Nothing happens
Go back to library, play count has not updated and music track is still unmatched.

Same thing happens if I try and call the api

Expected Behavior

The rating key should be updated for item, parents, and grandparents in the music library

Screenshots

image

image

Relevant Settings

No response

Tautulli Version

v2.14.6

Git Branch

master

Git Commit Hash

940c2ae

Platform and Version

docker:latest

Python Version

3.11.9

Browser and Version

Firefox 132.0.1 and http post requests

Link to Logs

https://gist.github.com/polklabs/148af5fc5b0d4a4cd6434c74574c7da6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions