It is currently January 26th, 2021, 10:23 pm

SqueezeBox Integration into media player

Help with creating, editing & fixing problems with skins
dumbdumbbubblegum
Posts: 1
Joined: January 11th, 2021, 6:21 am

SqueezeBox Integration into media player

Post by dumbdumbbubblegum »

Hi there,

I'm a complete noob at rainmeter, but I wanted to add squeezebox functionality as a measure since I don't use Spotify or the other fully supported systems.

Someone set it up 7 years ago, but the underlying architecture changed so I'm not sure how to implement it:
hi,
i worked on a mod that implement a squeezebox controler.
i think it's not really bullet proof but it works for me since december...
here is the files to add :
- PlayerSQBOX.cpp -> http://pastebin.com/wrbVCXym
- PlayerSQBOX.h -> http://pastebin.com/uQW17CTC
and below are the 2 modifications to do to "NowPlaying.cpp" :

Code: Select all

#include "PlayerWMP.h"
//START SQBOX mod
#include "PlayerSQBOX.h"
//END SQBOX mod

Code: Select all

		else if (_wcsicmp(L"WMP", str) == 0)
		{
			parent->player = CPlayerWMP::Create();
		}
//START SQBOX mod
		else if (_wcsicmp(L"SQBOX", str) == 0)
			{
				parent->playerPath = RmReadString(rm, L"PlayerPath", L"", TRUE);
				parent->player = CPlayerSQBOX::Create(parent->playerPath);
			}
//END SQBOX mod
		else
		{
The controller is used with a plugin measure as under :

Code: Select all

[MeasurePlayer]
Measure=Plugin
Plugin=NowPlaying.dll
; Set to AIMP, foobar2000, iTunes, MediaMonkey, MusicBee, Spotify, Winamp, WMP
PlayerName=SQBOX
;for squeezebox PlayerPath=server_ip:webport player (ex : PlayerPath=192.168.0.255:9000 receiver)
PlayerPath=192.168.0.255:9002 SqueezeBox Controller
Does anybody have any recommendations on how to implement this?
User avatar
CodeCode
Posts: 233
Joined: September 7th, 2020, 2:24 pm

Re: SqueezeBox Integration into media player

Post by CodeCode »

I may be wrong, but I do not think any one around this forum will help with C, or C++, or, C# coding.

You might go up a tier in the main forum directory, and there may be some one in of those separate lists who can, or will.
Can't fix it if it ain't broke - unless it is in code.