fix: correctly populate ratingKey during music import for Plex and properly display artist name in the slide-over menu
This commit is contained in:
@@ -547,6 +547,7 @@ class BaseScanner<T> {
|
||||
externalServiceId,
|
||||
externalServiceSlug,
|
||||
mediaAddedAt,
|
||||
ratingKey,
|
||||
processing = false,
|
||||
title = 'Unknown Title',
|
||||
}: ProcessOptions = {}
|
||||
@@ -570,6 +571,10 @@ class BaseScanner<T> {
|
||||
newMedia.mediaAddedAt = mediaAddedAt;
|
||||
}
|
||||
|
||||
if (ratingKey) {
|
||||
newMedia.ratingKey = ratingKey;
|
||||
}
|
||||
|
||||
if (serviceId) {
|
||||
newMedia.serviceId = serviceId;
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@ const ManageSlideOver = ({
|
||||
isMovie(data)
|
||||
? data.title
|
||||
: isMusic(data)
|
||||
? `${data.artist} - ${data.title}`
|
||||
? `${data.title} - ${data.artist.artistName}`
|
||||
: data.name
|
||||
}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user