Originally Posted by Jìo
Ok got a request as i saw my friend had an mp3 player ingame that reported the music he's listening to atm and was wondering if its possible to embed spotify into wow or make a addon that finds the "channel" for spotify and links it like that to something like:
Im listening to <Artist> - <Song>.
Or something like that. Would be nice if someone knew if theres an addon out there for this or if its even possible to create one?
|
Your idea is not possible:
WoW runs in a "sandboxed" enviroment which means, while the game is running, AddOns cannot communicate with "third party networks". The only way data can be passed in and out of the game to a third party is via the SavedVariables file which are read only when you log-in or reload your UI and are only written to when you log-out (normally, not Alt-F4 or crash to the Desktop), or you reload your UI.
So, no connecting to Spotifiy in any form is not possible from with-in WoW. You will have to used the old Alt-Tab trick or run in Windowed mode to access your Spotify player widget (at the risk of getting ganked while your attention is elsewhere).
The other possibility is to find a widget that uses a DirectX overlay and global hotkeys to control the Spotify player. An example of such an DirectX overlay is Xfire or PlayXpert which use DirectX overlays to "enable" the use of an IM client or web browser. However such widgets don't interact with the games themselves, they just overlay the game layer with their own layer.