Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Playnite extension from the existing code #15

Open
JMTK opened this issue Mar 27, 2023 · 0 comments
Open

Create a Playnite extension from the existing code #15

JMTK opened this issue Mar 27, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@JMTK
Copy link
Owner

JMTK commented Mar 27, 2023

Playnite is an open source video game library manager with one simple goal: To provide a unified interface for all of your games.

Playnite has support for C# extensions. What we could do is abstract a lot of this code from the Console Runner(so all the options/flags parsing would be in one file, but the actual scanning code would be in another) and then create a new file/project that is for registering as a Playnite extension.

The best way I see it working is we have 3 projects:

  • PlayniteExtension.csproj
    • Handles exporting your Playnite library to apps.json
  • ConsoleRunner.csproj
    • Parses command line flags, handles console color logging
  • SunshineGameFinder.csproj
    • Represents the finding of the games, logic around which files to exclude etc
@JMTK JMTK added the good first issue Good for newcomers label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant