Re: [SlimDevices: SqueezeCenter] LMS on Windows Server 2016 Essentials

2018-01-16 Thread rgdawson

I think what w3wilkes is saying is that for Windows Server 2016
Essentials you would take the same approach as for WHS 2011, that is,
you just use the Windows Installer, not the WHS installer which was for
WHSv1 only.  I have LMS running on WHS 2011 and I use the windows
installer.  No other tricks needed.  This *should* work fine on
Essentials 2016.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108578

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Webapp for LMS ?

2018-01-11 Thread rgdawson

When you use the built in Windows web browser, you need to control which
version of IE it emulates by creating a registry setting for your app. 
Otherwise, it will default to a very old emulation (IE 7).
So you would need to create a registry entry for your app at :

Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

24373

Create an entry [yourapp.exe] REG_DWORD 0x2711.

Then it will run using IE11 emulation. That should solve your problem.

Googling FEATURE_BROWSER_EMULATION will give you more detail.

R Greg Dawson


+---+
|Filename: FEATURE_BROWSER_EMULATION.PNG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=24373|
+---+


rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=104305

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Odd new behvior w new Windows 10 PC

2018-12-19 Thread rgdawson


If the app is running you need to Exit, THEN "Run as Administrator". 
Once you get that to work, look at the account you are using to auto
start the app.  For me, where I am running the app on a Windows Server,
it was not enough to select an account with admin privileges as it would
startup non-elevated and I would see what you are seeing.  I changed it
to use the actual "Administrator" account which will start it up
elevated.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=109915

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID

2019-09-26 Thread rgdawson

philippe_44 wrote: 
> It’s not a plugin addition in that case, it’s native in LMS

When I initially was looking around in the LMS source to learn how
discovery works, I never saw the CLIP command for discovery.  It is not
part of the Discovery.pm file.  After Philippe told us about it, I found
it in the CLI plugin source  (./slim/plugin/CLI/plugin.pm).  So this
discovery command is part of the native CLI plugin and I never saw it
until now.  Thanks again Philippe.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111009

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID

2019-09-24 Thread rgdawson


paul- wrote: 
> Not that I'm aware of.What are you doing that you can't do via the
> jsonrpc interface?

The telnet interface allows me to subscribe/listen to server events,
like new song events, player name changes, player status changes
asynchronously.  It was the easiest solution.  I would like to not use
telnet, so I guess I am going to have to learn CometD and use that.  I
did not think there was a way to discover Telnet/CLI port, but thought
I'd check.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111009

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID

2019-09-24 Thread rgdawson


I'm trying to write some code to auto-discover and configure my client
software (Squeezelite-X) for connecting to LMS.  I can discover servers
on my network and that protocol provides the server name and Json(Http)
port ID.  Can I use Json to ask the server what its CLI port number is
configured to?

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111009

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID

2019-09-24 Thread rgdawson


mherger wrote: 
> > I'm trying to write some code to auto-discover and configure my
> client
> > software (Squeezelite-X) for connecting to LMS.  I can discover
> servers
> > on my network and that protocol provides the server name and
> Json(Http)
> > port ID.  Can I use Json to ask the server what its CLI port number
> is
> > configured to?
> 
> I'm not sure it's worth the effort, in particular on Windows: IIRC the 
> Tray icon is hard coded to use port 9090. And I've hardly ever seen a 
> complaint about it.
> Michael

Yah, just thought I'd check.



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111009

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to discover via network LMS Server CLI Port ID

2019-09-25 Thread rgdawson

philippe_44 wrote: 
> You can add ‘CLIP’ in the discovery packet request and it will return
> the cli port
> 
> My discovery broadcast request is eVERS\0JSON\0CLIP

Fantastic, thanks.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111009

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] Check if plugin installed (Material Skin) using CLI

2020-04-30 Thread rgdawson


I hope the answer to this is simple.

How do I determine if a plugin, specifically Material Skin, is installed
using the CLI?  Is there a way?

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=112092

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Check if plugin installed (Material Skin) using CLI

2020-04-30 Thread rgdawson


cpd73 wrote: 
> Call > 
Code:

  >   > ["can","material-skin","items","?"]

> >  this will return the following if Material is installed:> 
Code:

  >   > "result":{"_can":1}

> > 
> 
> -"_can":0- => Material is *not* installed.

Thanks much, Craig.



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=112092

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in

2022-01-17 Thread rgdawson


SamY wrote: 
> It was way before my involvement with LMS but 'this thread'
> (https://forums.slimdevices.com/showthread.php?74458-Adding-a-player-parameter)
> from 2010 explains its origin. It seems that the notification's callback
> was originally defined only in the iPeng client app, which is where
> Chris was seeing the error messages. However, it's possible that the
> Squeezelite-X client might also be using it. As you said though, it
> doesn't seem to result in any harmful behavior beyond the log messages
> so maybe toning down the message is all that is needed.

I just got pointed to this thread and quickly read through all the
pages.  There does seem to be alot of moving parts.  I can answer any
questions as to what SLX does and does not do.  So far, from what I have
read, this mysterious error message appears when SLX is running in
Material Skin and the squeezelite player is running and is the one being
controlled.  Apparently, the error message also appears when running
iPeng.  I have no idea what the message even means, at this point.

SLX does create a CLI Telnet connection to the server and uses it login
and monitor a few things that SLX needs to know.

SLX does not use cometd, but iPeng and Material Skin do.

As this message seems to appear on an LMS restart, here is a summary of
what happens in SLX and these are the CLI commands that SLX would use on
an LMS restart.

On an LMS restart, SLX detects that the telnet connection is lost and
SLX will immediately terminate its own squeezelite-win instances.  SLX
will set a repeating timer and attempt to reconnect over CLI/Telnet
(about every 8 seconds, if I recall).  Meanwhile the Material Skin is
doing whatever it does, SLX leaves the browser alone.  Once SLX
successfully reconnects over CLI/Telnet, then it will go through the
rest of its connection initialization stuff, including restarting the
squeezelite-win instance(s), and including using the following CLI
commands:

login
can material ? 
subscribe power,client,name,playlist,mixer
syncgroups ?
players 0 999 
pref language ?
pref httpport ?
status - 1 subscribe
title ?
artist ?
album ?
serverstatus 0 0

SLX does not use the notification callback mentioned earlier, but I do
not know what the Material Skin is doing.

R Greg Dawson



Squeezelite-X

rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=111288

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter