Re: [SlimDevices: Unix] Squezzelite settings are lost after reboot.

2018-12-20 Thread schiff1108


Thanks Paul.
Yes. I tried to make a joke w/ refernce to another thread.
You are right. I do see some unexpected behaviour when I make changes to
Squeezelite settings. 
Actually, I am doing further analysis looking at various scenarios:
* just pressing the save button
* Restarting Squeeelite on Main Screen
* Rebooting pCB on Main Screen
* Power off/on

And it is not that seetings are lost, but that seettings are not
applied. If I do look into the log, sometimes I do not see the applied
change.
I am still doing further investigations. Let's see if the problem is in
front or behind the screen. 

One question: Is my assumption right, that all changes on squeezelite
setting screen are automatically copied to RAM Disc?



Living Room / Hifi: piCorePlayer 4.0.0 on rPi 3B+ & Allo DigiOne & 1TB
USB (LMS 7.9.2 & Squeezelite) & Keces DC-116, Mutec MC-3+ Smart Clock,
Rega DAC R, Rotel RB/RC-1070, Klipsch Forte III
Bedroom: Boom
Kitchen: Radio
Spare: SB3, Touch

schiff1108's Profile: http://forums.slimdevices.com/member.php?userid=64153
View this thread: http://forums.slimdevices.com/showthread.php?t=109916

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.5.0

2018-12-20 Thread LivewareProblem


Thanks for the replies guys!

I decided to re-write the trinket code, as I already had the knob /
encoder / trinket / housing built and configured. I have a spare encoder
so may look at the SqueezeButtonPi-Daemon in the future for control if I
add a screen.

That being said, I didn't realise it's actually JiveLite that responds
to the keyboard presses - I didn't have that installed, but figured that
out from previous posts :)

If anyone is interested, this is the code I changed (and added a pause
function to the encoder press switch too):

Code:


  if (enc_action > 0) {
  TrinketHidCombo.typeChar(43);
  }
  else if (enc_action < 0) {
  TrinketHidCombo.typeChar(45);
  }
  
  // remember that the switch is active-high
  if (bit_is_set(TRINKET_PINx, PIN_ENCODER_SWITCH)) 
  {
  if (sw_was_pressed == 0) // only on initial press, so the keystroke is not 
repeated while the button is held down
  {
  TrinketHidCombo.typeChar(99);
  



Many thanks again - for the help, and for piCorePlayer! :D



LivewareProblem's Profile: http://forums.slimdevices.com/member.php?userid=68752
View this thread: http://forums.slimdevices.com/showthread.php?t=108852

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.5.0

2018-12-20 Thread Jeff07971


@LivewareProblem

Good glad you got it working !
I may have a try myself and also possilbly try the Digispark Pro (more
I/O's)

@Paul-

Can you clarify something for me please ?
The documents for sbpd seem (or rather do) to say that its output is
sent by http to the server and this gives rise to the "Encoder speed"
problem
Does Squeezelite or Jivelite do the same when using say a USB keyboard
and would it have the same limitation ?
I guess I'm asking whether SL or JL "buffers" the volume control signal
and is therefore safer for people with high power system ?

Thanks

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=108852

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


Re: [SlimDevices: Unix] Squezzelite settings are lost after reboot.

2018-12-20 Thread Greg Erskine


hi schiff1108,

Can you detail your issue?

The Squeezelite Settings page is years old, if it was misbehaving I'd
expect lots of feed back over the years.

piCorePlayer is running in RAM. The config files are in RAM. The [Save]
button writes to the config file in RAM and does a backup to the SD
card.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=109916

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.5.0

2018-12-20 Thread paul-

I’ve never interfaced an encoder with jivelite. (Or sbpd) for that
matter.  The encoder code in sbpd, is the same as originally done by
pippen.  It should be easy enough to limit volume change rate in
sbpd. jivelite is a better question for Ralphy

We have programs that use wiring pi libs to interface with the alsa
mixer..but getting squeezelite to send volume information back to
LMS for adjusting the volume control on (so the volume slider on
jivelite moves with the encoder.)
requires other patches.



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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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=108852

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