foo_scrobble icon indicating copy to clipboard operation
foo_scrobble copied to clipboard

Fix build on Visual Studio 2022, add love track support

Open lc-guy opened this issue 6 months ago • 0 comments

After much painstaking trials and tribulations (I have never used Visual Studio or done windows-targeted / C++ builds of this complexity before), I've figured out how to build this project and add features to it.

The vcpkg version referenced was quite outdated (2022) and pointed to dependency tarballs that don't exist anymore on the target servers. I updated the version of vcpkg to point to the latest one, and ported the patch for outcome to the most recent stable version of that project: https://github.com/lc-guy/vcpkg/commit/45422e0bd15223d9a3390e917e6385f2e84459c9

There were also issues when loading the project in Visual Studio 2022 related to mismatches between version 1.0.0 and 2.0.0 of foo_scrobble-deps which I fixed by fiddling with the GUI somehow.

I added support for a feature I've wanted for a while -- loving tracks. Seems to work fine. Only supports unconditionally loving a track -- no unloving since I don't need that and it would've been more complex to implement. I barely know any C++ and never worked on the foobar SDK, so Claude did most of the work for me. Feel free to merge it or rework it.

Fixes https://github.com/gix/foo_scrobble/issues/8

compiled component available here: https://github.com/lc-guy/foo_scrobble/releases/tag/v1.6.0-love

lc-guy avatar Jul 01 '25 08:07 lc-guy