mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-29 03:46:50 +01:00
external_player.cpp now asks plex_web, spotify_device and youtube_music what is playing, so dingosdk_external_player_probe (multiplayer tests, Windows) failed to link with 10 unresolved externals. Linking those players would bring in the overlay, the log and HTTPS, so the probe gets stubs that report them switched off and keeps reading only the Windows media session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
1.0 KiB
C++
24 lines
1.0 KiB
C++
// For external_player_probe: Plex, Spotify Connect and YouTube Music as switched off, so the probe
|
|
// reads only the Windows media session without linking those players (they bring in the overlay,
|
|
// the log and HTTPS). The probe asks what Windows says is playing; those players are checked in game.
|
|
#include "Extension/Music/plex_web.h"
|
|
#include "Extension/Music/spotify_device.h"
|
|
#include "Extension/Music/youtube_music.h"
|
|
|
|
namespace dingosdk {
|
|
|
|
plex_web::NowPlaying plex_web::now_playing() { return {}; }
|
|
bool plex_web::control(Action) { return false; }
|
|
|
|
bool spotify_device::connected() noexcept { return false; }
|
|
external_player::Track spotify_device::now() { return {}; }
|
|
std::uint64_t spotify_device::revision() noexcept { return 0; }
|
|
void spotify_device::send(external_player::Command) noexcept {}
|
|
|
|
bool youtube_music::on() noexcept { return false; }
|
|
external_player::Track youtube_music::now() { return {}; }
|
|
std::uint64_t youtube_music::revision() noexcept { return 0; }
|
|
void youtube_music::send(external_player::Command) noexcept {}
|
|
|
|
} // namespace dingosdk
|