Playnite: Metadata for user-defined tags (Steam)

Created on 14 May 2018  路  7Comments  路  Source: JosefNemec/Playnite

Currently the tags for Steam games are taken from the "features" part of the Steam store which usually contains information such as Partial controller support, Steam Cloud, Steam Trading Cards, etc. My suggestion is to also add user-defined tags into the metadata. It would improve the functionality when trying to filter library for tags such as Story rich, Great Soundtrack or Open World.

enhancement metadata

Most helpful comment

The problem is that Steam API we currently use doesn't serve user tags, but it makes sense to download them somehow.

All 7 comments

The problem is that Steam API we currently use doesn't serve user tags, but it makes sense to download them somehow.

@JosefNemec
These are included in the same appinfo pulled down to get Steam launch options.

They're under store_tags in the common section. You'd still need the mapping of tag number to names though, which most of all of should be able to come from the JSON output at https://store.steampowered.com/tagdata/populartags/english

so I'm gonna +1 on this request if that is possible to be implemented

heck it might also be interesting to try & get tags from somewhere for ALL platforms
(meaning metadata could get steamtags for a gog game for example, or I don't know where else one could get interesting tags from)

For the record, I have researched @psychonic's answer and found that the tags are supposed to be in CMsgClientPICSProductInfoResponse.AppInfo.buffer encoded like this.

@orivej That part is actually already done. Playnite reads the appinfo for getting the icon and some other info. Look at https://github.com/JosefNemec/Playnite/blob/master/source/Plugins/SteamLibrary/SteamMetadataProvider.cs#L197

From there, iterating productInfo["common"]["store_tags"].Children gets you the tag ids, and then they can be cross referenced with the descriptions from the JSON output of the link in my earlier comment.

Semi-related, as of a few days ago, genre info and categories (currently used for tags in Playnite) are also available in the appinfo instead of having to go through the Store API.

Wasn't sure if I should post a new issue or just necro this one, so apologies if I chose wrong!

As far as I know, this feature hasn't yet made it into Playnite. Is it being worked on? It's my #1 most-wanted feature.

I don't know if this is helpful to the coders amongst you, but there's a really useful site which lets you filter both your Steam library and the store using all of the available tags:

https://www.lorenzostanco.com/lab/steam/

Perhaps Lorenzo (the site's owner/creator) would share his methods and insights.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AntoinevdHorst picture AntoinevdHorst  路  4Comments

iiviigames picture iiviigames  路  3Comments

DotsSalchow picture DotsSalchow  路  3Comments

xchaolingx picture xchaolingx  路  6Comments

JosefNemec picture JosefNemec  路  3Comments