Skip to content

Commit

Permalink
1.2.1 (#55)
Browse files Browse the repository at this point in the history
* Fix loading link settings at startup

* Fix importing series name when name contains a comma

* Fix importing series name when name contains a comma
  • Loading branch information
sharkusmanch authored May 28, 2023
1 parent 0889815 commit f223a0d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
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: 1.2.0
Version: 1.2.1
Module: PCGamingWikiMetadata.dll
Type: MetadataProvider
Icon: icon.png
7 changes: 7 additions & 0 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
AddonId: PCGamingWikiMetadata_c038558e-427b-4551-be4c-be7009ce5a8d
Packages:
- Version: 1.2.1
RequiredApiVersion: 6.2.2
ReleaseDate: 2023-05-28
PackageUrl: https://github.com/sharkusmanch/playnite-pcgamingwiki-metadata-provider/releases/download/v1.2.1/PCGamingWiki_Metadata_Provider_v1.2.1.pext
Changelog:
- Fix import link settings not being loaded at startup
- Fix properly setting Series when series name contianed a comma
- Version: 1.2.0
RequiredApiVersion: 6.2.2
ReleaseDate: 2023-05-10
Expand Down
2 changes: 1 addition & 1 deletion src/PCGWGameController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private void InitalizeSettingsMappings()
{ PCGamingWikiType.Taxonomy.Microtransactions, new Action<string>( value => this.Game.AddCSVTags(value, TagPrefix(PCGamingWikiType.Taxonomy.Microtransactions))) },
{ PCGamingWikiType.Taxonomy.Modes, new Action<string>( value => this.Game.AddCSVFeatures(value)) },
{ PCGamingWikiType.Taxonomy.Genres, new Action<string>( value => this.Game.AddGenres(value)) },
{ PCGamingWikiType.Taxonomy.Series, new Action<string>( value => this.Game.AddCSVSeries(value)) },
{ PCGamingWikiType.Taxonomy.Series, new Action<string>( value => this.Game.AddSeries(value)) },
};
}

Expand Down
14 changes: 14 additions & 0 deletions src/PCGamingWikiMetadataSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,20 @@ public PCGamingWikiMetadataSettings(PCGamingWikiMetadata plugin)
TagPrefixThemes = savedSettings.tagPrefixThemes;
TagPrefixEngines = savedSettings.tagPrefixEngines;
TagPrefixArtStyles = savedSettings.tagPrefixArtStyles;

ImportLinkOfficialSite = savedSettings.importLinkOfficialSite;
ImportLinkHowLongToBeat = savedSettings.importLinkHowLongToBeat;
ImportLinkIGDB = savedSettings.importLinkIGDB;
ImportLinkIsThereAnyDeal = savedSettings.importLinkIsThereAnyDeal;
ImportLinkProtonDB = savedSettings.importLinkProtonDB;
ImportLinkSteamDB = savedSettings.importLinkSteamDB;
ImportLinkStrategyWiki = savedSettings.importLinkStrategyWiki;
ImportLinkWikipedia = savedSettings.importLinkWikipedia;
ImportLinkNexusMods = savedSettings.importLinkNexusMods;
ImportLinkMobyGames = savedSettings.importLinkMobyGames;
ImportLinkWSGF = savedSettings.importLinkWSGF;
ImportLinkWineHQ = savedSettings.importLinkWineHQ;
ImportLinkGOGDatabase = savedSettings.importLinkGOGDatabase;
}
}

Expand Down

0 comments on commit f223a0d

Please sign in to comment.