Jump to content
IGNORED

allo BOSS2 Player Question


Recommended Posts

root@pCP4b-147-Allo-BOSS2:/home/tc# cd /opt/boss2_oled_p3
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# modprobe i2c-dev
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# python3 boss2_oled.py
Traceback (most recent call last):
  File "boss2_oled.py", line 36, in <module>
    from Hardware.SH1106.SH1106LCD import *
  File "/opt/boss2_oled_p3/Hardware/SH1106/SH1106LCD.py", line 3, in <module>
    from PIL import Image
  File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 109, in <module>
    from . import _imaging as core
ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3#

 

Link to comment
5 minutes ago, Wirrunna said:

root@pCP4b-147-Allo-BOSS2:/home/tc# cd /opt/boss2_oled_p3
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# modprobe i2c-dev
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# python3 boss2_oled.py
Traceback (most recent call last):
  File "boss2_oled.py", line 36, in <module>
    from Hardware.SH1106.SH1106LCD import *
  File "/opt/boss2_oled_p3/Hardware/SH1106/SH1106LCD.py", line 3, in <module>
    from PIL import Image
  File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 109, in <module>
    from . import _imaging as core
ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory
root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3#

 

Means first package is not done properly

 

type exit to go back tc user and again install the package (from root user go back to tc user by typing exit and again execute the command)

 

tce-load -wi python3.8-Pillow.tcz

Link to comment

root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# exit
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$ tce-load -wi python3.8-Pillow.tcz
python3.8-Pillow is already installed!
tc@pCP4b-147-Allo-BOSS2:~$

 

Link to comment
4 minutes ago, Wirrunna said:

root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# exit
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$
tc@pCP4b-147-Allo-BOSS2:~$ tce-load -wi python3.8-Pillow.tcz
python3.8-Pillow is already installed!
tc@pCP4b-147-Allo-BOSS2:~$

 

We will check and get back to you and we contacted picoreplater also.

Link to comment
7 hours ago, Audio_Allo said:

Picoreplayer confirmed that, this will work only for piCoreplayer player standared 32 bit version .

 

For piCoreplayer 64 bit player ,need to built. Once done we will update you.

 

OK, I have the 64 bit player.

 

I will wait for the update.

Link to comment

Audio_Allo and tx2toda,

I flashed a card with the 32 bit version of pCP 7, ran the installation commands in putty and now have the OLED working the same as tx2toda, displaying S32 44100  for a 16bit 44100 MP3.

 

So, it is working. I will check for the 64bit version regularly.

Link to comment
1 hour ago, tx2toda said:

DietPi_RPi-ARMv7-Buster_AlloGUI

IMG_2555.jpg

It is player (OS) related settings, player what rate is sending, same will display.

 

In backend we can check what rate files playing using below command

 

cat /proc/asound/card1/pcm0p/sub0/hw_params

 

In picore player, while playing 16 bit ,below is displaying in backend

 

tc@pCPBOSS2:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 1764
buffer_size: 7056

 

 

 

 

Link to comment

@Audio Allo,

Your assistance is requested to have my new Allo Boss 2 and Rpi4 with Picoreplayer 7 work with each other.

I have tried to follow the earlier conversations and directions but unfortunately I do not the skills to make anything happen.

I can install Picoreplayer on the Pi and I can view it in a browser and set whatever switches I think need to be set. After that there is no sound and no activity with the OLED. My music library is on LMS and it works with my other versions of PCP.

My understanding is that a new release of Picoreplayer 7.x will include the Allo commands? Thank you.

Link to comment

Hi,kthan

I tried to summarize what I've done so far. 
Is it useful?


piCorePlayer v7.0.0 64bit Ver.
----------------------------------
Resize FS on webGUI 

 ssh login with user:tc Password:piCore 
 ※Windows10 ssh software「putty」or「Tera Term」 

 tce-audit updatedeps       
 tce-audit fetchmissing

 tce-load -wi python3.8-Pillow.tcz
 tce-load -wi python3.8-smbus.tcz
 tce-load -wi python3.8-rpi-gpio.tcz
 tce-load -wi iproute2.tcz

 sudo su
    
 cd /opt/
    
 wget https://raw.githubusercontent.com/allocom/allo_boss2_oled_p3/main/boss2_oled_p3.tar.gz
        
 tar -xzvf boss2_oled_p3.tar.gz

 
on web GUI Tweaks page user commands type below line and save
sh /opt/boss2_oled_p3/oled_run.sh 

 

reboot
 

Link to comment

Hi tx2toda,

Thank you for the prompt response and detailed instructions.

I really have no clue what I have to do and where to get the required files. I really have to sit down and figure out what each command means and go from there.

I'll have to look for local help once I figure out what I need.

Thanks.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...