Re: [SlimDevices: Plugins] piCorePlayer and hardware volume control

2022-12-21 Thread Greg Erskine


I did discover the trailing space issue a while ago and did updates to
pCP on 2021-05-25. So, the updates would be released sometime after
that.



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2022-12-17 Thread Greg Erskine


RobbH wrote: 
> By the way, Greg, you are probably aware that the Music Folder view lets
> you open the cue file, just like a folder, and select individual tracks.
> But I wanted to be sure others reading this know that, which is my
> reason for mentioning it here.

Thanks, I didn't know that!



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2022-12-17 Thread Greg Erskine


RobbH wrote: 
> My guess -- and that's all it is! -- is that when browsing through Music
> Folder, LMS is only showing FILES (as both Bob and Paul have suggested),
> not SONGS. In that mode, LMS may not have access to metadata, so it does
> not know if the files in a folder are part of an album or just a random
> collection. If Craig were to decide to add this option to Material, it
> would probably need to be more like "Play folder starting with this
> file." That would work sometimes to play the rest of the album, but
> sometimes would result in unwanted behavior.

Yes, as I rip to a single WAV file per album browsing through Music
Folder is next to useless, it only shows the single cue and wav FILE. I
have always thought to power of LMS was the database it generates. If
you only want to browse through the Music Folder there are much simpler
audio solutions available that don't have the database overhead.



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

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-28 Thread Greg Erskine


I just tested the SAMBA install as per "'Add a USB hard drive and setup
SAMBA' (https://docs.picoreplayer.org/how-to/add_usb_hdd/)" instructions
and it seems to work as expected.

The fact you need to map a drive or type \\ip_address into Windows
explorer is not an issue.



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

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread Greg Erskine


garym wrote: 
> I use WinSCP on my windows 10 machine to transfer files to USB drives
> connected to my rPi servers. 
> p.s. re drives and backups. And I use freefilesync to keep all synced. 
> 6 connected to active servers:  home (2), cabin, work(2), travel;  3
> backup HDDs only, connected only when updating

I use a similar process, but use winSCP sync from W10 to pCP USB drive
and Robocopy between USB drives on W10. Only 3 copies though.

The pCP USB drive is at the end of the process so I know if it works the
backup copies are OK.

winSCP uses sftp which is on pCP by default.

I think its just a matter of using what is familiar to you. I use winSCP
for pCP development and Robocopy for backups.

I can't remember (vaguely) using SAMBA since the 80's.



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

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread Greg Erskine


WARNING: ALSA can do your head in.

Generally speaking, range settings in ALSA can be all over the place,
and probably not 0% to 100%.

IIRC the alsamixer and pCP web interface are mapping an ALSA range to a
percentage, thus rounding errors occur.



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

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


Re: [SlimDevices: Plugins] Picoreplayer won't boot

2022-01-30 Thread Greg Erskine


By default piCorePlayer boots to a console.

Do a ps to see what processes are running.

squeezelite?
sshd?



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

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


Re: [SlimDevices: Plugins] Uart RaspPi

2022-01-16 Thread Greg Erskine


hi PaulH,

It's probably possible and because LMS is so mature it probably has
already been done. There is Slimmer, with interfaces LMS to a HD44780. I
have read a couple of threads about interface LMS into HA.

Using pCP just adds another layer because when you research the web,
most of the info will refer to Raspbian or Raspberry Pi OS. Example code
will probably be python.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Uart RaspPi

2022-01-15 Thread Greg Erskine


I think socat is similar to netcat which is similar to nc. pCP has
busybox nc installed. Type busybox to get a list of commands.

pCP doesn't include bash by default, pCP uses sh. pCP doesn't include
python by default, pCP uses microPython (with only a couple of libs)



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

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


Re: [SlimDevices: Plugins] Using piCorePlayer with Audio Research USB3 DAC

2021-09-19 Thread Greg Erskine


E-Stat wrote: 
> Others have suggested using a generic "hw:CARD=DAC,DEV=0"  string, but
> when I do that Squeezelite fails to run.

There is no such thing as a generic "hw:CARD=DAC,DEV=0". Some
manufacturers actually use "DAC" as the name of their sound card.

The "Output setting" *must* be one that is in the "Available output
devices (click to use):" list. These are the only sounds cards
recognised by pCP. If it is not in the list, reboot and check again.

Start with a fresh pCP SD Card.

Your USB DAC must be on powered on and plugged in before you boot pCP.
Reboot.

Try the USB2 ports. Reboot.

>From [Main Page] in [Beta] mode > [Extras] > [Bootcodes]. Set "waitusb"
to 5 or 10. Reboot.



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

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


Re: [SlimDevices: Plugins] Picore - Squeezelite 32 bit length padding

2021-08-07 Thread Greg Erskine


Welcome :)



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - Boss DAC Player not showing Tabs in squeezelite ...............

2021-08-03 Thread Greg Erskine


Did you do a fresh install to pCP8.0.0?

If not, I think it would be quicker to start from scratch?



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - Boss DAC Player not showing Tabs in squeezelite ...............

2021-08-03 Thread Greg Erskine


Do you have multiple LMS running?

The tabs are generated by looking at the LMS that pCP is connected to.



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

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


Re: [SlimDevices: Plugins] Trying to get this Rpi 'Hat' to work with PiCorePlayer - Need Help Please....

2021-07-16 Thread Greg Erskine


There were posts recently about this one. Not sure of the result.



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-07-04 Thread Greg Erskine


kidstypike that's what I have found.

Further down, it often goes into "drag song to new position in playlist"
mode.

I found this when I was trying to maximise the size of my cover art for
an artwork quality audit. It seems I was not so fussy 13 years ago. :)



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

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


[SlimDevices: Plugins] piCore: getting rid of wpa_supplicant.conf

2021-07-02 Thread Greg Erskine


Generally when you edit files, you are modifying files in RAM. pCP
recreates the file system after each boot.

When you edit a file, you must do a backup to make it available after a
reboot.

This does not apply to the boot partition, which is persistent and
usually unmounted.

This is the location of wpa_supplicant:
/usr/local/etc/pcp/wpa_supplicant.conf



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

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


Re: [SlimDevices: Plugins] LMS on PI3b

2021-05-12 Thread Greg Erskine


Peet wrote: 
> And I'm glad it's all working fine and the SD card: I can now make a
> running LMS in 6 minutes.

:) Easy! LOL



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-05-08 Thread Greg Erskine


Why 2 dtoverlay=hifiberry-dacplus lines?



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-05-03 Thread Greg Erskine


You need to read the README file.

Assuming hifiberry-dacplus works for your DAC?


Code:

Name:   hifiberry-dacplus
  Info:   Configures the HifiBerry DAC+ audio card
  Load:   dtoverlay=hifiberry-dacplus,=
  Params: 24db_digital_gain   Allow gain to be applied via the PCM512x codec
  Digital volume control. Enable with
  "dtoverlay=hifiberry-dacplus,24db_digital_gain"
  (The default behaviour is that the Digital
  volume control is limited to a maximum of
  0dB. ie. it can attenuate but not provide
  gain. For most users, this will be desired
  as it will prevent clipping. By appending
  the 24dB_digital_gain parameter, the Digital
  volume control will allow up to 24dB of
  gain. If this parameter is enabled, it is the
  responsibility of the user to ensure that
  the Digital volume control is set to a value
  that does not result in clipping/distortion!)
  slave   Force DAC+ Pro into slave mode, using Pi as
  master for bit clock and frame clock.
  leds_offIf set to 'true' the onboard indicator LEDs
  are switched off at all times.
  



dtoverlay=hifiberry-dacplus,leds_off



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

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


Re: [SlimDevices: Plugins] hifiberry dac+ zero pi zero and picoreplayer

2021-04-29 Thread Greg Erskine


Those ping results are very bad. I suspect a network problem.

Here are some ping results from A RPi4b TO RPi4B.


Code:

PING 192.168.1.51 (192.168.1.51): 56 data bytes
  64 bytes from 192.168.1.51: seq=0 ttl=64 time=12.515 ms
  64 bytes from 192.168.1.51: seq=1 ttl=64 time=3.050 ms
  64 bytes from 192.168.1.51: seq=2 ttl=64 time=2.964 ms
  64 bytes from 192.168.1.51: seq=3 ttl=64 time=2.748 ms
  64 bytes from 192.168.1.51: seq=4 ttl=64 time=2.574 ms
  64 bytes from 192.168.1.51: seq=5 ttl=64 time=2.317 ms
  64 bytes from 192.168.1.51: seq=6 ttl=64 time=2.047 ms
  64 bytes from 192.168.1.51: seq=7 ttl=64 time=2.050 ms
  64 bytes from 192.168.1.51: seq=8 ttl=64 time=2.903 ms
  64 bytes from 192.168.1.51: seq=9 ttl=64 time=2.704 ms
  64 bytes from 192.168.1.51: seq=10 ttl=64 time=2.470 ms
  64 bytes from 192.168.1.51: seq=11 ttl=64 time=3.359 ms
  64 bytes from 192.168.1.51: seq=12 ttl=64 time=2.916 ms
  64 bytes from 192.168.1.51: seq=13 ttl=64 time=2.974 ms
  64 bytes from 192.168.1.51: seq=14 ttl=64 time=3.010 ms
  64 bytes from 192.168.1.51: seq=15 ttl=64 time=2.650 ms
  64 bytes from 192.168.1.51: seq=16 ttl=64 time=2.472 ms
  64 bytes from 192.168.1.51: seq=17 ttl=64 time=2.322 ms
  64 bytes from 192.168.1.51: seq=18 ttl=64 time=3.139 ms
  64 bytes from 192.168.1.51: seq=19 ttl=64 time=2.886 ms
  
  --- 192.168.1.51 ping statistics ---
  20 packets transmitted, 20 packets received, 0% packet loss
  round-trip min/avg/max = 2.047/3.203/12.515 ms




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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-04-29 Thread Greg Erskine


You need to read through the README to find the parameters that are
valid for your dtoverlay.

Your are hoping for a "leds_off" parameter.

Then you need to 'Edit config.txt'
(https://docs.picoreplayer.org/how-to/edit_config_txt/) to add
",leds_off" your dtoverlay command line.



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

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


Re: [SlimDevices: Plugins] Picore and Cron

2021-04-28 Thread Greg Erskine


Peet wrote: 
> Hi 
> 
> The shutdown in the custom command of Cron works perfect.
> 
> Thanks Greg and JD68.
> 
> Startup remains a little problem. I do it manually with the 'Run' on the
> pi.
> I think the most easiest way is to buy 4 timers for start and stop.
> 
> Regards
> Peter

If you are running pCP as a plyaer you can just turn off at power point
and turn back on.

You can connect a pushbutton to the RPi to do a start up.

The cost of 4 timers will power the RPis for a long time.



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

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


Re: [SlimDevices: Plugins] Picore and Cron

2021-04-28 Thread Greg Erskine


RobbH wrote: 
> piCorePlayer has an option on the Tweaks page to enable Wake On Lan. I
> have never tried it, but I assume it works. You might be able to set up
> a cron job on another computer that would use WOL to start your players.

No, Raspberry Pi's don't do WoL.

pCP can be a WoL client, so it can wake up WoL compatible hardware (ie
LMS on PC).



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

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


Re: [SlimDevices: Plugins] Picore and Cron

2021-04-27 Thread Greg Erskine


Peet wrote: 
> Hi Greg
> 
> How can I get the bootcode?
> 
> Can I use: crontab -l dirictly or do I first go to the bootcode?
> 
> Peet

I recommend you use the custom cron option. It was put there to make it
easy. :)

jd68 gave you the command to shutdown at a particular time.



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-04-27 Thread Greg Erskine


hi Peet,

If my previous reply didn't ring any bells for you I suggest you wait
for pCP 8.0.0, it should be a lot easier.

Even the pCP 8.0.0 is pretty basic as it doesn't turn off ethernet leds.

Use a bit of tape or blutac as a interim solution.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Picore and Cron

2021-04-27 Thread Greg Erskine


In piCore/piCorePlayer cron is not started by default. Using the pCP
[Tweaks] page, when you click the [Save] button it will add the
appropriate cron bootcode to enable cron. You could use the "bootcode"
page if you are familiar with that.

The "Cron" option on the [Tweaks] page only offers 3 of the fields to
the user but writes 5 fields in the crontab file. The minute field is
always set to "0" and the month field always is set to "*". The order of
the fields on the cron [Tweaks] page is not the same as the cron
command.

Under the more/less help:
- the example refers to the 3 input fields above it
- then the actual root crontab file is displayed. This is obviously
"real" cron syntax.

The custom cron command field is expecting the standard cron syntax.



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-04-26 Thread Greg Erskine


Here's a bit of beta code. I included it here for other readers than are
not using RPi3. This is only for the power and activity leds.

You will need to grab the couple of off lines of code.


Code:


#
  # LEDS
  #  - ACT LED = /sys/class/leds/led0
  #  - PWR LED = /sys/class/leds/led1
  
#
  pcp_rpi_leds() {
local OPTION="$1"
  
case "$OPTION" in
on|ON)
pcp_rpi_leds_on
;;
off|OFF)
pcp_rpi_leds_off
;;
*)
echo "Invalid option: $OPTION"
;;
esac
  }
  
  pcp_rpi_leds_on() {
pcp_rpi_details
case "$TYPE" in
0)
echo 1 | sudo tee /sys/class/leds/led0/brightness
;;
1)
echo "Not supported on RPi1"
;;
*)
echo 1 | sudo tee /sys/class/leds/led0/brightness
echo 1 | sudo tee /sys/class/leds/led1/brightness
;;
esac
  }
  
  pcp_rpi_leds_off() {
pcp_rpi_details
case "$TYPE" in
0)
echo 0 | sudo tee /sys/class/leds/led0/brightness
;;
1)
echo "Not supported on RPi1"
;;
*)
echo 0 | sudo tee /sys/class/leds/led0/brightness
echo 0 | sudo tee /sys/class/leds/led1/brightness
;;
esac
  }



Off code:


Code:

echo 0 | sudo tee /sys/class/leds/led0/brightness
echo 0 | sudo tee /sys/class/leds/led1/brightness



Looks like the HiFiBerry AMP audio driver doesn't have params for the
leds. 


Code:

Name:   hifiberry-amp
  Info:   Configures the HifiBerry Amp and Amp+ audio cards
  Load:   dtoverlay=hifiberry-amp
  Params: 
  



There is an HiFiBerry AMP100 driver that does have param for the leds
but I don't know it that driver works for the AMP2?



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-04-25 Thread Greg Erskine


We don't have a timeline for pCP8.0.0. It's just a matter of when it is
good enough for users.

The command to turn the leds off depends on which model RPi you have.

The command to turn the leds off depends on which HAT you have.



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

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


Re: [SlimDevices: Plugins] Leds on the PI and HifiBerry turn off

2021-04-24 Thread Greg Erskine


There are many Raspberry Pi's and many HiFiBerry HATs, some you can turn
off the LEDs others you can't. :(

pCP8.0.0 will have the ability to turn off the RPi's LEDs (if
possible).

The HiFiBerry HAT will require adding "leds_off" to the driver in
config.txt (if possible). Is there an option in [Card Control]?



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - When doing an Insitu Update - Does it load 32 bit or 64 Bit ? ........

2021-04-17 Thread Greg Erskine


Its "unbelievable" the amount of work Paul does improving piCorePlayer.

I struggle to comprehend what's happening most of the time! :)



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - Does not show Tabs of other Players on the Network ...................

2021-04-17 Thread Greg Erskine


Squeezelite must be running, otherwise pCP it is not connected to a LMS.



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-04 Thread Greg Erskine


cpd73 wrote: 
> Sounds like a reasonable idea. What would be 'normal' levels though?
> Perhaps disallow jump to >=95% if volume <= 70%?
> 
> What, -might-, be better is to make the volume dialog a little taller,
> so that the close button is further away. Also, you do not need to close
> the dialog, it closes 10seconds after openeing, or last change.

Thanks for considering my idea. The 95/70 rule would work for me. I
think, its probably not worth worrying about if I am the only person
that has this issue.



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread Greg Erskine


Good idea. :)

Thanks



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2021-02-03 Thread Greg Erskine


It's 11:30, the room is dark, I'm lounging in my leather recliner,  I'm
listening to some great music, fine tuning the volume as a favourite
track starts, thinking how wonderful "Material" is, I go to hit CLOSE on
the volume slider, but on my little iPhone 5 screen I miss by just a tad
and hit "volume = 100%" instead.

I'm awake now!! :mad: So are my neighbours. 

I was wondering if it is possible to prevent the volume jumping from
normal levels to 100% in one step. Is it worthwhile?



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

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


Re: [SlimDevices: Plugins] piCorePlayer + Jivelite + RPi 7" Screen - How to capture screen?

2021-01-28 Thread Greg Erskine


Success!

"S" writes a bitmap file to /tmp, ie. jivelite0006.bmp

Using the command does causes rebuffering to occur.


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


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

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


[SlimDevices: Plugins] piCorePlayer + Jivelite + RPi 7" Screen - How to capture screen?

2021-01-27 Thread Greg Erskine


I am trying to do some Jivelite documentation.

Does anyone know how to capture the screen image using software?

frame buffer > image file?



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

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


Re: [SlimDevices: Plugins] Can PiCorePlayer Identify the Raspberry Pi Board Version that it is running on ?

2021-01-16 Thread Greg Erskine


Also, after you have visited the [Diagnostics] > [Raspberry Pi] page
there is a "diag rpi" log under [Logs].



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

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


Re: [SlimDevices: Plugins] Running picoreplayer over a VPN

2021-01-05 Thread Greg Erskine


hi Pommes,

You need to let us know what version of pCP you are using. Cut and paste
the footer is the easiest way.

FYI: For each version of pCP, there are 2 or 3 versions of the
repository for single core, quad core and 32bit/64bit and each
repository has over 500 extensions or links to extensions. Paul somehow
maintains these thousands of extensions!

regards
Greg



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

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


Re: [SlimDevices: Plugins] pCP & iPeng | Volume jumps

2021-01-01 Thread Greg Erskine


pCP6.1.0 or even pCP7.0.0 will work on any RPi.



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

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


Re: [SlimDevices: Plugins] Squeezelite problems playing WMA lossless on Raspberry Pi

2020-11-30 Thread Greg Erskine


In July 2020 I think there were changes to squeezelite regarding WMA.
There were issues with ALAC, WMA and ffmpeg.

Ralphy and Paul are the guys to talk to for technical details.



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

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


Re: [SlimDevices: Plugins] Announce: Material Skin

2020-10-06 Thread Greg Erskine


The MAC address is usually hard coded in the network device, Ethernet,
Wifi or Bluetooth. The first 6 digit will be registered to the Raspberry
Pi Foundation. If you are using a USB Wifi adapter the MAC address will
be registered to the device manufacture.

This nearly unique MAC address can be overwritten in software. In pCP
Squeezelite Settings, there is an option to overwrite the MAC address
although it is not recommended.



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

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


Re: [SlimDevices: Plugins] Trying to use GPIO Switches on the Tweaks Page of PiCorePlayer ....................

2020-09-17 Thread Greg Erskine


hi KeBul,

Here's an example.

https://raspmer.blogspot.com/2019/02/control-cooling-fan-with-gpio-fan.html

It should be as simple as adding one line to config.txt

https://www.picoreplayer.org/how_to_edit_config_txt.shtml

FYI: Most examples on the internet make things a lot more complicated by
using a python script.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Trying to use GPIO Switches on the Tweaks Page of PiCorePlayer ....................

2020-09-17 Thread Greg Erskine


The power/earth pins are not GPIO's. They are fixed at 5V, 3.3V or 0V
and can't be turned on and off.

The GPIO's can be turned off and on but don't have much current capacity
so extra circuitry is usually required. Usually a transistor and a
resistor or 2. This solution will typically have 3 connections, one to
3.3V, one to 0V and one to a GPIO. The GPIO usually connects to the base
of the transistor which works like a switch.

So once you decide on your circuitry and pick the GPIO you need to load
the gpio-fan overlay. This will turn your fan on if it gets hot.


Code:

Name:   gpio-fan
  Info:   Configure a GPIO pin to control a cooling fan.
  Load:   dtoverlay=gpio-fan,=
  Params: gpiopin GPIO used to control the fan (default 12)
  tempTemperature at which the fan switches on, in
  millicelcius (default 55000)




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

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


Re: [SlimDevices: Plugins] Trying to use GPIO Switches on the Tweaks Page of PiCorePlayer ....................

2020-09-16 Thread Greg Erskine


Remember when connecting devices directly to GPIO's you need to keep in
mind the current draw.

The power and earth pins have higher current capacity than the GPIO's.

Normally for motors, you would connect a transistor to the GPIO that
switches the power to the motor.



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

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


Re: [SlimDevices: Plugins] PiCorePlayer June 6th Download - pCP6.1.0 Standard Version - LMS 8.0 ?

2020-08-29 Thread Greg Erskine


I think from a third party software (piCorePlayer) perspective it is
important we do not cause excessive support issues for Logitech
(Michael).



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - States W'ifi IP: is missing - [Reboot] or [Save] to connect.' --------

2020-08-24 Thread Greg Erskine


I have "heard" that there can be a problem if the SSID is the same for
both the 2.4 GHz and 5 GHz Bands.

I DON'T know if it is a "myth" or "fact" :D



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

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


Re: [SlimDevices: Plugins] In PiCorePlayer - Will Album Art show up on the HDMI output ? .................

2020-08-20 Thread Greg Erskine


Good point Paul Webster,

I had forgotten for control only, you only need to sync if you want the
VU meters to work.

regards
Greg



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

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


Re: [SlimDevices: Plugins] In PiCorePlayer - Will Album Art show up on the HDMI output ? .................

2020-08-19 Thread Greg Erskine


Cut-Throat wrote: 
> I used an Rpi 3B plugged into a Samsung TV on HDMI 2, Using built in
> wifi, Got the Keyboard plugged in for setup and then removed it. No wind
> here tonight in Minneapolis.

hi Cut-Throat,

I setup an identical setup *except* I used a RPi1B+ plugged into a
Panasonic TV on HDMI 4, using a USB Wifi adapter with the keyboard left
plugged in, with light winds tending west to northwesterly 25 to 35
km/h. :)

After 4 hours, no pauses, glitches or hickups.

So it can work, we just have to work out where your is failing?

I didn't set "Audio output" to HDMI as I have an Allo  DigiOne on it.

regards
Greg



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

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


Re: [SlimDevices: Plugins] In PiCorePlayer - Will Album Art show up on the HDMI output ? .................

2020-08-19 Thread Greg Erskine


hi Cut-Throat,

What you are doing should just work.

But there are a million combinations, maybe a RPi4B with a Samsung TV
plugged into HDMI1, using the built-in wifi, with a keyboard plugged
into a USB3 port, when the wind is blowing in a southerly direction
won't work. :o

If you give a few more details maybe someone can give more advice.

regards
Greg



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

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


Re: [SlimDevices: Plugins] In PiCorePlayer - Will Album Art show up on the HDMI output ? .................

2020-08-19 Thread Greg Erskine


I usually plug the keyboard into the RPi.



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

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


Re: [SlimDevices: Plugins] In PiCorePlayer - Will Album Art show up on the HDMI output ? .................

2020-08-19 Thread Greg Erskine


Did you load Jivelite?



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

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


Re: [SlimDevices: Plugins] squeezelite not working on RPI4 if started as service

2020-08-10 Thread Greg Erskine


If you are using pCP6.1.0 and are using the Analog audio through the
built-in audio jack, you need to set mmap to 0. This is found on
[Squeezelite Settings] page > "ALSA setting", 4th field.



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

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


Re: [SlimDevices: Plugins] Material Skin is blank in browser on Android

2020-05-19 Thread Greg Erskine


How old are the OSes (browsers)?

I have an iPad 2 that doesn't display Material, I have always assumed it
was that the iPad is end of life and has an old version of Safari.



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

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


Re: [SlimDevices: Plugins] Can you Shutdown LMS on the LMS Web Control Page?

2020-05-16 Thread Greg Erskine


I thought the error message was from piCorePlayer's LMS page so I am
referring only to that.



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

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


Re: [SlimDevices: Plugins] Can you Shutdown LMS on the LMS Web Control Page?

2020-05-16 Thread Greg Erskine


hi Cut-Throat,

Thanks for bringing this issue up, on reading it I realise the message
is a little misleading (without looking at the more> help)

it should say something like "Warning: Logitech Media Server (LMS) is a
server database application and needs the Raspberry Pi to be shutdown
properly."

BTW: If you have "Player/server" mode set you get all the LMs options
start, stop, restart LMS etc.

regards
Greg



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

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


Re: [SlimDevices: Plugins] PiCorePlayer wifi dont's

2020-05-05 Thread Greg Erskine


hi edwin2006,

With pCP 5.0.0 onwards you can setup wpa_supplicant.conf completely
manually. This allows maximum flexibility while avoiding the html,
javascript and shell limitations.

Start out with pCP instructions here:

https://www.picoreplayer.org/how_to_setup_wifi_on_pcp_without_ethernet.shtml

Available options are described in the document below.

https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf

I can't see why hidden doesn't work on the web interface, though it's
not something I test very often.

Note: The $ setup wifi CLI is completely broken.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Why bother?

2020-04-20 Thread Greg Erskine


I think we are lucky to have so many audio distributions. Just pick the
one that best suits!

As a part time developer, I do what I want, when I want.

I wouldn't get involved in a commercial venture. This opens you up to
commercial obligations and risks.



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

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


Re: [SlimDevices: Plugins] PiCorePlayer - retry Network Mount, or delay startup somehow?

2020-04-18 Thread Greg Erskine


My gut feeling is Network wait would only work if the NAS was also the
DHCP sever, which if it is slow to boot is not a good idea.

I think we would need extra code to ping the NAS a wait for it. How long
does the NAS take to be available? Is there a delay between the NAS
being up and have drives visible to the network?



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

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


Re: [SlimDevices: Plugins] piCorePlayer v6.0.0 Samba shares - readonly checkbox missing

2020-04-16 Thread Greg Erskine


I think Paul will fix and make an update available, time permitting.



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

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


Re: [SlimDevices: Plugins] PiCorePlayer multiple SSID

2020-04-13 Thread Greg Erskine


For multiple networks you need to edit wpa_supplicant.conf manually.

Change # Maintained by piCorePlayer to # Maintained by user otherwise
pCP will change wpa_supplicant.conf



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

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


Re: [SlimDevices: Plugins] Having a problem with Spotify/Spotty

2019-06-12 Thread Greg Erskine


Sounds like it would be easier for you to buy Sonos!



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

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


Re: [SlimDevices: Plugins] Picoreplayer and software equaliser

2019-01-17 Thread Greg Erskine


What sample rate are you testing?

There is a little info on the CAPS home page.

http://www.quitte.de/dsp/caps.html#



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

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


Re: [SlimDevices: Plugins] Picoreplayer and software equaliser

2019-01-14 Thread Greg Erskine


hi ashmore,

The chirp is not normal. I did have a problem once with cables being
routed over the RPi/DAC causes noise.

You need to do a [Backup] after setting equalizer values.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Squeezelite/Picoreplayer not playing a lot of ALAC files

2019-01-10 Thread Greg Erskine

bpa wrote: 
> …. I suspect PCP has provided an easy way to look at squeezelite log as
> I guess it will have been redirected into a file.

Correct :D

[Main Page] in [Beta] mode > [Diagnostics] > [Logs]



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

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


Re: [SlimDevices: Plugins] Squeezelite/picoreplayer Support for M4a/ALAC

2019-01-09 Thread Greg Erskine


hi foxwelljsly,

On the [Main Page] > [Install]. Third button down.


Code:

Install FFMpeg libraries for Squeezelite   less> 
  This will download and install FFMpeg Libraries from the pCP repository.
  Note:
  Internet access is required.
  The 7MB FFMpeg library adds playback of ALAC and WMA. 
  



Note that this loads additional files that increase the size of
piCorePlayer by 20%. That's why we don't install it by default. :D

regards
Greg



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

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


Re: [SlimDevices: Plugins] Cron & Picoreplayer

2017-12-07 Thread Greg Erskine

hi 38domo,

Don't try to do it via the web interface and manually at the same time.
I assumed you were doing it manually.

Clear settings from web interface. I would be tempted to start from a
new image.

Just a couple of warnings, I remember when I originally did this there
were issues with getting the right owner tc/root and timezone issues.

Note there is a "cron" bootcode that is always present in piCorePlayer.


Code:

Usage: crontab [-c DIR] [-u USER] [-ler]|[FILE]
  
  -c  Crontab directory
  -u  User
  -l  List crontab
  -e  Edit crontab
  -r  Delete crontab
  FILEReplace crontab by FILE ('-': stdin)
  



regards
Greg



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

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


Re: [SlimDevices: Plugins] Cron & Picoreplayer

2017-12-06 Thread Greg Erskine

hi 38domo,

Did you do a backup to save changes?

/opt/.filetool.lst contains the entry var/spool/cron/crontabs, so your
cron settings will be re-installed after a reboot if you do a backup
($pcp bu).

piCore is RAM based so the file system is in memory, without a backup to
store changed files to mydata changes will not be preserved.

regards
Greg

This is the cron test I use.


Code:

*/1 0 * * * date >> /tmp/crontime0
  */1 1 * * * date >> /tmp/crontime1
  */1 2 * * * date >> /tmp/crontime2
  */1 3 * * * date >> /tmp/crontime3
  */1 4 * * * date >> /tmp/crontime4
  */1 5 * * * date >> /tmp/crontime5
  */1 6 * * * date >> /tmp/crontime6
  */1 7 * * * date >> /tmp/crontime7
  */1 8 * * * date >> /tmp/crontime8
  */1 9 * * * date >> /tmp/crontime9
  */1 10 * * * date >> /tmp/crontime10
  */1 11 * * * date >> /tmp/crontime11
  */1 12 * * * date >> /tmp/crontime12
  */1 13 * * * date >> /tmp/crontime13
  */1 14 * * * date >> /tmp/crontime14
  */1 15 * * * date >> /tmp/crontime15
  */1 16 * * * date >> /tmp/crontime16
  */1 17 * * * date >> /tmp/crontime17
  */1 18 * * * date >> /tmp/crontime18
  */1 19 * * * date >> /tmp/crontime19
  */1 20 * * * date >> /tmp/crontime20
  */1 21 * * * date >> /tmp/crontime21
  */1 22 * * * date >> /tmp/crontime22
  */1 23 * * * date >> /tmp/crontime23
  
  




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

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


Re: [SlimDevices: Plugins] A simple how to for "Spotty" and pCP

2017-07-29 Thread Greg Erskine

Thanks Ronnie



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

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


Re: [SlimDevices: Plugins] [Announce] Spotty v1.1.0

2017-07-21 Thread Greg Erskine

hi jouteur,

SqueezePlug has nothing to do with piCorePlayer.

SqueezePlug was a separate LMS/squeezelite distribution way back, it
might have been one of the first. It was incorporated into one of the
other products to give it LMS capability, but I am not sure if it still
used that way anymore.

regards
Greg



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

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


Re: [SlimDevices: Plugins] piCorePlayer Sueezelite stuck

2017-04-18 Thread Greg Erskine

Its good you where able to get it going and thanks for reporting back to
the forum to help others. :D



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

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


Re: [SlimDevices: Plugins] piCorePlayer Sueezelite stuck

2017-04-03 Thread Greg Erskine

hi garrigue,

I think your issue is with your USB DAC and the Raspberry Pi.

You will need to experiment with the other USB DAC settings on the
[Tweaks] page.

There may be some information to help here:
https://sites.google.com/site/picoreplayer/home/List-of-USB-DACs

regards
Greg



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

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


Re: [SlimDevices: Plugins] multiple instances squeezelite - hide one as player

2017-03-15 Thread Greg Erskine

You could use "aplay" for sounds.

Also, look at the Touch, I *think* it uses a Wolfson WM8974 (mono) DAC
for sounds.



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

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


Re: [SlimDevices: Plugins] Running picoreplayer over a VPN

2017-01-31 Thread Greg Erskine

odw199 wrote: 
> The ntp requirement came from one instance when my pi booted up with the
> date set to 1st Jan (presumably 1972 - I didn't check). It had been
> unpowered for a while so sensible to assume the clock had reset. This
> prevented openvpn from connecting as it saw the certificates as not yet
> being valid.
> 
> Could user command 1 execute before the built in time sync?

The [Boot] page shows the order that processes are run. So User commands
(in do_rebootstuff.sh) are run after settime/getTime. But I just
realised, the response from crond showing the time has been set comes up
10 or 15 seconds after the "Setup piCorePlayer complete".

I do see on the odd occasion the time displayed on the web interface
showing epoch instead of the correct time. I have assumed this is due to
the fact that we can fire up the web interface before the ntp has
completed setting the time. A refresh shows the correct date.

Some of the startup commands are backgrounded, so commands can sometimes
run before others have completed.


Code:

/usr/sbin/ntpd -q -p pool.ntp.org



This is the standard command to set the time (maybe with sudo).

Maybe a wait 5; before the openvpn command. If you like scripting, a
wait loop checking that the time is not epoch before proceeding.

I am just trying to eliminate one download and a extra command.

Again, thanks for doing this. :)

regards
Greg



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

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


Re: [SlimDevices: Plugins] Running picoreplayer over a VPN

2017-01-31 Thread Greg Erskine

hi odw199,

Great write up, thanks for your time and effort. :D

I was wondering about what you said about ntp. piCorePlayer does do a
ntp to set the time on boot. During development we sync changed files,
so if the time isn't set correctly we would know fairly quickly.

See [Main Page] in [Beta] mode > [Diagnostics] > [Boot]
Then scroll down to /usr/bin/getTime.sh

The [Boot] page shows the boot process.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Custom Clock for Jivelite with 800x480 Screen

2016-02-11 Thread Greg Erskine

gnist wrote: 
> How to do this,  is There a filemanager in picoreplayer and can it be
> done putty

LOL, filemanger in piCorePlayer, wash your mouth out ;) 

If you need one there is mc, midnight commander.

$ tce-load -iw mc

regards
Greg



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

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


Re: [SlimDevices: Plugins] Custom Clock for Jivelite with 800x480 Screen

2016-02-02 Thread Greg Erskine

tcutting wrote: 
> I just realized you are NOT running the PiCorePlayer version. Your
> Jivelite may not be the same.
> I think the original Triode version of Jivelite uses a different variant
> of lua.
> Maybe ralphy can confirm.

Hi tcutting,

I believe Triode's version uses luajit, where Ralphys uses lua.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Jivelite VU and Spectrum Analyser displays

2016-01-29 Thread Greg Erskine

uri2103 wrote: 
> I wasn't able to delete the .jivelite folder (missing rights, i was
> logged in as user "tc"). So i reinstalled everything from scratch, using
> a clean image with the following steps:
> 
> 1. Write clean image
> 2. Resize fs and make shure it is resized
> 3. Add -v parameter to squeezelite (Various Inout: -v -u vMsE -r 176400
> -e dsd)
> 4. Enable Jivelite
> 5. Select language "German"
> 6. Select Skin "Joggler"
> 7. Install applet "piCoreMenu" and restart Jivelite
> 
> I am using a Transcend Ultimate SD Card 16GB and a PiFi Digi+ DAC
> 
> The vu meters are still not showing up.:-(
> 
> Anyway thanks for your support
> Rainer

Hi Rainer,

Everything looks ok to me.

Can you confirm what screen you are using?

regards
Greg



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

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


Re: [SlimDevices: Plugins] Jivelite VU and Spectrum Analyser displays

2016-01-16 Thread Greg Erskine

johtem wrote: 
> Hello,
> 
> I have installed Picore version 2.00 on my Pi version B with Hifiberry
> DAC. 
> The VU meters and spectrum analyser are still affected by the
> volumeslider in Jivelite as mentioned above. I'm i right?
> 
> John

Hi johtem,

I think Ralphy and Steen found the solution. I am sure they will
respond.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Jivelite VU and Spectrum Analyser displays

2015-12-15 Thread Greg Erskine

ralphy wrote: 
> Thanks for looking into this Greg.
> 
> That local volume variable is not used anywhere in the function, nor is
> there any other reference to volume in the file.
> 
> It was added when Triode merged rpress' VU meter implemention for
> jivelite in Oct 2013.
> 
> I've commented out the line for now to confirm.

Hi ralphy,

Do you think it was at the same time that the VU Meters were made to
respond to the output signal strength rather than the input signal
strength?

What do other people think of the current VU Meters behaviour?

regards
Greg



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

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


Re: [SlimDevices: Plugins] Jivelite VU and Spectrum Analyser displays

2015-12-12 Thread Greg Erskine

hi Jeff07971,

I understand what you are saying now thanks! ;)

Goes to show, I never knew how VU Meters are supposed to work. :o

regards
Greg



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

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


Re: [SlimDevices: Plugins] Jivelite VU and Spectrum Analyser displays

2015-12-12 Thread Greg Erskine

Hi Jeff07971,

I can't fix it but just in case it helps someone I'll post my findings.

jivelite - VUMeter.lua


Code:

function draw(self, surface)
if self.style == "vumeter" then
self.bgImg:blit(surface, self:getBounds())
end
  
local sampleAcc = vis:vumeter()
  
local volume = self.player:getVolume()
  
_drawMeter(self, surface, sampleAcc, 1, self.x1, self.y, self.w, self.h)
_drawMeter(self, surface, sampleAcc, 2, self.x2, self.y, self.w, self.h)
  end



touch - VUMeter.lua


Code:

function draw(self, surface)
if self.style == "vumeter" then
self.bgImg:blit(surface, self:getBounds())
end
  
local sampleAcc = decode:vumeter()
  
_drawMeter(self, surface, sampleAcc, 1, self.x1, self.y, self.w, self.h)
_drawMeter(self, surface, sampleAcc, 2, self.x2, self.y, self.w, self.h)
  end



Extra line looks interesting?

regards
Greg



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

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


Re: [SlimDevices: Plugins] Rasp Pi - Squeezeslave command line help to play and pause

2015-09-24 Thread Greg Erskine

Foggy wrote: 
> Hi Greg,
> The sound quality when using the Pi is audibly inferior to a standard
> Squeezebox, even through cheap PC speakers and that is when only running
> the Squeezeslave software (I think also I tried Squeezelite some time
> ago). I did a little searching at the time and I believe it is
> considerably improved when using the specific USB audio cards, but this
> was a while back, so I suggest you do a bit of digging. When running
> 'motion' this resulted in a background click every second and additional
> white noise and the playback speed seemed marginally slower than it
> should have been. 
> When I first started considering running the Pi as a Squeezebox I soon
> discounted the idea once I realised I needed to invest more money for
> basic sound quality, I simply bought another SB3 on ebay for very
> little. 
> I also tried running the Pi as a Squeezeserver and it was painfully
> slow, unfortunately.
> 
> I hope that helps,
> Cheers,
> Foggy

Hi Foggy,

Thanks for your feedback. I somehow missed you were using a camera for
motion detection. I was interested if those simple motion detectors
caused any issues to the sound on the Raspberry Pi.

I think you will find using a cheap i2s DAC will give you similar
performance to "real" Squeezeboxes. I find "Audio out" OK for testing
purposes, and a USB to headphone DAC ($5) gives better results. It might
be a volume thing though. On the newer Raspberry Pi's there was white
noise issue that was resolved in software. I am using the first
generation Raspberry Pi successfully as a Squeezerserver, with 3
provisos, don't use the web interface, don't rescan everyday and don't
resample. Besides that, I have found it streams perfectly - for over a
year.

Stick a camera on it, I have never tried that!

regards
Greg



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

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


Re: [SlimDevices: Plugins] Rasp Pi - Squeezeslave command line help to play and pause

2015-09-23 Thread Greg Erskine

Foggy wrote: 
> Firstly, I think I will leave the medical research to the experts! I
> didn't read through my original post carefully enough before posting - I
> did laugh!
> Secondly, I much appreciate the response, the shell command above worked
> a treat and the Pi is now working perfectly in the kitchen playing the
> current playlist when the room is occupied and pausing when not. I was
> originally going to run Squeezeslave on the pi but the audio quality
> whilst running motion was pretty awful, so I simply use an existing
> Squeezebox, which doesn't need to be located near the pi, it just needs
> to be in the same room. Thanks again,
> Foggy

Great you got it going Foggy.

Can you explain a bit more the problem with the Raspberry Pi's sound
quality and the motion sensor. Are you saying the motion sensor
interfered with the Raspberry Pi's ability to play music?

I have an interest in Raspberry Pi's and squeezelite (see piCorePlayer)
so I am curious.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Rasp Pi - Squeezeslave command line help to play and pause

2015-09-21 Thread Greg Erskine

Foggy wrote: 
> Is there a way I can send commands from a script on the Pi to
> Squeezeslave on the pi - specifically play and pause???
> 
> The reason I ask is that, with my limited ability I am very close to
> creating a motion detecting Squeezebox.
> The plan is to have Muzak in the loo that continues playing the current
> playlist when someone uses the cloakroom and stops when they leave.
> So far I am part of the way there by using the camera and running
> 'motion' to play a specified mp3 file, the next step is to replace this
> command by sending a 'play' command to squeezeslave and a 'pause' when
> the room is empty.
> Does this sound feasible?
> 
> Obviously having a camera in the cloakroom isn't great, but once I get
> it working I might look at using a PIR.
> 
> Cheers
> 
> Foggy


Hi Foggy,

I think it is normal practise to control the Raspberry Pi via LMS.

( echo "$MAC $STRING"; echo exit ) | nc $LMSIP 9090 

MAC=mac address of Raspberry Pi
STRING=LMS command i.e. play, pause
LMSIP=LMS ip address

If nc is not available try netcat.

You may not need to include $MAC.

The LMS CLI is documented on your LMS via Help on the web interface.

regards
Greg



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

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


Re: [SlimDevices: Plugins] Rasp Pi - Squeezeslave command line help to play and pause

2015-09-21 Thread Greg Erskine

Man in a van wrote: 
> A first for medical science:p;)
> 
> Ronnie

Great mental picture. ;)



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

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


Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-03 Thread Greg Erskine

hi britcowboy,

This solution is not exactly what you are asking for but I think the
result is... if you are using a Linux player.

http://www.pinkfishmedia.net/forum/showthread.php?t=165465

The shell script monitors LMS for squeezelite activity, after a fixed
period of inactivity the amp is turned off. When squeezelite starts the
amp is turned on.

The script could be converted to other OS scripts or higher level
languages. For piCorePlayer we wanted to use only the basic tools
available in piCore without having to install other extensions
(packages).

regards
Greg



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

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


Re: [SlimDevices: Plugins] Squeezelite soft power off/on detect

2015-01-03 Thread Greg Erskine

britcowboy wrote: 
 Thanks Greg, that looks like it will do just what I'm looking for!
 Probably better than my solution as people will no doubt forget to soft
 power off anyway. 
 
 The server and clients are on a mac (long story short, I have airplay
 speakers that I've hacked using shell scripts, squeezelite and airfoil
 to be squeezebox clients, works surprisingly well)  so the shell script
 will work fine, and will allow me to turn off amps when not in use and
 also turn off the airplay streams, to save the constant streaming of
 nothing. 
 
 Thanks!

hi britcowboy,

Accessing the GPIOs on a Raspberry Pi is easy, but I don't know how to
interface to the real world on a mac. I suppose there are solutions?

regards
Greg



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

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


Re: [SlimDevices: Plugins] Software players not automatically re-connecting to LMS

2014-12-11 Thread Greg Erskine

hi usc95,

I don't find this is the case.

I have a combination of real, piCorePlayer (squeezelite) devices and
iPeng on iPad, all connect very reliably.

LMS is on a Raspberry Pi (squeezeplug).

regards
Greg



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

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