[SlimDevices: Unix] PicorePlayer - how to compile a socket server ?

2021-08-24 Thread ciuffoly


What package is missing ?

TC@BLUE:~/SERVER$ GCC
-SH: GCC: NOT FOUND

TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I GCC.TCZ
LIBLZ4.TCZ: OK
ZSTD.TCZ: OK
MPFR.TCZ: OK
MPC.TCZ: OK
GCC.TCZ: OK

TC@BLUE:~/SERVER$ GCC -O SERVER SERVER.C
SERVER.C:4:10: FATAL ERROR: STDIO.H: NO SUCH FILE OR DIRECTORY
4 | #INCLUDE 
|  ^
COMPILATION TERMINATED.

TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I GLIBC_ADD_LIB.TCZ
GLIBC_ADD_LIB IS ALREADY INSTALLED!
TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I GLIBC_APPS.TCZ
GLIBC_APPS IS ALREADY INSTALLED!
TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I GLIBC_BASE-DEV.TCZ
GLIBC_BASE-DEV.TCZ: OK
TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I LIBCUPS.TCZ
LIBCUPS IS ALREADY INSTALLED!
TC@BLUE:/MNT/MMCBLK0P2/TCE/OPTIONAL$ TCE-LOAD -I GCC_LIBS-DEV.TCZ
GCC_LIBS-DEV.TCZ: OK

TC@BLUE:~/SERVER$ GCC -O SERVER SERVER.C
IN FILE INCLUDED FROM /USR/INCLUDE/SYS/SOCKET.H:33,
FROM SERVER.C:6:
/USR/INCLUDE/BITS/SOCKET.H:354:11: FATAL ERROR: ASM/SOCKET.H: NO SUCH
FILE OR DIRECTORY
354 | # INCLUDE 
|   ^~
COMPILATION TERMINATED.



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115028

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


Re: [SlimDevices: Unix] PicorePlayer - how to compile a socket server ?

2021-08-24 Thread paul-


compile.tcz is a pseudo extension that loads the key extensions for
compiling.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115028

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


Re: [SlimDevices: Unix] PicorePlayer - how to compile a socket server ?

2021-08-24 Thread ciuffoly


paul- wrote: 
> compile.tcz is a pseudo extension that loads the key extensions for
> compiling.

perfect!

but about wiringPiI2C.h ?



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115028

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


[SlimDevices: Unix] PicorePlayer - how to enable I2C ?

2021-08-24 Thread ciuffoly


I need to enabe i2C but on PicorePlayer but there is no raspi-config and
no i2c-tools.

How I can solve this problem ?



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115030

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


Re: [SlimDevices: Unix] Old playlists showing as empty after migration to pCP

2021-08-24 Thread Mellon


still having the same issue, although I have noticed that some of the
original playlists have a few of the playlist entries visible.

I thought perhaps I had subsequently played them, not via a playlist,
and that was why these few were visible, but I tested this by playing a
song which is in one of the empty playlists, and the playlist remained
empty

again, the syntax looks the same for working and non working.

I'm not sure if this question has had no replies because it is too hard,
or too easy and perhaps a perception that I just had the issue and
immediately posted the question? I have trawled the boards without
finding anything that covers this

Also, I posted this in Linux / Unix as I had a hunch this might be some
sort of OS specific permissions issue, but would there be a better place
to post this query?

Hope someone can help



Mellon's Profile: http://forums.slimdevices.com/member.php?userid=69383
View this thread: http://forums.slimdevices.com/showthread.php?t=114789

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


Re: [SlimDevices: Unix] PicorePlayer - how to compile a socket server ?

2021-08-24 Thread paul-


WiringPI is depreciated.   Use pigpio if you need something fancy, or
just control directly.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115028

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


Re: [SlimDevices: Unix] PicorePlayer - how to enable I2C ?

2021-08-24 Thread ciuffoly


ciuffoly wrote: 
> I need to enabe i2C but on PicorePlayer there is no raspi-config and no
> i2c-tools.
> 
> How I can solve this problem ?

Solved the problem looking on another Forum

tc@blue:~/server$ ./server
using port #8082
Unable to open I2C device: No such file or directory

tc@blue:~/server$ sudo modprobe i2c-dev

tc@blue:~/server$ ./server
using port #8082



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115030

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread mr-b


Hi

My VU meters have all disappeared after I switched to wifi from
ethernet.
I checked jivelite was pointing to the correct new player (same name)
and music plays fine but there are just no VU meters at all when you
switch views.
I tried switching VU meters and saved, then restarted PCP but still
nothing.

Any ideas?



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread Howard Passman


Uninstall Jivelite and reinstall with the interface that you will be
using. ie: Ethernet or wifi. It's how Jivelite works unfortunately. VU
meters will be back fter you do that.

Bests,

Howard


mr-b wrote: 
> Hi
> 
> My VU meters have all disappeared after I switched to wifi from
> ethernet.
> I checked jivelite was pointing to the correct new player (same name)
> and music plays fine but there are just no VU meters at all when you
> switch views.
> I tried switching VU meters and saved, then restarted PCP but still
> nothing.
> 
> Any ideas?



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread Howard Passman


Also, as I stated previously, there seems to be a hang up when using LMS
8.0 and Jivelite. If you are using LMS 8.0 I would recommend going back
to LMS 7.0.

Howard 


Howard Passman wrote: 
> Uninstall Jivelite and reinstall with the interface that you will be
> using. ie: Ethernet or wifi. It's how Jivelite works unfortunately. VU
> meters will be back fter you do that.
> 
> Bests,
> 
> Howard



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread mr-b


Howard Passman wrote: 
> Uninstall Jivelite and reinstall with the interface that you will be
> using. ie: Ethernet or wifi. It's how Jivelite works unfortunately. VU
> meters will be back fter you do that.
>  That's great - thanks! VU meters are working again (well after I've
figured out which skin to use on my 7" display - it's not very forgiving
of the wrong setting and I had no clue which to use!).

FWIW I'm running LMS 8.0 (but on another rPi) and have not seen any
jivelite issues so far apart from this one.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread paul-


mr-b wrote: 
> Hi
> 
> My VU meters have all disappeared after I switched to wifi from
> ethernet.
> I checked jivelite was pointing to the correct new player (same name)
> and music plays fine but there are just no VU meters at all when you
> switch views.
> I tried switching VU meters and saved, then restarted PCP but still
> nothing.
> 
> Any ideas?

After changing the interface, you have to reset something in jivelite. 
There is a reset button in the pCP interface.  You will have to setup
jivelite from scratch.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread Howard Passman


The only issue I saw with Jivelite and LMS 8.0 was if you reset Jivelite
you will not be able to select a skin. At least every time I did it
locked up. I could load everything with pCP 7.0 and then insitu update
to pCP 8.0 fine. But if I reset Jivelite I had to go back to pCP 7.0 and
start over.

Pretty much the only real choice with a 7" screen is Joggler.

It might be handy if there was an information bit where you load
Jivelite about using the right interface if you want to use the VU's

Glad all is well. I don;t know much, but I know this bit.

Howard


mr-b wrote: 
> That's great - thanks! VU meters are working again (well after I've
> figured out which skin to use on my 7" display - it's not very forgiving
> of the wrong setting and I had no clue which to use!).
> 
> FWIW I'm running LMS 8.0 (but on another rPi) and have not seen any
> jivelite issues so far apart from this one.



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-08-24 Thread Howard Passman


paul- wrote: 
> After changing the interface, you have to reset something in jivelite. 
> There is a reset button in the pCP interface.  You will have to setup
> jivelite from scratch.

Hi Paul. I didn't find reset to work in order to get the VU's working
again. Only uninstall and reinstall using the interface to be used to
connect.

Howard



Howard Passman's Profile: http://forums.slimdevices.com/member.php?userid=16674
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

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


[SlimDevices: Unix] PicorePlayer - how to add a new service to start a custom server ?

2021-08-24 Thread ciuffoly


Which is the best method to create a service to start a custom server ?

Picore does not support normal Linux services.



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115031

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-08-24 Thread IanHaynes


Something that I've become aware of recently is that if I have an album
or tracks in the queue, other albums or more tracks appended to the
queue don't always play when the original selection finishes. I can't
pin it down to any particular sequence or logic.

Is there some setting that controls this?



IAN

*Library*: Netgear NAS Duo
*Server*: RPi3 / PiCorePlayer with LMS 8.0
*Main System*: RPi2 / iQAudio DAC+ / PiCorePlayer
*Second System*: RPiZero / iQAudio DAC Zero / PiCorePlayer
*PC:* Squeezelite-X

IanHaynes's Profile: http://forums.slimdevices.com/member.php?userid=68595
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-08-24 Thread paul-


Has nothing to do with pCP, best ask in the server forum.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

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

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


Re: [SlimDevices: Unix] PicorePlayer - how to add a new service to start a custom server ?

2021-08-24 Thread paul-


Create an init.d script in the extension, and then run it after the boot
process.  pCP user commands is a good spot.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=115031

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


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-08-24 Thread slartibartfast


IanHaynes wrote: 
> Something that I've become aware of recently is that if I have an album
> or tracks in the queue, other albums or more tracks appended to the
> queue don't always play when the original selection finishes. I can't
> pin it down to any particular sequence or logic.
> 
> Is there a setting that controls this?When did you add the new tracks? If I 
> add tracks too close to the end of
the last track they don't play.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
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-08-24 Thread IanHaynes


paul- wrote: 
> Has nothing to do with pCP, best ask in the server forum.

Apologies, thanks.



IAN

*Library*: Netgear NAS Duo
*Server*: RPi3 / PiCorePlayer with LMS 8.0
*Main System*: RPi2 / iQAudio DAC+ / PiCorePlayer
*Second System*: RPiZero / iQAudio DAC Zero / PiCorePlayer
*PC:* Squeezelite-X

IanHaynes's Profile: http://forums.slimdevices.com/member.php?userid=68595
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 - how to add a new service to start a custom server ?

2021-08-24 Thread ciuffoly


paul- wrote: 
> Create an init.d script in the extension, and then run it after the boot
> process.  pCP user commands is a good spot.

I have create a script in the /etc/init.d and in /usr/local/etc/init.d
but not start.

What you mean about extension ?



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115031

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


Re: [SlimDevices: Unix] PicorePlayer - how to add a new service to start a custom server ?

2021-08-24 Thread ciuffoly


Solved with /opt/bootlocal.sh 


tc@blue:~/server$ cat /opt/bootlocal.sh 
#!/bin/sh
# put other system startup commands here
/opt/mount.sh
GREEN="$(echo -e '\033[1;32m')"

echo
echo "${GREEN}Running bootlocal.sh..."

# my custom lines
sudo modprobe i2c-dev
/home/tc/server/server  2>&1 >>  /home/tc/server/server.log &

#pCPstart--
/usr/local/etc/init.d/pcp_startup.sh 2>&1 | tee -a
/var/log/pcp_boot.log
#pCPstop--



ciuffoly's Profile: http://forums.slimdevices.com/member.php?userid=72033
View this thread: http://forums.slimdevices.com/showthread.php?t=115031

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


Re: [SlimDevices: Unix] PicorePlayer - how to add a new service to start a custom server ?

2021-08-24 Thread Greg Erskine


I think Paul assumed that your programs (with a script in init.d) would
be added to a piCore extension, so it would be loaded on boot.

See "'Creating a piCore extension'
(https://docs.picoreplayer.org/information/picore_extensions/)"

You could call the init.d script from a [Main Page] > [Tweaks] > "User
command" depending if it starts early enough in the boot process.

See [Main Page] > [Diagnostics] > [Boot Process] for boot order and
scripts.

If you name "/home/tc/server/server.log" "/var/log/pcp_server.log" it
will be available via [Main Page] > [Diagnostics] > [Logs], although it
will not be backed up between reboots unless you add it to
.filetool.lst.



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

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