HerrKnarz / Playnite-Extensions

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

[Enhancement] Add an option to open Steam Links in the Steam Client. #71

Closed Jas-SinghFSU closed 11 months ago

Jas-SinghFSU commented 12 months ago

Is your feature request related to a problem? Please describe. The links that are currently fetched by Metadata sources always open in a browser since they are your standard URLs. Often times, you're logged into Steam and/or maybe you want to install a Workshop item for a Steam game and to do that, you have to log into steam on the browser. Whereas, if I was able to open steam links in steam, I could easily manage all of that.

Describe the solution you'd like

Allow an option to open all Steam links with Steam (a checkbox in the settings).

Describe alternatives you've considered A more powerful tool would be an entirely new 'Reformatting' tab for link where you can modify/morph links.

Ex: https://steamcommunity.com/app/730/discussions/ could be morphed via a regex

(.*)steamcommunity.com(.*)

into

steam://openurl/https://steamcommunity.com/$2

Where $2 ($n where n is the matched regex - $1 would be https://) is the 2nd matched regex /app/730/discussions/.

But I think this is way out of scope for this specific ask and is probably an entirely new feature request instead.

Jas-SinghFSU commented 12 months ago

There is a Microsoft Edge extension that does exactly what I recommended in my alternatives called Redirector.

Screenshot 2023-10-10 180719

HerrKnarz commented 12 months ago

Hmm, I don't know if it's possible for an extension to change the link once it is clicked. I can add a function to convert already existing links though, and add options to fetch new links directly in the steam app format and also add links to discussions, workshop etc.

Jas-SinghFSU commented 11 months ago

Yea, I think that's ideal. Changing links that currently exist and changing new links automatically would solve this.

Not sure how useful changing links after they're clicked would be, even if possible.

HerrKnarz commented 11 months ago

I added the functionality now. It will be available with the 3.6 release shortly.

Jas-SinghFSU commented 10 months ago

Man, that is awesome. Thank you!