Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread paul-


The dev extensions will get you, but the error message is normally
pretty in your face.   I have scripts to make extension from pip (And
load the standard build extensions), you just have to load the pip
dependencies first such that you only get one package in the extension. 
Since each has their own author, the info files need to be kept
straight.   Making the info file for the repo takes the most amount of
time.

Pillow and rpi.gpio are already posted extensions..

You missed a few dependancies.
cbor2
wrapt
depreciated



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=U7JHY5WYHCNRU=GB_code=USD=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=113512

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


Re: [SlimDevices: Unix] Jivelite on a Joggler

2021-06-09 Thread Gingermagic


Thanks for the explanation of the differences, Chill.

I prefer the way that the power button works on Sqeezeplay. So, I'm
going to put Squeezeplay back on the bedroom Joggler and keep Jivelite
on the main house Joggler.

Cheers,
Damian



Gingermagic's Profile: http://forums.slimdevices.com/member.php?userid=30509
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread psketch


error output when trying to pip install luma.core is 


Code:


  Building wheels for collected packages: spidev
  Building wheel for spidev (setup.py) ... error
  ERROR: Command errored out with exit status 1:
  command: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; 
sys.argv[0] = '"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; 
__file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' 
bdist_wheel -d /tmp/pip-wheel-d6tospu4
  cwd: /tmp/pip-install-vcnpqe_4/spidev/
  Complete output (12 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'spidev' extension
  creating build
  creating build/temp.linux-armv7l-3.8
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -O3 -pipe 
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -fPIC 
-I/usr/local/include/python3.8 -c spidev_module.c -o 
build/temp.linux-armv7l-3.8/spidev_module.o
  spidev_module.c:28:10: fatal error: Python.h: No such file or directory
  28 | #include 
  |  ^~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  
  ERROR: Failed building wheel for spidev
  Running setup.py clean for spidev
  Failed to build spidev
  Installing collected packages: spidev, luma.core
  Running setup.py install for spidev ... error
  ERROR: Command errored out with exit status 1:
  command: /usr/local/bin/python3.8 -u -c 'import sys, setuptools, tokenize; 
sys.argv[0] = '"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; 
__file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install 
--record /tmp/pip-record-vebbc7i6/install-record.txt 
--single-version-externally-managed --user --prefix= --compile 
--install-headers /home/tc/.local/include/python3.8/spidev
  cwd: /tmp/pip-install-vcnpqe_4/spidev/
  Complete output (12 lines):
  running install
  running build
  running build_ext
  building 'spidev' extension
  creating build
  creating build/temp.linux-armv7l-3.8
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall 
-O3 -pipe -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -O3 -pipe 
-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -use-ld=gold -fPIC 
-I/usr/local/include/python3.8 -c spidev_module.c -o 
build/temp.linux-armv7l-3.8/spidev_module.o
  spidev_module.c:28:10: fatal error: Python.h: No such file or directory
  28 | #include 
  |  ^~
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  
  ERROR: Command errored out with exit status 1: /usr/local/bin/python3.8 -u -c 
'import sys, setuptools, tokenize; sys.argv[0] = 
'"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"'; 
__file__='"'"'/tmp/pip-install-vcnpqe_4/spidev/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install 
--record /tmp/pip-record-vebbc7i6/install-record.txt 
--single-version-externally-managed --user --prefix= --compile 
--install-headers /home/tc/.local/include/python3.8/spidev Check the logs for 
full command output.
  




psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread psketch


paul- wrote: 
> Python modules can be tricky, sometimes downloading the source and using
> setup.py works better than pip.   pip will sometimes pull in precompiled
> binaries that don't work well in our environment.   I would be happy to
> take a look.
> 
> Is this the list?
> https://pypi.org/project/spidev/
> https://pypi.org/project/luma.core/
> https://pypi.org/project/luma.oled/

Thanks Paul

spidev isn't directly imported - it's a dependency in luma.core and the
import breaks at that point.  I've imported extensions python3.8,
python-pip, python-setuptools, python-pillow and python-gpio already. 
Then I can pip import pylms ok, but luma.core fails - I didn't actually
try luma.oled.

When I built my own python, the reqs.pip was 

pillow --global-option="build_ext" --global-option="--disable-jpeg"
--global-option="--disable-zlib" --global-option="--enable-freetype"
luma.oled
luma.core
pyftdi
smbus2
spidev
RPI.GPIO
pyusb
pyserial
pylms

pyusb, smbus2, and pyserial are dependencies of luma.core I think - but
i think it seemed to pull them ok when I tried to import luma.core

BTW - when I built my own, I had to do "CFLAGS="-fcommon" pip install -r
reqs.pip " because otherwise rpi.gpio won't build, but I assume the
python-gpio extension would bypass that...

Happy to try anything

As I said, I can build it anyway, but the extension route will be much
easier for others, and I'm trying to persuade Audiophonics to provide a
pcp standard image instead of the very fat dietpi image they push out at
the moment.

Peter



psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread paul-


psketch wrote: 
> Hi Paul & pcpteam
> 
> I'm trying get pcp working on the Audiophonics
> https://www.audiophonics.fr/en/network-audio-players-raspdac/audiophonics-evo-sabre-pack-diy-balanced-dac-2xes9038q2m-streamer-for-raspberry-pi-4-p-14639.html.
> I've now got it all running, but the second screen uses luma.core and
> luma.oled with a python script.  To get this working, I had to build my
> own python as the luma.core and luma.oled modules aren't available as
> tcz's.  If I install the various python modules that are available
> (python38, python-pip, python-setuptools, python-rpi) and compiletc and
> then try and import the modules using pip install oled.core, it fails to
> build one of the dependencies - spidev.
> 
> The python script also uses pylms, but I can import that OK with PIP,
> although a tcz for that would be nice :-)
> 
> I'm going to post a thread on how to get this dac running pcp - i've
> replaced my Transporter with it, and it's a really nice device.  But I
> wanted to see if we could make it easier for people so they don't have
> to run through the rather long process of building their own python.
> 
> Thanks
> 
> pete S

Python modules can be tricky, sometimes downloading the source and using
setup.py works better than pip.   pip will sometimes pull in precompiled
binaries that don't work well in our environment.   I would be happy to
take a look.

Is this the list?
https://pypi.org/project/spidev/
https://pypi.org/project/luma.core/
https://pypi.org/project/luma.oled/



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=U7JHY5WYHCNRU=GB_code=USD=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=113512

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


Re: [SlimDevices: Unix] PiCorePlayer 7 and Bluetooth

2021-06-09 Thread tjako


Ok... 

I found the option to select the device, somehow managed to miss that
one.

My setup is working properly now.


Thanx.



tjako's Profile: http://forums.slimdevices.com/member.php?userid=57328
View this thread: http://forums.slimdevices.com/showthread.php?t=113993

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


Re: [SlimDevices: Unix] PiCorePlayer 7 and Bluetooth

2021-06-09 Thread paul-


Once the speaker is connected, you can select it from the jivelite
interface.   Jivelite works best with devices that are always connected.



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=U7JHY5WYHCNRU=GB_code=USD=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=113993

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


Re: [SlimDevices: Unix] PiCorePlayer 7 and Bluetooth

2021-06-09 Thread tjako


Hi all,

I've been trying out the picoreplayer on a rpi4b with a pidisplay and a
bluetoothspeaker (megaboom3)
It all connects even the bluetooth seems to connect on poweron.

Via lms I can play music on the bt speaker.

However the bluetoothspeaker can only be managed via lms and not via the
jivelite.

Is there a way to configure jivelite/picoreplayer so that jivelite
connects to the bluetoothspeaker instance ?

currently the pidisplay is kinda useless when using bluetooth speakers.

Tjako



tjako's Profile: http://forums.slimdevices.com/member.php?userid=57328
View this thread: http://forums.slimdevices.com/showthread.php?t=113993

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread ralphy


ralphy wrote: 
> 
> I'm currently chasing a problem trying to uploading the updated
> extension to the picoreplayer main repository.  If you switch to the
> picoreplayer mirror repository and then upgrade the pcp-streamer.tcz
> extension v1.04 will be installed.

The pcp-streamer extension had been updated to v1.04 in the picoreplayer
7 main repository now.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-06-09 Thread psketch


Hi Paul & pcpteam

I'm trying get pcp working on the Audiophonics
https://www.audiophonics.fr/en/network-audio-players-raspdac/audiophonics-evo-sabre-pack-diy-balanced-dac-2xes9038q2m-streamer-for-raspberry-pi-4-p-14639.html.
I've now got it all running, but the second screen uses luma.core and
luma.oled with a python script.  To get this working, I had to build my
own python as the luma.core and luma.oled modules are available as
tcz's.  If I install the various python modules that are available
(python38, python-pip, python-setuptools, python-rpi) and compiletc and
then try and import the modules using pip install oled.core, it fails to
build one of the dependencies - spidev.

The python script also uses pylms, but I can import that OK with PIP,
although a tcz for that would be nice :-)

I'm going to post a thread on how to get this dac running pcp - i've
replaced my Transporter with it, and it's a really nice device.  But I
wanted to see if we could make it easier for people so they don't have
to run through the rather long process of building their own python.

Thanks

pete S



psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

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