Open wongcoder opened 1 year ago
You could try to install the debug version of the rich presence component since it does more logging to console. You can find it on the release page here https://github.com/s0hv/foo_discord_rich/releases/tag/1.3.0-beta It's called foo_discord_rich.fb2k-component_debug
. Based on just this information it's a bit difficult to know for sure what's causing it since I'm not able to reproduce the problem.
I was trying to implement this and came across the same issues.
Here I clear the cache and artwork URLs, tried playing a song that works and then followed it up with a song that doesn't work.
Adding a cover.jpg
into the "broken" album doesn't seem to fix the issue either.
A point of note is that my roaming foobar is under the folder foobar2000v2
, but the logs seem to mention creating and uploading tmp files in foobar2000
. For reference, with neither songs the folders actually appear, though it's probably just happening too fast for me to note.
Configuration read in: 0:00.011623
foobar2000 v1.6.17 [msstore]
Watching: C:\Users\Accra\Music\Repo
User Interface initialized in: 0:00.430862
FFmpeg version: 4.4.1
Startup time : 0:01.724638
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): 0 entries cleared
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Image hash json file emptied
Opening track for playback: "C:\Users\Accra\Music\Repo\Утро\Солнце\Утро - Солнце - 01 Солнце.flac"
Device: ProFX 3-4 (4- ProFX)
Mix format: 44100 Hz / 32-bit float / 2 channels (0x3)
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): connected to accrazed
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): extracted filepath file://C:\Users\Accra\Music\Repo\Утро\Солнце\cover.jpg track filepath file://C:\Users\Accra\Music\Repo\Утро\Солнце\Утро - Солнце - 01 Солнце.flac is valid? 1
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): found existing path file://C:\Users\Accra\Music\Repo\Утро\Солнце\cover.jpg
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Artwork path after extract file://C:\Users\Accra\Music\Repo\Утро\Солнце\cover.jpg
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Artwork hash 2C47D6D2E3BB928BB4FF686E2FE4BCCF
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Upload command "C:\Program Files\foobar2000\imgur-uploader.exe"
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Cover file path C:\Users\Accra\Music\Repo\Утро\Солнце\cover.jpg
Sending stream: 44100 Hz / 32-bit float / 2 channels (0x3)
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): artwork uploader exited with status: 0 and url: https://i.imgur.com/gBFIJKq.jpeg
Opening track for playback: "C:\Users\Accra\Music\Repo\Rap\Danny Brown\Danny Brown - Atrocity Exhibition\06 Ain't It Funny.flac"
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): extracted filepath file://C:\Users\Accra\Music\Repo\Rap\Danny Brown\Danny Brown - Atrocity Exhibition\06 Ain't It Funny.flac track filepath file://C:\Users\Accra\Music\Repo\Rap\Danny Brown\Danny Brown - Atrocity Exhibition\06 Ain't It Funny.flac is valid? 1
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Artwork path after extract
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Artwork hash D879D864EE5AD8C2FAB2914F7961E61C
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): full temp filepath file://C:\Users\Accra\AppData\Roaming\foobar2000\foo_discord_rich\1709256290.jpeg
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Upload command "C:\Program Files\foobar2000\imgur-uploader.exe"
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): Cover file path C:\Users\Accra\AppData\Roaming\foobar2000\foo_discord_rich\1709256290.jpeg
Discord Rich Presence Integration v1.3.0-beta-6+4aec8f6 (Debug): artwork uploader exited with status: 1 and error: Error while reading file: The system cannot find the path specified. (os error 3)
"```
@accrazed This seems like an issue with your foobar2000 installation. The plugin gets the name of the folder, in this case file://C:\Users\Accra\AppData\Roaming\foobar2000\foo_discord_rich
, from the foobar application itself. Once the foo_discord_rich
folder is created it will not be deleted by the plugin. One possible fix is to create the folder C:\Users\Accra\AppData\Roaming\foobar2000
manually. Other is to fix your foobar installation so your profile folder is foobar2000v2 instead of foobar2000
Hey, I noticed that when I play certain files, it runs into this error when attempting to upload. Not quite sure what is going on here, as I can see the cover artwork on the file itself. At the same time, there are other files that work perfectly fine.
Any tips on debugging or getting further information?
On mp3tag, the information looks like so: