{#if checkSong(mediaItem) || checkAlbum(mediaItem)}
{#each mediaItem.artists as artist}
{@const listIndex = mediaItem.artists.indexOf(artist)}
{artist.name}
{#if listIndex === mediaItem.artists.length - 2}
&
{:else if listIndex < mediaItem.artists.length - 2}
,
{/if}
{/each}
{/if}