Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta

2017-04-27 Thread petar

M-H wrote: 
> Hi Paul, Indeed finding the bug is difficult without direct control for
> you.
> 
> For timing forensics , I am running this on a pi Bplus, and applied utp
> after the boot and first checks , and let /sbin/udhcpc do it work
> later.
> I grabbed the full dmesg output in case it is needed.
> 
> Petar if you are reading this , please see if this helps debuging with
> your set too.
> Do not forget to run the 'usecase' scripts from hias, see: 
> http://www.horus.com/~hias/cirrus-driver.html.
> 
> I will be posting more on my findings , with the hope Cirrus support can
> be incorporated in PCP scripts and menu choices.
> Perhaps wise to start a new thread, as pcp320beta has ended too.
> Regards M-H

Hi M -H,

Great work on your persistence. I will try your suggestion and report
back.

Thanks!



petar's Profile: http://forums.slimdevices.com/member.php?userid=50217
View this thread: http://forums.slimdevices.com/showthread.php?t=107223

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.20 Beta

2017-04-27 Thread dhull

paul- wrote: 
> Just to make sure you are pressing the right button.
> 
> 22600

I suppose it's possible I missed that step.



SB3 / Synology NAS running Logitech Media Server 7.9.0 / Squeeze Lite on
Raspberry Pi 2 & 3

dhull's Profile: http://forums.slimdevices.com/member.php?userid=19653
View this thread: http://forums.slimdevices.com/showthread.php?t=107223

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread Greg Erskine

hi Eelco, 

I think the "-c Digital" is enabled by default in later versions of
piCorePlayer.

regards
Greg



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

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


Re: [SlimDevices: Unix] squeezy - a command-line wrapper around the squeezeserver telnet/CLI

2017-04-27 Thread epoch1970

So here is the crontab I plan to use in the morning. The idea is to
"reboot" the audio setup every morning: redefine sync groups, possibly
reset volume, and start playing.
I found the group concept in Squeezy very handy to rebuild sync groups.
With one Squeezy group per "zone" where players should play in sync, the
Squeezy config file offers the reference setup, and then LMS sync groups
are built with what players are effectively online that morning.

There is a mix of long and fast actions, so the bash script is made of
multiple loops among the different zones. It's an eyesore so here are
the key statements, in "pseudo-code" (which it is, really...)
Code:

# Runs as a cron job once a day
  
  # Work on these groups as per squeezy.conf
  SQUEEZY_GROUPS=( 0 1 )
  # What will each group play?
  GROUP_PROGS=( 'randomplay://tracks' 'playlistplay://LFS3' )
  
  for G in "${SQUEEZY_GROUPS[@]}"; do
# Get players configured in Squeezy for the group
DATA=$("${SQUEEZY}" -group "$(( G ))" -power 2>/dev/null)
# Grab the name of the 1st player in this group actually alive - 'power 
?'
# means squeezy has a player configured that does not exist in LMS.
mapfile -t LEADER < <(echo "${DATA}" | grep -m 1 -v "power ?" | awk 
'{print $1}')
# Names of all online players in the Squeezy group (incl. the leader)
mapfile -t FOLLOWERS < <(echo "${DATA}" | grep -v "power ?" | awk 
'{print $1}')
# Sleep all players - We need to reconfigure the group
DELAY=2 # in minutes
"${SQUEEZY}" -silent -group "$(( G ))" -sleep "$(( DELAY ))"
  done
  # Now we wait for players to have fade-out
  sleep $(( DELAY * 60 ))
  
  for G in "${SQUEEZY_GROUPS[@]}"; do
# Assert power off just in case
"${SQUEEZY}" -silent -group "$(( G ))" -off
# Break sync among players
"${SQUEEZY}" -silent -group "$(( G ))" -unsync
# With this, players in the group are ready to play 'nothing'
"${SQUEEZY}" -silent -group "$(( G ))" -play "playlistplay://clear"
# Power on players in group. Now they are all on, in stop mode; with 
Squeezy "on" means "on+play"
"${SQUEEZY}" -group "$(( G ))" -silent -on
# Grab the lead player and resync it with all the others available in 
the group
for P in ${FOLLOWERS[$G]}; do
[[ "${P}" == "${LEADER[$G]}" ]] && continue
"${SQUEEZY}" -silent -"${LEADER[$G]}" -sync "${P}"
done
# Set our leader on the chosen program. All synced players will follow.
"${SQUEEZY}" -silent -"${LEADER[$G]}" -json "playlist add 
${GROUP_PROGS[$(( G ))]}"
  done
  
  for G in "${SQUEEZY_GROUPS[@]}"; do
# Start our leaders - Fade-in max is 119 secs apparently.
FADEIN=119
"${SQUEEZY}" -silent -"${LEADER[$G]}" -json "play $(( FADEIN ))"
  done


(The actual code has to "eval" the JSON statements, because there is
need to interpolate variables and also pass quotes literally. Urgh.)

The config file that goes with it looks like this, players-wise:
Code:


  playerdiscover no
  # Group 0: Zone #1
  player 0 pcp1R 192.168.1.150 b8:27:eb:01:01:01
  player 0 pcp2R 192.168.1.151 b8:27:eb:02:02:02
  player 0 pcp3R 192.168.1.152 b8:27:eb:03:03:03
  # Group 1: Zone #2
  player 1 pcp1L 192.168.1.153 b8:27:eb:05:05:05
  player 1 pcp2L 192.168.1.154 b8:27:eb:06:06:06
  # Group 2: elsewhere
  player 2 Berlin-Boombox 192.168.1.155 02:02:02:43:ef:99
  


I've run the actual code and it does produce smooth take-off of the sync
groups.



3 SB 3 • Libratone Loop, Zipp Mini • iPeng (iPhone + iPad) • LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
• IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=87636

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread Eelco

I like to use the option -c Digital with shairport-sync. Where can I
change this? I tried to change the service script in
/usr/local/etc/init.d/shairport-sync but it is read only. Anyone who
could give me a hint? :)



Eelco's Profile: http://forums.slimdevices.com/member.php?userid=66841
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread bluetdi

Thank you, I can see no regularity in the flickering also, at the moment
it is gone. 
But I ordered a different power supply with 3000mA/h, maybe it is of
some use. I will report.



2x Odroid U3 + m2p + LMS | Pi3-7" + pCP, 2x Touch, 2x Classic, 2x Boom,
2x Radio | iPeng 9

bluetdi's Profile: http://forums.slimdevices.com/member.php?userid=20633
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread Man in a van

bluetdi wrote: 
> It may be a stupid question, but I did not find an answer:
> 
> What is this yellow lightning trying to say that shows up in the upper
> right on the screen?
> 
> Sometimes it seems to be always on, then it shows up randomly for hours
> and sometimes it is gone all day.
> 
> Karl

http://bfy.tw/BSk5

Jeff beat me:(



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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


Re: [SlimDevices: Unix] Waveshare 4inch touchscreen

2017-04-27 Thread piPlayer

paul- wrote: 
> ...
> I'm assuming that you are trying to get jivelite working.  First install
> jivelite, this will also install the Touchscreen kernel modules.  In pCP
> 3.20, I've started to include the ads7846.ko module that waveshare uses
> as a touch interface.
> ...
> 
That module is only for the touch interface.
To get the screen working the module fbtft.ko ist required. This module
is standard in debian releases but not in PiCorePlayer based on TinyCore
Linux. To get the module in PiCorePlayer you have to build in the module
and recompile the kernel. Or you build a .tcz extension that loads the
module on startup.



piPlayer's Profile: http://forums.slimdevices.com/member.php?userid=65280
View this thread: http://forums.slimdevices.com/showthread.php?t=107320

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread Jeff07971

bluetdi wrote: 
> It may be a stupid question, but I did not find an answer:
> 
> What is this yellow lightning trying to say that shows up in the upper
> right on the screen?
> 
> Sometimes it seems to be always on, then it shows up randomly for hours
> and sometimes it is gone all day.
> 
> Karl

Its a low voltage warning for the Pi, Either the PSU is not up to the
job or the cable between PSU and Pi is too long/thin.

My Pi's often have this warning displayed but never crash etc so I think
its probably set too sensitive

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer
x3,Wandboard
*Server:* LMS Version:  7.9.0 - 1475786002 on Centos 7 VM on ESXi 6 on
Dell T320
*Plugins:* AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud
*Remotes:* iPeng8/Orangesqueeze/PC/Jivelite
*Music:* 383GB,1269 albums 17756 songs 4381 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=106755

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2017-04-27 Thread bluetdi

It may be a stupid question, but I did not find an answer:

What is this yellow lightning trying to say that shows up in the upper
right on the screen?

Sometimes it seems to be always on, then it shows up randomly for hours
and sometimes it is gone all day.

Karl



2x Odroid U3 + m2p + LMS | Pi3-7" + pCP, 2x Touch, 2x Classic, 2x Boom,
2x Radio | iPeng 9

bluetdi's Profile: http://forums.slimdevices.com/member.php?userid=20633
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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