Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread nimaazx


bpa wrote: 
> The following mnay be too much for you but you might as well have the
> info.
> 
> Player discover LMS servers using broadcast  on UDP on port 383 -
> iognore this if you see references to this. 
> 
> LMS talks to a player(e.g. squeezelite) using a protocol called
> slimproto on a TCP connection on port 3483 of the LMS server.  Slimproto
> enables player to be told by LMS  player to play music from an URL (can
> be remote but usually LMS) , vol up , vol down etc. Using slimproto
> Player tell LMS when it needs data, buffer empty etc.
> 
> To talk to an LMS server a player has to open a TCP connecton from the
> player to the LMS server on port 3483. This means if a player is
> actively connected to an LMS server there is a TCP connection on the
> player to destination port 3483.
> 
> The CLI is a totally separate LMS communication.  It is supported by LMS
> server usually on port 9090 (can be changed in settings). It is intended
> to be used by "remote" applications (i.e. not running on LMS server
> processor)  who want to "talk" to LMS server and get info from the LMS
> server about the LMS system, libraries etc.
> 
> I don't know what available on pcp. but if LMS is on a server with IP
> address 192.168.1.250 then this would be  (LMS inserts  betweens
> lines of the response which is encoded as %3A).  BLue is the user entry,
> red is LMS response - use your own IP address and MAC address of player
> has been altered.
> > 
Code:

  >   > 
  > telnet 192.168.1.250 9090
  > Trying 192.168.1.250...
  > Connected to 192.168.1.250.
  > Escape character is '^]'
  > players
  > players   count%3A2
  > players 0 1 connected
  > players 0 1 connected count%3A2 playerindex%3A0 
playerid%3A7x%3Adx%3A3x%3Aax%3A3x%3A7x uuid%3A ip%3A192.168.1.58%3A32806 
name%3ASqueezeLite seq_no%3A0 model%3Asqueezelite modelname%3ASqueezeLite 
power%3A1 isplaying%3A0 displaytype%3Anone isplayer%3A1 canpoweroff%3A1 
connected%3A1 firmware%3Av1.8-589
  > 7x:dx:3x:ax:3x:7x connected ?
  > 7x%3Adx%3A3x%3Aax%3A3x%3A7x connected 1
  > 
  > 

> > 
> 
> I don't know what is available on pcp but once you understand the CLI
> commands then for an application you might find it easier to use
> "curl" on port 9000 and using POST request JSON encoded commands
> instead of telnet - the CLI command is in the "params"
> example command
> > 
Code:

  >   > 
  > curl -X POST -d 
'{"id":0,"params":["00:04:20:ab:cd:ef",["playlist","index","+1"]],"method":"slim.request"}'
 http://yourserver:9000/jsonrpc.js
  > 

> > 

thank you very much. 
Thanks to other people for contributing to this discussion
I completely understand what you said. there are totally 2 ways. 
1- checking tcp 3483 port to understand by netstate command in sh file
scripting.
if it is connected GPIO pin number is going to be high and LED will be
on.

2- using CLI command via telnet from linux command. I guess it is
accessible in picoreplayer. I have to test it. I do not know about Curl.
but I guess it is not too complex.
I studied software engineering and have some experiences about networks
and security. I can handle it.

today I run squeezelite emulator on my windows 10 as a client and
logitech media server and I run that command you write with termux on my
android phone.
it is worked and responded : " xx%3Axx%3Axx%3Axx%3Axx%3Axx connected 1"
.
when it is not connected responded : 
"xx%3Axx%3Axx%3Axx%3Axx%3Axx connected %3F " or
"xx%3Axx%3Axx%3Axx%3Axx%3Axx connected ?"

"%3F" is mean "?". not responded 0 in result.

however right not I don't know Linux command to cut "1" from result. I
should work on it. 

all in all I must write a script in this form :

every 15 20 seconds while true :
do
//check connection
//if connected turn on led
end 

it must run from startup until turn off. what method do you think is
more reliable to run every 15 or 30 seconds. I don't know telnet(curl)
method is Affected
in bandwidth or not. I always use at least 10 zero w picoreplayer on my
network. this checking script must be run on every zero w every 15 20
seconds for checking connection.you think is there a problem about
telnet from many zero w to lms server ? in this method , i'm just
worried about bandwidth and this scriot maybe Disrupt while listening to
music and audio syncing lms.

what you think about this ?



nimaazx's Profile: http://forums.slimdevices.com/member.php?userid=68798
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


Got there, I think.  I found this in 'function
deactivateScreensaver(self)'

Code:

if not self:isSoftPowerOn() then
  --jiveMain:setSoftPowerState("on")
end
  



That seems to have fixed it.  Now I can wake up the Joggler without the
player coming on.  I'm certain there'll be other consequences of all
this reckless commenting out.  Watch this space.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


I found this:

Code:

if event:getType() == EVENT_MOUSE_PRESS or
   event:getType() == EVENT_MOUSE_HOLD or
   event:getType() == EVENT_MOUSE_DRAG then
if self.mouseAllowed then
log:debug("'Per window' mouse event 
allowed to pass through")
  --return EVENT_UNUSED
  
end
end
log:debug("Closing screensaver event=", 
event:tostring())
  
self:deactivateScreensaver()



I'm not really sure what this is for, because there's already a 'return
EVENT_UNUSED' above this section if the screensaver is not active, so
this section appears to try to let certain mouse actions work when the
screensaver IS active, and by doing so it ignores those mouse actions. 
So I just commented out the 'return EVENT_UNUSED' as above, and now the
mouse event is NOT ignored, and the code reaches the
self:deactivateScreensaver() line.

One unwanted side-effect is that the attached player also powers up.  I
may not want that - I might just want to clear the screensaver so that I
can select a different player, without powering up the current one, so
I'll see if I can find out how to stop that behaviour.  In the meantime,
this is not a bad solution.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


No matter - I found this code:

Code:

-- only present a WHEN OFF option when there is a local player present
  --if Player:getLocalPlayer() then
menu:addItem(
{
text = self:string("SCREENSAVER_WHEN_OFF"),
weight = 2,
sound = "WINDOWSHOW",
callback = function(event, menu_item)
   
self:screensaverSetting(menu_item, "whenOff")
   end
}
)
  --end



and I commented out the conditional, as above.  I'm not sure what would
have been behind the decision to make a 'when off' screensaver
conditional on having a local player, but it seems to work rather well. 
I have the transparent clock set as my 'when stopped' screensaver, and
the black clock as my 'when off' screensaver.  With the transparent
clock showing, if I then turn the player off, e.g. from the web
interface, the background to the screensaver just fades away to black,
giving me a visual cue that the player is off.  Maybe there'll be some
unforeseen consequences, which would explain why this was conditional.

EDIT:  Ok, first consequence: with the 'when off' screensaver the touch
screen is unresponsive!  Back to the code..



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


@Ralphy: I saw this in the 'Jivelite for piCorePlayer' thread:

ralphy wrote: 
> 
> Jivelite will restart and need to be configured and it should by default
> choose the local squeezelite player, if not, select it.
> 
> After the initial jivelite setup is complete, navigate to
> Settings->Screen->Screensavers and you will see the When off option.
> 

I have the same issue with the Jivelite build on the Joggler.  Does this
mean that the 'when off' option only appears when there's a local
player?  In my case I don't have a local player on the Joggler (that was
my reason for getting Jivelite on the Joggler, rather than Squeezeplay),
but it would be really nice to have a 'when off' screensaver that uses
the state of the player that's currently under the control of Jivelite. 
I haven't looked at the code yet - would this be feasible?



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


[SlimDevices: Unix] TinyCore-Sound-Adjustments Script

2019-02-02 Thread edwardthern


If anyone is interested I've made a script similar to the one I have for
Debian based systems for TinyCore [PiCorePlayer]

Easy install, clean and easy removal.

https://github.com/dynobot/TinyCore-Sound-Adjustments



edwardthern's Profile: http://forums.slimdevices.com/member.php?userid=66099
View this thread: http://forums.slimdevices.com/showthread.php?t=110125

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-02-02 Thread Grodman


ralphy wrote: 
> First, make sure you have squeezelite running on the same picoreplayer
> as jivelite.  If not, enable it using the default Analog Audio device,
> save the config and reboot.
> 
> After the reboot click the Reset Button in the picoreplayer web gui,
> tweaks->jivelite setup section.
> 
> Jivelite will restart and need to be configured and it should by default
> choose the local squeezelite player, if not, select it.
> 
> After the initial jivelite setup is complete, navigate to
> Settings->Screen->Screensavers and you will see the When off option.
> 
> 2
> 
> 26667
> 
> You can then disable the local squeezelite player if not needed and
> backup your settings.

Thanx Ralph!

It worked with a Jivelite reset.

Now i love my new player even more :):)



Grodman's Profile: http://forums.slimdevices.com/member.php?userid=68722
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-02-02 Thread ralphy


First, make sure you have squeezelite running on the same picoreplayer
as jivelite.  If not, enable it using the default Analog Audio device,
save the config and reboot.

After the reboot click the Reset Button in the picoreplayer web gui,
tweaks->jivelite setup section.

Jivelite will restart and need to be configured and it should by default
choose the local squeezelite player, if not, select it.

After the initial jivelite setup is complete, navigate to
Settings->Screen->Screensavers and you will see the When off option.

2

26667

You can then disable the local squeezelite player if not needed and
backup your settings.


+---+
|Filename: whenoff.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26667|
+---+


Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread paul-


There are a lot of LMS JSON calls built into pcp-lms-functions.  You can
include that in your scripts.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread bpa


nc would be a good alternative especially as output can be redirected
into a file or piped for later processing

Example of the "players" command

Code:


  echo "players" | nc -w 1 192.168.1.250 9090
  



The "-w 1" (timeout of 1 sec) is needed if nc won't close the
connection.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


chill wrote: 
> I hadn't thought to use a different app

I use Filezilla to move files to and from the Joggler, but I've never
used its option to edit files.  It turns out I can specify the editor
that Filezilla should use, so I've configured it to use TextWrangler,
which intelligently colours the bash script files according to syntax. 
Great stuff - it means I won't have to mentally adjust to the use of the
control key (in nano) instead of the native use of the cmd key (on the
Mac).  Should be much easier.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


castalla wrote: 
> For editing via SSH you could use WinSCP = easy compared with nano !

Thank you. I use a Macbook, but I hadn't thought to use a different app
- I've been using the built-in Terminal app.  Thanks for the tip.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread castalla


chill wrote: 
> I've been adapting the network applet to work with Netplan.  It still
> needs work to tidy the code, but it now does all that the original did
> (selecting the interface, entering credentials, resetting), just by
> updating the /boot/network.yaml file.  So now there's no need to attach
> a keyboard or to SSH into the Joggler to set up the wifi credentials. 
> Haven't got it to display the current IP address yet, but that'll come. 
> Still adjusting to editing with nano, regularly losing contact through
> SSH, learning bash scripting, learning lua etc

For editing via SSH you could use WinSCP = easy compared with nano !



LMS server: Pi Zero

Amp: Denon PMA-50

Players/Speakers:  Touch, Logitech Radios, Sonos, Libratone Zipp, GGMM
E2 & E3, Yamaha WXAD-010, Loewe Airspeaker, Google Home Mini, Pioneer
WX-SMA1, O2 Joggler, Cisco Joggler

Brexit =   stupidity




castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-02-02 Thread Grodman


huxmut wrote: 
> Odd, I have lots of options
> 
> First screen
> '[image: https://i.ibb.co/vcMtLYq/1.jpg]' (https://ibb.co/vcMtLYq) 
> 
> Settings
> '[image: https://i.ibb.co/cL7Vc2K/2.jpg]' (https://ibb.co/cL7Vc2K) 
> 
> Screen
> '[image: https://i.ibb.co/sJZmgYL/3.jpg]' (https://ibb.co/sJZmgYL)
> 
> Screensavers
> '[image: https://i.ibb.co/bB6418f/4.jpg]' (https://ibb.co/bB6418f)
> 
> I picked Dot Matrix, just to try, I havent used that one before
> '[image: https://i.ibb.co/MSV1MhV/5.jpg]' (https://ibb.co/MSV1MhV) 
> 
> Backed out of the settings and hit the power button in the top left of
> the home screen, and get this
> '[image: https://i.ibb.co/zRvrKHJ/6.jpg]' (https://ibb.co/zRvrKHJ)
> 
> Back to the music :) Thanks to the very talented people in this forum
> '[image: https://i.ibb.co/nCNYjpn/7.jpg]' (https://ibb.co/nCNYjpn)

This is the options i have :(

26665


+---+
|Filename: Touch.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26665|
+---+


Grodman's Profile: http://forums.slimdevices.com/member.php?userid=68722
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2019-02-02 Thread chill


I've been adapting the network applet to work with Netplan.  It still
needs work to tidy the code, but it now does all that the original did
(selecting the interface, entering credentials, resetting), just by
updating the /boot/network.yaml file.  So now there's no need to attach
a keyboard or to SSH into the Joggler to set up the wifi credentials. 
Haven't got it to display the current IP address yet, but that'll come. 
Still adjusting to editing with nano, regularly losing contact through
SSH, learning bash scripting, learning lua etc



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread DJanGo


bpa wrote: 
> I don't know what is available on pcp but once you understand the CLI
> commands then for an application you might find it easier to use "curl" 
Since another Member successfully uses my hd44780 script on PCP *nc*
should be available on pcp.



DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread bpa


nimaazx wrote: 
> if i understand from you and another person in this topic said,  we can
> just check tcp port "3483". it is used for connecting to lms. when it is
> connected , We are sure 100% it is known by lms server.
The following mnay be too much for you but you might as well have the
info.

Player discover LMS servers using broadcast  on UDP on port 383 -
iognore this if you see references to this. 

LMS talks to a player(e.g. squeezelite) using a protocol called
slimproto on a TCP connection on port 3483 of the LMS server.  Slimproto
enables player to be told by LMS  player to play music from an URL (can
be remote but usually LMS) , vol up , vol down etc. Using slimproto
Player tell LMS when it needs data, buffer empty etc.

To talk to an LMS server a player has to open a TCP connecton from the
player to the LMS server on port 3483. This means if a player is
actively connected to an LMS server there is a TCP connection on the
player to destination port 3483.

The CLI is a totally separate LMS communication.  It is supported by LMS
server usually on port 9090 (can be changed in settings). It is intended
to be used by "remote" applications (i.e. not running on LMS server
processor)  who want to "talk" to LMS server and get info from the LMS
server about the LMS system, libraries etc.

I don't know what available on pcp. but if LMS is on a server with IP
address 192.168.1.250 then this would be  (LMS inserts  betweens
lines of the response which is encoded as %3A).  BLue is the user entry,
red is LMS response - use your own IP address and MAC address of player
has been altered.

Code:


  telnet 192.168.1.250 9090
  Trying 192.168.1.250...
  Connected to 192.168.1.250.
  Escape character is '^]'
  players
  players   count%3A2
  players 0 1 connected
  players 0 1 connected count%3A2 playerindex%3A0 
playerid%3A7x%3Adx%3A3x%3Aax%3A3x%3A7x uuid%3A ip%3A192.168.1.58%3A32806 
name%3ASqueezeLite seq_no%3A0 model%3Asqueezelite modelname%3ASqueezeLite 
power%3A1 isplaying%3A0 displaytype%3Anone isplayer%3A1 canpoweroff%3A1 
connected%3A1 firmware%3Av1.8-589
  7x:dx:3x:ax:3x:7x connected ?
  7x%3Adx%3A3x%3Aax%3A3x%3A7x connected 1
  
  



I don't know what is available on pcp but once you understand the CLI
commands then for an application you might find it easier to use "curl"
on port 9000 and using POST request JSON encoded commands instead of
telnet - the CLI command is in the "params"
example command

Code:


  curl -X POST -d 
'{"id":0,"params":["00:04:20:ab:cd:ef",["playlist","index","+1"]],"method":"slim.request"}'
 http://yourserver:9000/jsonrpc.js
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-02-02 Thread huxmut


Odd, I have lots of options

First screen
'[image: https://i.ibb.co/vcMtLYq/1.jpg]' (https://ibb.co/vcMtLYq) 

Settings
'[image: https://i.ibb.co/cL7Vc2K/2.jpg]' (https://ibb.co/cL7Vc2K) 

Screen
'[image: https://i.ibb.co/sJZmgYL/3.jpg]' (https://ibb.co/sJZmgYL)

Screensavers
'[image: https://i.ibb.co/bB6418f/4.jpg]' (https://ibb.co/bB6418f)

I picked Dot Matrix, just to try, I havent used that one before
'[image: https://i.ibb.co/MSV1MhV/5.jpg]' (https://ibb.co/MSV1MhV) 

Backed out of the settings and hit the power button in the top left of
the home screen, and get this
'[image: https://i.ibb.co/zRvrKHJ/6.jpg]' (https://ibb.co/zRvrKHJ)

Back to the music :) Thanks to the very talented people in this forum
'[image: https://i.ibb.co/nCNYjpn/7.jpg]' (https://ibb.co/nCNYjpn)



rPi 3 + rasPi 7" LCD + HiFiBerry DiGi+ | rPi 2 + IQaudio DAC+ |rPi 2 +
HiFiBerry DAC+ | Squeeze Box Touch | LMS + XPenology on HP Gen 8 |

huxmut's Profile: http://forums.slimdevices.com/member.php?userid=65108
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread nimaazx


bpa wrote: 
> The CLI command will be sent to the LMS server by the pie Zero w. This
> means there is a network connection between player Pi and LMS server Pi.
> The reponse to the command "connected" tells you the LMS Server can
> "see" the player and the TCP connection on port 3483 is OK and working. 
> If player is not connected to LMS as seen by LMS then connected state
> will be zero - you can only get this result from a Pi zero W when the
> TCP connection to server Pi is OK - so you can be sure the network
> connection is OK but the player connection on port 3483 is not OK.   You
> can use the "players" command to get a list of all known players and
> their connected status (i.e. whether a TCP port 3483 connection is
> active).
> 
> The ability to make a telnet connection to CLI port on LMS - means the
> LMS server is OK - what more do you need ?


Ok, thank you very much.
I understood what you said. I'm really interested  in details.
if I understand correclty , you tell that command can be run on zero w
with sh scripting language.
i'm too confused about commands in a document page.

in easy solution i can just check wifi connection and turn on led. but
as I tell you and you know that is maybe not reliable. 

if you know , please tell me what commands are in a client side and what
commands are in lms side.
how much I read documents i'm more confused.

as well as the telnet method you said is related to "" command
or is a separate method?

if i understand from you and another person in this topic said,  we can
just check tcp port "3483". it is used for connecting to lms. when it is
connected , We are sure 100% it is known by lms server.

I'm really sorry about my english. it is not my native language.



nimaazx's Profile: http://forums.slimdevices.com/member.php?userid=68798
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] way to detect Picoreplayer connected to LMS

2019-02-02 Thread nimaazx


DJanGo wrote: 
> hi,
> 
> 
> 
> no ping is nothing other than icmp works that doesnt help nobody
> A Server wihout a static ip is  not a server
> > 
Code:

  >   > netstat -a|grep 3483|rev|cut -d ':' -f2-|cut -d ' ' -f1|rev

> > 
> 
> 
> ???
> slimp3 <> picoreplayer 
> WHAT is your goal?

I have not been much  familiar with linux bash command.I must search
before use them. I have to test this command tomorrow.
but about slimp3 , that commands are on logitech media server document
page. I think the client is not the matter what it is. Overall, I
doubted how and where to use these commands.
what commands in server side on my windows lms / or what commands must
be written in zero w client sh bash.



nimaazx's Profile: http://forums.slimdevices.com/member.php?userid=68798
View this thread: http://forums.slimdevices.com/showthread.php?t=110118

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2019-02-02 Thread Grodman


huxmut wrote: 
> The setting exists in jivelite. 
> You'll find that in the settings page in the touch screen rather than
> the picore web interface

I can't find this setting in the touch interface. I find "when stopped" 
and "when playing" but "when off" is not there.



Grodman's Profile: http://forums.slimdevices.com/member.php?userid=68722
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] piCorePlayer v4.1.0 odd Date & Time

2019-02-02 Thread kidstypike


Grumpy Bob wrote: 
> Looks like two of your replies have ended up in the wrong thread!
> 
> Robert

I may have an IQ similar to that of a semi-retarded billiard ball, but
you can't fool me . . . Grodman has obviously double posted, and deleted
the posts in this thread that I replied to, my subscription email below
:mad:

26662


+---+
|Filename: deleted.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=26662|
+---+


*Study/Server - LMS 7.9.2 -* Pi3B+/pCP 4.1.0/pi screen/HiFiBerry
DAC+/jivelite, 25K library and playlists on WDMyCloud, LMS cache on a
USB stick (formatted ntfs).
*Lounge* - Pi2/pCP 4.1.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Squeezebox Boom
*Garage* - Pi3B/Pi screen/HiFiBerry DAC+/pCP 4.1.0 > Edifier R980T
*In car* - RPi3B/pCP in AP mode > HiFiBerry DAC+ > car's audio (files on
a 2TB USB drive)
*Spares* - 2xTouch, 1xSB3, 1xRadio, 4xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=110094

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