12-18-2021, 04:17 PM
Hi,
I am looking at updating the LibraryExporter Powershell Script, and I can get it to run fine. However it exports Collection name for those fields which are collections, and I am wondering if there is a way to get the data from those collections. So at the moment it is showing:
,,"System.Collections.Generic.List`1[Playnite.SDK.Models.Platform]",,,,,"False"
Where it should be showing:
,,"PC (Windows)",,,,,"False"
I had simply updated the psm1 to:
$PlayniteApi.Database.Games | Select Name, Series, SortingName, Source, ReleaseDate, Added, CompletionStatus, ReleaseYear, Description, Devlopers, Publishers, Genres, Notes, Platforms, UserScore, Version, CoverImage, BackGroundImage, Hidden | ConvertTo-Csv | Out-File $path -Encoding utf8
Thanks
I am looking at updating the LibraryExporter Powershell Script, and I can get it to run fine. However it exports Collection name for those fields which are collections, and I am wondering if there is a way to get the data from those collections. So at the moment it is showing:
,,"System.Collections.Generic.List`1[Playnite.SDK.Models.Platform]",,,,,"False"
Where it should be showing:
,,"PC (Windows)",,,,,"False"
I had simply updated the psm1 to:
$PlayniteApi.Database.Games | Select Name, Series, SortingName, Source, ReleaseDate, Added, CompletionStatus, ReleaseYear, Description, Devlopers, Publishers, Genres, Notes, Platforms, UserScore, Version, CoverImage, BackGroundImage, Hidden | ConvertTo-Csv | Out-File $path -Encoding utf8
Thanks