1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-24 22:36:19 -04:00

Maintain relative path when reprocessing items in manual import

This commit is contained in:
Mark McDowall
2026-03-08 11:42:40 -07:00
parent 526ef5428d
commit fa69c485e9
3 changed files with 8 additions and 0 deletions
@@ -116,6 +116,7 @@ export const useUpdateInteractiveImportItems = () => {
interface ReprocessInteractiveImportItem extends ModelBase {
path: string;
relativePath: string;
seriesId: number | undefined;
seasonNumber: number | undefined;
episodeIds: number[] | undefined;
@@ -179,6 +180,7 @@ export const useReprocessInteractiveImportItems = () => {
acc.push({
id,
path: item.path,
relativePath: item.relativePath,
seriesId: item.series ? item.series.id : undefined,
seasonNumber: item.seasonNumber,
episodeIds: (item.episodes || []).map((e) => e.id),