samwatling / squeezelite

Automatically exported from code.google.com/p/squeezelite
Other
0 stars 0 forks source link

Squeezelite Armv6hf will not pause when sending power 0 command through nc #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play something to squeezelite
2. run "echo (mac address of squeezelite player) power 0 | nc ip (address of 
lms) 9090

What is the expected output? What do you see instead?
It should turn off squeezelite player and pause the music (depending on the 
player setting).

What it does now is turn off the squeezelite player based on the power light 
button in LMS, but it still continues to play. 

Pressing the power button in LMS does pause the music as normal.

What version of the product are you using? On what operating system?
squeezelite-armv6hf vs 1.7. Raspberry PI on Raspbian. LMS running on Linux Mint 
17.1

Please provide any additional information below.

Original issue reported on code.google.com by edmond...@gmail.com on 6 Apr 2015 at 9:37

GoogleCodeExporter commented 8 years ago
I found my issue, and it wasn't squeezelite that was the problem. Originally, I 
ran the nc command from a bash script. When sending the power 0, nc exits 
before squeezelite does the second step of pausing. I ended up using pylms to 
send the command.

Original comment by edmond...@gmail.com on 8 Apr 2015 at 1:22