TheQwertiest / foo_discord_rich

foobar2000 component for integration with Discord Rich Presence
https://theqwertiest.github.io/foo_discord_rich/
MIT License
424 stars 43 forks source link

Art Pin Query Not Saving Issue #83

Open shirafukayayoi opened 1 month ago

shirafukayayoi commented 1 month ago

I am unable to change the Art pin query. When I change the Art pin query and restart, it reverts to its original state.
Example: %artist%|%album% → %artist%|%title%
In its default state, when using the YoutubeSource plugin, there are some cover art issues that I would like to resolve by modifying the Art pin query, but I am unable to make this change. Please help me fix this issue. image

PlaylistsTrance commented 1 month ago

Already reported #66 #77.

The issue has already been fixed as well, but @TheQwertiest has to make a new release build for it.

PlaylistsTrance commented 1 month ago

Also, my suggestion for @TheQwertiest as a default pin query would be:

$if2([%cover hash%],$if([%album%],[%album artist%]|%album%,$if([%title%],[%artist%]|%title%,%path%)))

Explanation: If there's a custom tag %cover hash% use that value for the hash. If there's an album tag, use %album artist%|%album%. If there's no album tag but there's a title tag, use %artist%|%title%. Else: use %path%.