Review Viewer - darklinkpower/PlayniteExtensionsCollection GitHub Wiki

Description

Display Steam reviews in compatible themes

Game is not obtaining reviews

Only Steam games or games with a Steam store link are supported by the extension.

Full integration tutorial for theme developers is available in the Playnite documentation: https://playnite.link/docs/devel/tutorials/themes/extensionIntegration.html

Integration of custom controls in custom themes

Visibility of elements according to extension installation status

Example:

[...]
<Grid Visibility="{PluginStatus Plugin=Review_Viewer_ca24e37a-76d9-49bf-89ab-d3cba4a54bd1, Status=Installed}">
[...]

It can also be used to return a bool value if used in another property.

Steam reviews control

<ContentControl x:Name="ReviewViewer_ReviewsControl" />

Extension data specific of the selected game

The source name of the plugin is ReviewViewer

Setting Type Default Description
ReviewsAvailable bool false Indicates if the Reviews Viewer control is visible and available for the current game. The control will be made visible for Steam games and PC games

Binding example:

[...]
<StackPanel>
    <StackPanel.Style>
        <Style TargetType="StackPanel">
            <Setter Property="Visibility" Value="Collapsed" />
            <Style.Triggers>
                <DataTrigger Binding="{PluginSettings Plugin=ReviewViewer, Path=IsControlVisible, FallbackValue=False}" Value="True">
                    <Setter Property="Visibility" Value="Visible" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </StackPanel.Style>
[...]

Localization strings

Localization strings can be used in themes when the extension is installed.

To check available strings refer to: https://github.com/darklinkpower/PlayniteExtensionsCollection/blob/master/source/Generic/ReviewViewer/Localization/en_US.xaml

Example:

<Label Content="{DynamicResource LOCReview_Viewer_ReviewsLabel}"/>
⚠️ **GitHub.com Fallback** ⚠️