HerrKnarz / Playnite-Extensions

Collection of useful Playnite extensions. See Readme for details!
MIT License
18 stars 2 forks source link

Game company links #61

Open chocolatechipcats opened 1 year ago

chocolatechipcats commented 1 year ago

Describe the solution you'd like An option to provide a link for a game company. This automatically adds the link to any game that has that company in the developer or publisher field.

I think this would be in scope for both Link Utilities or Company Companion.

Describe alternatives you've considered Bulk-editing works, but is easy to forget new games.

Additional context Additional options:

HerrKnarz commented 1 year ago

Option A would be to add the function to the Link Utilities addon, since that one already has all the needed code to search for and add links. I could add new link sources for companies then to search for links on MobyGames, Wikipedia etc. using the company names instead of the game name. On those sites I could then also optionally search for a link to an official company website. I don't really like the idea, that all those company links would be redundant that way, though.

That's where option B comes in. I already toyed with the idea to extend the Company Companion addon to add new fields like links and descriptions to companies, but that's very low on the todo list currently because of the scope of that feature. That would mean adding my own company database and a "manage companies" window, since the library manager can't be changed by an addon afaik. Since I'd want to add links and descriptions automatically, I'd also have to add metadata providers for sites like Wikipedia and MobyGames to fetch links and descriptions then. To display the additional data in the games I'd add a feature for theme developers to add them to a theme, so the links would change automatically if changed in the company data. I also could add a function to automatically add company links to the games directly and then let link utilities do the rest, but that would make them redundant again.

Either way that would be no small feat and especially with option B I'd wait for playnite 11 at least before trying to implement it.