From f223a0db195a36f2adf6067676c499308d5df390 Mon Sep 17 00:00:00 2001 From: Marcus Sanchez <9328629+sharkusmanch@users.noreply.github.com> Date: Sun, 28 May 2023 13:01:05 -0700 Subject: [PATCH] 1.2.1 (#55) * Fix loading link settings at startup * Fix importing series name when name contains a comma * Fix importing series name when name contains a comma --- extension.yaml | 2 +- manifest.yaml | 7 +++++++ src/PCGWGameController.cs | 2 +- src/PCGamingWikiMetadataSettings.cs | 14 ++++++++++++++ 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/extension.yaml b/extension.yaml index 67809d7..f8b1d97 100644 --- a/extension.yaml +++ b/extension.yaml @@ -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 diff --git a/manifest.yaml b/manifest.yaml index f2e55c0..fe028f9 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -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 diff --git a/src/PCGWGameController.cs b/src/PCGWGameController.cs index 588fe1f..e7dfd92 100644 --- a/src/PCGWGameController.cs +++ b/src/PCGWGameController.cs @@ -94,7 +94,7 @@ private void InitalizeSettingsMappings() { PCGamingWikiType.Taxonomy.Microtransactions, new Action( value => this.Game.AddCSVTags(value, TagPrefix(PCGamingWikiType.Taxonomy.Microtransactions))) }, { PCGamingWikiType.Taxonomy.Modes, new Action( value => this.Game.AddCSVFeatures(value)) }, { PCGamingWikiType.Taxonomy.Genres, new Action( value => this.Game.AddGenres(value)) }, - { PCGamingWikiType.Taxonomy.Series, new Action( value => this.Game.AddCSVSeries(value)) }, + { PCGamingWikiType.Taxonomy.Series, new Action( value => this.Game.AddSeries(value)) }, }; } diff --git a/src/PCGamingWikiMetadataSettings.cs b/src/PCGamingWikiMetadataSettings.cs index cfb4a51..2b8b3a3 100644 --- a/src/PCGamingWikiMetadataSettings.cs +++ b/src/PCGamingWikiMetadataSettings.cs @@ -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; } }