jellyfin-kodi/jellyfin_kodi
Claudio Saavedra c65e073033 music.py: fix addition of song artist different from album artist
When adding a Various Artists album (or an album with guest artists)
where song artists are different from the album artist, the codepath
followed to add the artist if it's missing was broken:

  Traceback (most recent call last):
    File "jellyfin_kodi/objects/music.py", line 460, in song_artist_link
      temp_obj["ArtistId"] = self.jellyfin_db.get_item_by_id(
  TypeError: 'NoneType' object is not subscriptable

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "jellyfin_kodi/objects/music.py", line 467, in song_artist_link
      temp_obj["ArtistId"] = self.jellyfin_db.get_item_by_id(
    TypeError: 'NoneType' object is not subscriptable

Passing the library used for the song when trying to fetch the artist
so that it's used fixes this for me.

Fixes #913 and #837
2026-03-15 14:57:08 +02:00
..
database Tool: black 2026-02-11 00:48:18 +01:00
dialogs Fix import groups 2026-02-11 00:26:24 +01:00
entrypoint Fix flake8 complaints 2025-09-16 05:26:28 +02:00
helper Merge pull request #1094 from kontell/patch-1 2026-02-13 09:28:50 -05:00
jellyfin Merge pull request #1097 from mcarlton00/legacy-auth 2026-02-11 19:31:43 +01:00
objects music.py: fix addition of song artist different from album artist 2026-03-15 14:57:08 +02:00
__init__.py
client.py Properly encode device name and related parameters 2025-09-12 02:54:54 +02:00
connect.py Remove kodi_six: import directly 2024-06-11 05:28:19 +00:00
downloader.py Remove six.moves: range, queue 2024-06-11 02:56:52 +00:00
full_sync.py Fix spelling 2025-09-18 22:41:24 +02:00
library.py Remove missed references to LibraryException.status 2025-09-18 21:28:33 +02:00
monitor.py Remove kodi_six: import directly 2024-06-11 05:28:19 +00:00
player.py Tool: black 2026-02-11 00:25:51 +01:00
views.py Remove kodi_six: import directly 2024-06-11 05:28:19 +00:00