+
+
-
- {intl.formatMessage({ id: "movie_scene_number" })}
+
+ {intl.formatMessage({ id: "group_scene_number" })}
{renderTableData()}
diff --git a/ui/v2.5/src/components/Scenes/SceneDetails/SceneScrapeDialog.tsx b/ui/v2.5/src/components/Scenes/SceneDetails/SceneScrapeDialog.tsx
index 80ad9850f9f..5cdbd6d9930 100644
--- a/ui/v2.5/src/components/Scenes/SceneDetails/SceneScrapeDialog.tsx
+++ b/ui/v2.5/src/components/Scenes/SceneDetails/SceneScrapeDialog.tsx
@@ -17,18 +17,18 @@ import {
ScrapeResult,
} from "src/components/Shared/ScrapeDialog/scrapeResult";
import {
- ScrapedMoviesRow,
+ ScrapedGroupsRow,
ScrapedPerformersRow,
ScrapedStudioRow,
} from "src/components/Shared/ScrapeDialog/ScrapedObjectsRow";
import {
- useCreateScrapedMovie,
+ useCreateScrapedGroup,
useCreateScrapedPerformer,
useCreateScrapedStudio,
} from "src/components/Shared/ScrapeDialog/createObjects";
import { Tag } from "src/components/Tags/TagSelect";
import { Studio } from "src/components/Studios/StudioSelect";
-import { Movie } from "src/components/Movies/MovieSelect";
+import { Group } from "src/components/Movies/MovieSelect";
import { useScrapedTags } from "src/components/Shared/ScrapeDialog/scrapedTags";
interface ISceneScrapeDialogProps {
@@ -36,7 +36,7 @@ interface ISceneScrapeDialogProps {
sceneStudio: Studio | null;
scenePerformers: Performer[];
sceneTags: Tag[];
- sceneMovies: Movie[];
+ sceneGroups: Group[];
scraped: GQL.ScrapedScene;
endpoint?: string;
@@ -48,7 +48,7 @@ export const SceneScrapeDialog: React.FC = ({
sceneStudio,
scenePerformers,
sceneTags,
- sceneMovies,
+ sceneGroups,
scraped,
onClose,
endpoint,
@@ -114,12 +114,12 @@ export const SceneScrapeDialog: React.FC = ({
scraped.performers?.filter((t) => !t.stored_id) ?? []
);
- const [movies, setMovies] = useState<
+ const [groups, setGroups] = useState<
ObjectListScrapeResult
>(
new ObjectListScrapeResult(
sortStoredIdObjects(
- sceneMovies.map((p) => ({
+ sceneGroups.map((p) => ({
stored_id: p.id,
name: p.name,
}))
@@ -127,7 +127,7 @@ export const SceneScrapeDialog: React.FC = ({
sortStoredIdObjects(scraped.movies ?? undefined)
)
);
- const [newMovies, setNewMovies] = useState(
+ const [newGroups, setNewGroups] = useState(
scraped.movies?.filter((t) => !t.stored_id) ?? []
);
@@ -157,11 +157,11 @@ export const SceneScrapeDialog: React.FC = ({
setNewObjects: setNewPerformers,
});
- const createNewMovie = useCreateScrapedMovie({
- scrapeResult: movies,
- setScrapeResult: setMovies,
- newObjects: newMovies,
- setNewObjects: setNewMovies,
+ const createNewGroup = useCreateScrapedGroup({
+ scrapeResult: groups,
+ setScrapeResult: setGroups,
+ newObjects: newGroups,
+ setNewObjects: setNewGroups,
});
const intl = useIntl();
@@ -176,7 +176,7 @@ export const SceneScrapeDialog: React.FC = ({
director,
studio,
performers,
- movies,
+ groups,
tags,
details,
image,
@@ -184,7 +184,7 @@ export const SceneScrapeDialog: React.FC = ({
].every((r) => !r.scraped) &&
newTags.length === 0 &&
newPerformers.length === 0 &&
- newMovies.length === 0 &&
+ newGroups.length === 0 &&
!newStudio
) {
onClose();
@@ -202,7 +202,7 @@ export const SceneScrapeDialog: React.FC = ({
director: director.getNewValue(),
studio: newStudioValue,
performers: performers.getNewValue(),
- movies: movies.getNewValue(),
+ movies: groups.getNewValue(),
tags: tags.getNewValue(),
details: details.getNewValue(),
image: image.getNewValue(),
@@ -253,12 +253,12 @@ export const SceneScrapeDialog: React.FC = ({
newObjects={newPerformers}
onCreateNew={createNewPerformer}
/>
- setMovies(value)}
- newObjects={newMovies}
- onCreateNew={createNewMovie}
+ setGroups(value)}
+ newObjects={newGroups}
+ onCreateNew={createNewGroup}
/>
{scrapedTagsRow}
= (
}
};
- const MovieCell = (scene: GQL.SlimSceneDataFragment) => (
+ const GroupCell = (scene: GQL.SlimSceneDataFragment) => (