Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-12-15 Thread pmendiuk


I would like to write some python scripts in PcP and I am running into
some issues with creating and using an extension that contains the
required python packages.  

I installed python3.8-pip and installed all the required packages and my
script runs fine.  Pip installed all the packages into
/usr/local/lib/python3.8/site-packages. When I ran pip list shows all
the installed packages.  I then ran mksquashfs on the /usr directory and
copied the .tcz file to /etc/sysconfig/tcedir/optional.  I then added
the .tcz filename to /etc/sysconfig/tcedir/onboot.lst and ran pcp bu and
pcp rb.  I then tried to run the script and it failed at the import of
the first package that was previously installed.   I then ran pip list
and pip and setuptools were the only listed packages.  I ran tce-load -i
newextension.tcz and it said it was loaded.

Is there something else I need to do with python packages in extensions?



pmendiuk's Profile: http://forums.slimdevices.com/member.php?userid=62342
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


[SlimDevices: Unix] Waveshare 2.8" touchscreen

2021-12-15 Thread alidaf


I've managed to get one of these
https://www.waveshare.com/wiki/2.8inch_DPI_LCD to show the boot text and
display the graphical logo but I can't get Jivelite to display anything
other than the logo very briefly (which doesn't display without Jivelite
installed). I have also ran the touchscreen calibration, which returned
some values but I'm at a loss as how to progress so I'd be grateful for
any pointers.



alidaf's Profile: http://forums.slimdevices.com/member.php?userid=64775
View this thread: http://forums.slimdevices.com/showthread.php?t=115581

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2021-12-15 Thread bpa

MartinS0815 wrote: 
> Hi, i´m trying to get Squeezelite running on a pulseaudio system, but it
> fails.
> 
> PA is running, squeezelite on direct HW was also running.
> But if I use -o pulse, it does not start
> 
A good utility to help with managing pulseaudio and how it is configured
is pavucontrol. Check your output device is there an available.

> 
> > 
Code:

  >   > pi@pidisplay:~ $ sudo squeezelite-armv6hf
  > [22:41:34.859182] test_open:281 playback open error: Connection refused
  > [22:41:34.859581] output_init_common:401 unable to open output device: 
default

> > 
> 

There is a squeezlite-pulse especially for Pulseaudio. Have you tried it
? https://sourceforge.net/projects/lmsclients/files/squeezelite/linux/



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] LMS will not update in pCP.

2021-12-15 Thread callesoroe


paul- wrote: 
> Looks like you have a system that has been partially updated somewhere
> along the line.
> 
> You need to update the extension squashfs-tools.tcz

How do you update this ??? I have the same problem ??



Callesoroe
Living room: Transporter, Preamp Gato PRD-3S NPM, Martin Logan Vista
speakers, Power-AMP Gato DPA-4004 (biamp setup).
Kitchen: Transporter - Prodipe Pro 5 active bi-amp speakers. Bedroom:
Receiver+UE boombox, Kids: Receiver+Active speakers, Summerhouse: Touch
- Bencmark DAC1, JBL LSR305 active speakers , TIDAL HIFI flac
streaming.
http://www.last.fm/user/callesoroe

callesoroe's Profile: http://forums.slimdevices.com/member.php?userid=22693
View this thread: http://forums.slimdevices.com/showthread.php?t=115550

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


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-12-15 Thread Paul Webster


Try taking the "sudo" out.



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

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


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-12-15 Thread carsten_h


uudruid74 wrote: 
> There is a how-to
> (https://docs.picoreplayer.org/projects/autostart-squeezelite-from-usb-dac/)
> that suggests this should be working.

Yes, I think that was the work from this thread. But it seems that there
is not the whole script which is used in this thread.

uudruid74 wrote: 
> Any ideas?

No, not really. Maybe you can try the last version of the script from
this thread here.



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

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


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-12-15 Thread uudruid74


Greg Erskine wrote: 
> hi carsten_h,
> 
> I can't give you a definite answer but... here's a guess.
> 
> I believe in pCP7 there was a problem getting the card name (from USB
> DAC) which caused errors restoring asound.state.
> 
> The USB restart scripts worked around this.
> 
> Maybe because we fixed a few ALSA things in pCP8.0.0 it broke
> something.
> 
> Or, it could be these scripts don't play nice with the instu upgrade
> process.
> 
> regards
> Greg

Pulling my hair out here.  I'm trying to restart squeezelite via udev
rules.  The script is executing.  It tries to restart the server, but it
doesn't actually start.  If I run the same script via the command line,
it runs and starts just fine.  There is a how-to
(https://docs.picoreplayer.org/projects/autostart-squeezelite-from-usb-dac/)
that suggests this should be working.  The actual call to the init
script is run via sudo so it shouldnt be a permissions thing.   Any
ideas?



uudruid74's Profile: http://forums.slimdevices.com/member.php?userid=72371
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

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