Viperinius / jellyfin-plugin-spotify-import

Import playlists from Spotify in Jellyfin
GNU General Public License v3.0
35 stars 2 forks source link

Plugin is matching for album/author when it shouldn't be #45

Open skybird23333 opened 1 day ago

skybird23333 commented 1 day ago

Although this is related to matching songs I feel this is more of a bug rather than issues with the tracks, so I did not use the template. Sorry if that wasn't the case.

Using the following settings:

I still can't get the tracks to match properly. Logs seem to say that the plugin is actively matching for album/author anyway even though the option was turned off.

[2024-11-07 14:13:29.394 +08:00] [INF] Now processing provider track "Swimming Pools (Drank)" ["Swimming Pools (Drank)"]["Kendrick Lamar"]["Kendrick Lamar"]
[2024-11-07 14:13:29.399 +08:00] [INF] > Reached end of album list (has 0 entries)
[2024-11-07 14:13:29.399 +08:00] [INF] > Reached end of artist list
[2024-11-07 14:13:29.399 +08:00] [INF] AlbumName, Artists did not match for track "Swimming Pools (Drank)" ["Swimming Pools (Drank)"]["Kendrick Lamar"]

As a test I turned on legacy track matching and it immediately worked.

Viperinius commented 18 hours ago

The log messages are a bit misleading in that case, the last line here for example will automatically contain AlbumName did not match if a potential artist was scanned that had no albums at all even if the album name won't be checked.

With the "non-legacy" matching, items are scanned hierarchically (from artist to track), starting with querying Jellyfin for any artists containing the first few characters of a Spotify artist. In the current release this might lead to it not matching when the artist criterium is not set, if this search returns multiple candidates and the actual match is not the first result.

To get a hint if that is what is blocking your track from being matched, please enable debug logging for the plugin as described in the second step here and post the resulting log snippet after running the task again.