Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
Fix Link metadata not being returned by GetAvailableFields (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkusmanch authored Aug 16, 2021
1 parent 603f239 commit 04362f3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions PCGamingWikiMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ public class PCGamingWikiMetadata : MetadataPlugin
MetadataField.Name,
MetadataField.Links
};

// Change to something more appropriate
public override string Name => "PCGamingWiki";

public PCGamingWikiMetadata(IPlayniteAPI api) : base(api)
Expand Down
5 changes: 4 additions & 1 deletion PCGamingWikiMetadataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ private List<MetadataField> GetAvailableFields()
GetPCGWMetadata();
}

var fields = new List<MetadataField> { MetadataField.Name };
var fields = new List<MetadataField>();
fields.Add(MetadataField.Name);
fields.Add(MetadataField.Links);

return fields;
}

Expand Down
2 changes: 1 addition & 1 deletion extension.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Id: PCGamingWikiMetadata_c038558e-427b-4551-be4c-be7009ce5a8d
Name: PCGamingWiki Metadata Provider
Author: sharkusmanch
Version: 0.1.1
Version: 0.1.2
Module: PCGamingWikiMetadata.dll
Type: MetadataProvider
Icon: icon.png

0 comments on commit 04362f3

Please sign in to comment.