Skip to content

feat(core): add name-based fallback matching in export path#29

Open
hikaps wants to merge 1 commit into
developfrom
issue-25-wise-narwhal
Open

feat(core): add name-based fallback matching in export path#29
hikaps wants to merge 1 commit into
developfrom
issue-25-wise-narwhal

Conversation

@hikaps

@hikaps hikaps commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds name-based fallback matching in the export path so manually-created Steam shortcuts can be merged with Playnite entries instead of creating duplicates
  • Single name match: ShowMessage(YesNo) confirmation dialog asking user to merge (preserving AppId and controller profile)
  • Multiple name matches: ChooseItemWithSearch picker listing matches with exe paths + "Create new entry" option
  • Detection-only name check in BuildSelectionCandidate() so the selection dialog shows "already in Steam" tag
  • ExportMap registration works unchanged -- merged entries are registered for subsequent re-exports

Closes #25

Testing

  • Build: 0 errors, 0 warnings
  • All 199 existing tests pass
  • Only ImportExportService.cs modified (75 lines added)

When a manually-created Steam shortcut exists with the same name as a
Playnite game, the export path now detects the match and prompts the
user to confirm merging onto the existing shortcut (preserving AppId
and controller profile bindings) instead of creating a duplicate.

Single match shows a Yes/No confirmation dialog; multiple matches
present a ChooseItemWithSearch picker with a 'Create new entry' option.

Closes #25
@hikaps hikaps force-pushed the issue-25-wise-narwhal branch from a8a79fe to 7c90c63 Compare May 12, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant