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

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

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

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 =

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 >

[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

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

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

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'

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

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

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.

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

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]'

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

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.

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

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:

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

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 > > > > > ??? >

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.

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