diff --git a/music_assistant/server/providers/tidal/__init__.py b/music_assistant/server/providers/tidal/__init__.py index 2c5106ee7..f470f377e 100644 --- a/music_assistant/server/providers/tidal/__init__.py +++ b/music_assistant/server/providers/tidal/__init__.py @@ -548,7 +548,7 @@ async def _parse_artist(self, artist_obj: TidalArtist, full_details: bool = Fals async def _parse_album(self, album_obj: TidalAlbum, full_details: bool = False) -> Album: """Parse tidal album object to generic layout.""" name = album_obj.name - version = album_obj.version if album_obj.version is not None else None + version = album_obj.version or "" album_id = album_obj.id album = Album( item_id=str(album_id), @@ -606,7 +606,7 @@ async def _parse_track( extra_init_kwargs: dict[str, Any] | None = None, ) -> Track | AlbumTrack | PlaylistTrack: """Parse tidal track object to generic layout.""" - version = track_obj.version if track_obj.version is not None else None + version = track_obj.version or "" track_id = str(track_obj.id) if extra_init_kwargs is None: extra_init_kwargs = {}