nint8835 / iTunesRichPresence

Bring iTunes now playing information to Discord using Rich Presence
https://itunesrichpresence.com
MIT License
273 stars 44 forks source link

App just refuses to open #107

Open LilLegendGamerez opened 10 months ago

LilLegendGamerez commented 10 months ago

When i try to open this app it refuses to open, I'm on Windows 11.

Sherry65-code commented 9 months ago

Same Here! This is my windows 11 info.

image

Sherry65-code commented 9 months ago

Also Debug Info of this app with gdb

image

xplt commented 8 months ago

Try to check if your user.config configuration file is correct. It is located around: C:\Users\%YOUR_USER_NAME%\AppData\Local\iTunesRichPresence_Rewrit\iTunesRichPresence-Rewrit_Url_koerkjn2umsmbtmlnsie2yfg14mzcaei\2.5.0.0 In my case it was corrupted: half of it was filled with NULs (so, I guess, XML parser didn't like it): 2023-12-24 (3) If it is corrupted, replace it either from the iTunesRichPresence-Rewrite.exe.config file in the directory, where you placed iTunesRichPresence or replace it with my config:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <userSettings>
        <iTunesRichPresence_Rewrite.Properties.Settings>
            <setting name="RunOnStartup" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="PlayingTopLine" serializeAs="String">
                <value>%artist - %track</value>
            </setting>
            <setting name="PlayingBottomLine" serializeAs="String">
                <value>%playlist_type: %playlist_name</value>
            </setting>
            <setting name="PausedTopLine" serializeAs="String">
                <value>%artist - %track</value>
            </setting>
            <setting name="PausedBottomLine" serializeAs="String">
                <value>Paused</value>
            </setting>
            <setting name="DisplayPlaybackDuration" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="Accent" serializeAs="String">
                <value>Orange</value>
            </setting>
            <setting name="ExperimentsEnabled" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="AppName" serializeAs="String">
                <value>iTunes</value>
            </setting>
            <setting name="ClearOnPause" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="MinimizeOnStartup" serializeAs="String">
                <value>False</value>
            </setting>
        </iTunesRichPresence_Rewrite.Properties.Settings>
    </userSettings>
</configuration>

Edit: looks like, the app doesn't like parts "configSections" and "startup" from the config in the installation folder and expects only "userSettings" in the system config

LilLegendGamerez commented 7 months ago

Yeah lol eventually it worked.