Dear Pete,
I would like to have an image. I have problems to install the second screen, but I like picorePlayer very much.
Results 31 to 40 of 74
-
2022-04-29, 07:44 #31
- Join Date
- Apr 2022
- Posts
- 2
Image needed
-
2022-04-29, 09:20 #32
- Join Date
- Jun 2012
- Posts
- 436
Hi Thomas
You can download an image from https://www.mediafire.com/file/jfz5f...07.img.gz/file This is an PCP 8.1. image with all of the tweaks built in (I think). It should auto-discover everything, including the LMS server, so I think you should just be able to burn it to a new SD and plug it into the evosabre and off you go.
Any problems, let me know.
pete SLast edited by psketch; 2022-04-29 at 09:27.
-
2022-04-30, 09:05 #33
- Join Date
- Jun 2012
- Posts
- 436
BTW - if anyone wants the python code, I published it to https://github.com/peteS-UK/EvoSabre-DAC-PCP-Python
-
2022-05-13, 12:21 #34
- Join Date
- Apr 2022
- Posts
- 3
Hi Pete,
Thanks for the good work!
What if I want to use a 7inch screen and jivelight? I read that lirc doesn't work then. Is that correct?
I can't get my remote to work ....
Thanks in advance for any help on this...
-
2022-05-14, 08:20 #35
- Join Date
- Dec 2021
- Posts
- 8
Errors when run
Hi,
I try to use your script with a different configuration (Pi 3 and Oled 3.12) with no Evo Sabre. Picore plus LMS installed, actually I use your image.
I had to change gpio DC to 24 and gpio RST to 25 as I have different connection.
It starts, I see Audiophonics, but after I have the followings errors:
tc@pCP:~$ python3 /home/tc/lms_oled_3.12_py3.py
Default Gateway Interface: wlan0
WiFi Network Detected
Player IP: 192.168.1.63
Discovering LMS IP
Traceback (most recent call last):
File "/home/tc/lms_oled_3.12_py3.py", line 255, in server_connect
lms_ip, lms_name = get_lms_ip()
File "/home/tc/lms_oled_3.12_py3.py", line 135, in get_lms_ip
sock.bind((player_ip,3483))
OSError: [Errno 98] Address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tc/lms_oled_3.12_py3.py", line 329, in <module>
server_connect()
File "/home/tc/lms_oled_3.12_py3.py", line 274, in server_connect
print("Player " + player_mac + " not connected to LMS : " + lms_ip)
UnboundLocalError: local variable 'player_mac' referenced before assignment
Any help please?
Thank you
-
2022-05-14, 08:38 #36
- Join Date
- Jun 2012
- Posts
- 436
Hmm - sounds like the way I'm doing discovery of LMS doesn't work if it's local - assuming you mean that LMS is installed on the same Pi as you're running the script.... I'll take a look. When did you pull the script/image? If it's in the last week or so, specify the LMSIP address in the command line
python3 /home/tc/lms_oled_3.12_py3.py LMSIP=127.0.0.1
If it's a little older, probably best to get the new one but otherwise, the command line would be
python3 /home/tc/lms_oled_3.12_py3.py 127.0.0.1
This should stop the script from trying to discover the LMS IP address. Let me know if that works, and I'll put a fix in it to handle local LMS better
-
2022-05-14, 08:53 #37
- Join Date
- Jun 2012
- Posts
- 436
Actually, if that's the problem, it's an easy fix - error catch was a couple of lines too low. Let me know if forcing the address works, and if so, I'll post an update which should mean you don't need to (but telling me if forcing it works will confirm the problem)
-
2022-05-14, 09:48 #38
- Join Date
- Dec 2021
- Posts
- 8
Thanks for fast response.
With local LMS server it did not work adding ip address.
I try with another LMS server and it works with python3 /home/tc/lms_oled_3.12_py3.py ip_adress
I will download the image from April 29 post and retry.
-
2022-05-14, 10:39 #39
- Join Date
- Dec 2021
- Posts
- 8
Installed last image and it works with local LMS adding ip address in command line.
Thank you.
-
2022-05-14, 11:42 #40
- Join Date
- Jun 2012
- Posts
- 436
OK - that's good news. I've posted an updated .py file to https://github.com/peteS-UK/EvoSabre-DAC-PCP-Python - this one should detect local LMS I think. Could you give it a try - you'll need to take out the ip address from the command line to test it. Just overwrite the existing file in home, but remember to do a backup before rebooting (pcp bu or through the UI).