Git Product home page Git Product logo

playnite-pcgamingwiki-metadata-provider's People

Contributors

lscholte avatar renovate[bot] avatar sharkusmanch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

playnite-pcgamingwiki-metadata-provider's Issues

strict search of PCGW causes problems

While trying to download metadata(in my case only the series) for some games i get no results.
This is because the name of the game in Playnite doesn't exactly match the name on PCGW.
Some examples:

"The Settlers - History Edition":
While The Settlers - History Edition and The Settlers 7 - History Edition have series metadata,
the titles from 2 to 6 don't have it. PCGW uses the original release titles.
2 to 4 use roman numbers, 5 is The Settlers: Heritage of Kings - History Edition and 6 is The Settlers: Rise of an Empire - History Edition

"Watch Dogs":
Ubisoft named these WATCH_DOGS at least 1 and 2.

The whole Tom Clancy's Series is an odd one out, none of those get the metadata despite having the same name from what i can tell.

And a lot others which i am not going name all unless you want it.

Allow prioritization of Critc Score sources

PCGamingWiki has three potential sources for Critic Score: Open Critic, IGDB, Metacritic

Allow the user to customize prioritize the order of these score to determine which should be used. Also optionally disable some.

Add tagging for Multiplayer types

Would it be possible to add tagging for Multiplayer types, like Local, LAN, etc.

This is currently the only possibility to filter for Couch-Coop and LAN party games.

Enhance search matching

Games with common names can easily get multiple results. Sometimes the expected result won't even be a result returned by the api:

  1. Paginate through results as needed
  2. Better method of selecting a default result than just using the first result.

journery

Add option to mark different types of tags

Since there are different types of tags like engine, perspective, pacing etc. it would be great to have an option to add the type to the name of the tag - for example "[Perspective] First-person" or "[Engine] Unreal Engine 4". That way the tags can be sorted by type and are easier to grasp.

Apostrophe in title occasionally breaks search

Possibly related: #28

Steps to replicate:

  1. Create a game with title Sid Meier's Civilization II.
  2. Use Download Metadata > PCGamingWiki. Zero results.
  3. Remove Sid Meier's from the search. The first result is... Sid Meier's Civilization II.

I can also replicate this with Sid Meier's Railroads! and Sid Meier's Alpha Centauri.

This does not always occur; Assassin's Creed got results as expected. Perhaps the search has something against Sid Meier.

Options to omit specific website links

It would be nice if we could disable the metadata import for certain website links from PCGamingWiki, such as Lutris/ProtonDB/WineHQ (for non Linux users), or IsThereAnyDeal (since you probably already own the game if you're importing it into Playnite)

Feature request: changable tag prefixes

I'd love to be able to change the tag prefixes to something else. I'd like to use emoji to mark the different tag types, but that isn't possible with the fixed prefixes without manually editing them afterwards.

Feature and Tagging for games supporting RGB lighting middleware

From this URL (internal link for Razer Chroma, as it's the one I have and am most concerned with, so it could be a good starting place):

https://www.pcgamingwiki.com/wiki/RGB_lighting_middleware#Razer_Chroma_RGB

Is it possible to parse/scrape the table named "Supported games" in this section - all of them, really, for the most robust support - and edit the fields of games that have been detected in our libraries, and add a Feature named Chroma Connect (or whichever RGB middleware is associated with that game), and append the descriptions in the table, for each of the Supported games in our libraries, to either the top or bottom of the current descriptions?

Options could be added to the Other Features section of the Features tab in the settings - a check box for RGB middleware, which makes a list of all of them appear, and ability to Ctrl+click on multiple - check box to add description to either top or bottom of current description.

Multiple Series get merged into one

PCGW supports adding multiple Series to a game.
Sometimes? they get merged into one Series.

Most notably here is the Assassin's Creed Chronicles Series.
ACC China gets Assassin's Creed Chronicles, Assassin's Creed as a series tag(as one series)
while ACC Russia and India get no series assigned.
Though that might be related to #40 bc
China(Assassin's Creed Chronicles China) uses '
Russia(Assassin’s Creed Chronicles Russia) and India(Assassin’s Creed Chronicles India) use

others are:
Asteroids: Recharged series=Asteroids, Atari Recharged
Black Widow: Recharged series=Black Widow, Atari Recharged
Centipede Recharged series=Centipede, Atari Recharged
Discovery Tour: Ancient Greece by Ubisoft series=Discovery Tour, Assassin's Creed

Possible: URL escaping issue preventing searching of titles for metadata with non-alphanumeric characters

Searching on the full title of "The Signal from Tölva" returns no results, resulting in a (silently) failed search when downloading metadata. Several dozen other games in my library failed similarly during a bulk search.

Searching on only "The Signal" on this one game resulted in a positive result, leading me to believe that perhaps it is due to the search parser failing to automatically "escape" the URLs correctly - insert the proper URL codes that represent special characters that cannot be typed normally in URLs. In the above example, the URL code that must be passed is %C3%B6 between capital T and lower case l, to render the o with diaeresis.

Retrieve supported controller type (e.g. DualShock 4) information

Games may potentially have information about if they support DualShock 4 controllers. E.g.
image

I would like for this information to be retrieved and stored within the game's metadata in Playnite. My use case is that I want to be able to create a global pre-game script that will check for this information. If a game supports a DualShock 4 controller, then I can have the script change my DS4Windows to a DualShock 4 profile to get game-specific support for that controller compared to a using an Xbox profile.

Right now, I have to manually setup some automatic profiles for specific games in DS4Windows. But if this metadata provider could provide this information, then I should be able to automate this a lot more easily since it is quite cumbersome to use DS4Windows auto profiles.

Edit: Actually as a proof of concept, I have the Playnite scripting done. So I can manually tag games in Playnite directly to accomplish my goal, which is better than doing it through DS4Windows. And it proves to me that automatically retrieving this metadata would be useful.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/pull_request.yaml
  • actions/checkout v4
  • actions/setup-python v5
  • actions/checkout v4
  • actions/checkout v4
  • robinraju/release-downloader v1.8
.github/workflows/release.yaml
  • actions/checkout v4
  • robinraju/release-downloader v1.8
  • actions/upload-artifact v4
  • actions/checkout v4
  • actions/download-artifact v4
nuget
src/PCGamingWikiMetadata.csproj
  • PlayniteSDK 6.11.0
  • Newtonsoft.Json 10.0.3
  • System.ValueTuple 4.5.0
  • RestSharp 106.15.0
  • Microsoft.VisualBasic 10.3.0
  • Microsoft.CSharp 4.7.0
  • HtmlAgilityPack 1.11.60

  • Check this box to trigger a request for Renovate to run again on this repository

Option to search again for non-editions

One thing I keep running into with PCGW metadata is having to remove the edition from a game name in order to find the base edition, in cases where the edition is not listed in PCGW's database. Ideally the data would be added to PCGW's database for each one, though I find there is a lot of commonality in the edition labels in use, which may allow for a client-side fix. After doing a full name search with no results, the plugin could search again while removing the edition label. If implemented, this should have an option in settings, as some people may want only an exact edition match.

Common edition labels include:

Anniversary Edition
Complete Edition
Definitive Edition
Deluxe Edition
Enhanced Edition
Extended Edition
Game of the Year Edition
Gold Edition
Premier Edition
Standard Edition
The Director's Cut
Ultimate Edition

Though some games use variations of the above;

Complete
Enhanced Plus Edition
Gold
GOTY Edition
GOTY
The Complete Edition
Ultimate Collection

While others use custom labels, though [X] Edition is still common;

Eldritch Edition
Farewell Edition
Remeowstered
Trials of Fear Edition
Voidheart Edition

Feature-tags: Touchscreen/Controller optimised

I use Playnite on my TV and Detachable - so I have set filters for each so that only supported games are displayed.
Unfortunately, unlike other metadata-addons, this one does not consider the tags from PCGW so far. It would be nice if this could be implemented.
Thanks for the work!

Multiplayer modes for some games are not detected

First of all, thank you so much for the work you're putting in! And also for the last two patches. They increased detection and now almost all my Couch-Gaming games are detected correctly. However and for a reason I can not reproduce, some games are not detected correctly.

To name some examples:
https://www.pcgamingwiki.com/wiki/Tumblestone
https://www.pcgamingwiki.com/wiki/Regular_Human_Basketball
https://www.pcgamingwiki.com/wiki/Tricky_Towers

What's the difference here in comparison to games which are detected correctly?

Metadata link import ignores settings for Official Site and Gog Database

Links to Official Site and GOG Database are always added even when disabled in the add-on settings.

I suspect this is because the PCGWGameController.AddLink method which does the filtering is not being used for those two links:

case var title when new Regex(@"^Official site$").IsMatch(title):
this.gameController.Game.Links.Add(new Playnite.SDK.Models.Link("Official site", url));
break;
case var title when new Regex(@"GOG Database$").IsMatch(title):
this.gameController.Game.Links.Add(new Playnite.SDK.Models.Link("GOG Database", url));
break;
default:
string[] linkTitle = c.Attributes["Title"].Value.Split(' ');
string titleComp = linkTitle[linkTitle.Length - 1];
this.gameController.AddLink(new Playnite.SDK.Models.Link(titleComp, url));
break;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.