Hi David
Sorry about that - as I said, I couldn't really test it. Something wrong with the setup script changes - I'll take a look in a mo.
In the meantime, you can get that missing file directly by
in your home folder. You might need to do aCode:wget https://raw.githubusercontent.com/peteS-UK/EvoSabre-DAC-PCP/main/lms_oled_mini__py3.py
Then doCode:chmod +x ./lms_oled_mini__py3.pyThen give it a tryCode:pcp bu
Code:python3 ./lms_oled_mini_py3.py
Results 81 to 90 of 104
-
2022-05-26, 00:37 #81
- Join Date
- Jun 2012
- Posts
- 458
-
2022-05-26, 00:47 #82
- Join Date
- Aug 2020
- Posts
- 40
tc@pCP:~$ wget https://raw.githubusercontent.com/pe...d_mini__py3.py
Connecting to raw.githubusercontent.com (185.199.109.133:443)
saving to 'lms_oled_mini__py3.py'
lms_oled_mini__py3.p 100% |************************************************* ***********************| 17285 0:00:00 ETA
'lms_oled_mini__py3.py' saved
tc@pCP:~$ chmod +x ./lms_oled_mini__py3.py
tc@pCP:~$ pcp bu
[ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz
Done.
[ OK ] Backup successful.
[ WARN ] Your backup is a little large - 738876 bytes.
[ INFO ] Be careful adding large files to /home/tc.
[ INFO ] If your backup takes a long time, piCorePlayer may fail to start properly.
tc@pCP:~$ python3 ./lms_oled_mini_py3.py
python3: can't open file './lms_oled_mini_py3.py': [Errno 2] No such file or directory
-
2022-05-26, 00:50 #83
- Join Date
- Jun 2012
- Posts
- 458
dOH - Double sorry - just spotted it. There's a spelling mistake in the filename - it's got 2 underscores in its name mini__py3.p
Code:python3 ./lms_oled_mini__py3.py
-
2022-05-26, 00:58 #84
- Join Date
- Aug 2020
- Posts
- 40
tc@pCP:~$ python3 ./lms_oled_mini__py3.py
INFO 2022-05-26 09:51:47,817 - Default Gateway Interface: eth0
INFO 2022-05-26 09:51:47,818 - Non WiFi WiFi Network Detected
INFO 2022-05-26 09:51:49,829 - Player IP: 192.168.1.106
INFO 2022-05-26 09:51:49,830 - Discovering LMS IP
INFO 2022-05-26 09:51:49,830 - Local LMS Detected
INFO 2022-05-26 09:51:49,831 - LMS IP: 127.0.0.1
INFO 2022-05-26 09:51:49,832 - Player MAC: dc:a6:32:55:ba:dc
INFO 2022-05-26 09:51:50,947 - LMS Version: 8.2.0
INFO 2022-05-26 09:51:50,947 - Player Name: piCorePlayer
INFO 2022-05-26 09:51:50,949 - Player State: stop
and nothing happens
-
2022-05-26, 01:05 #85
- Join Date
- Aug 2020
- Posts
- 40
I have a screen, with clock, ip, and volume...
Cool!!
More tests later😉
Thanks a lot
-
2022-05-26, 01:08 #86
- Join Date
- Jun 2012
- Posts
- 458
Woop Woop. That's great news. What happened to make it work from your previous post?
I had to try and fiddle the font sizes, locations etc. by combining a couple of files, so likely things won't fit, be displayed right etc.. But, if the display is working, it's easy enough to move things around.
-
2022-05-26, 01:57 #87
- Join Date
- Aug 2020
- Posts
- 40
Reboot manually...
And screen works with songs!
Very reactive!
👍
-
2022-05-26, 01:58 #88
- Join Date
- Jun 2012
- Posts
- 458
Ah yes - as per the note on the original install, you need to reboot afterwards.
Great to hear it's working. Let me know how we need to tweak any layouts so we can get it sorted.
-
2022-05-29, 07:20 #89
- Join Date
- Aug 2020
- Posts
- 40
Ok some bugs,
Screen doesnt take new infos, timing variable.
It stops (same thing on the screen).
I have to launch code on ssh to debug
python3 ./lms_oled_mini__py3.py
-
2022-05-29, 07:28 #90
- Join Date
- Jun 2012
- Posts
- 458
If you add LOGFILE=Y to the command line, it'll dump the log out to evosabre.log. But, SSH will be easiest as you'll see any other info as well. Else, we'll need to take a look at the log files (in PCP, on the Main Page, look at Diagnostics, then Log)
So, you're saying that it'll work OK for a while, and then the screen will freeze after some variable time?
Or, are you saying 2 seperate things
Screen doesnt take new infos, timing variable.
It stops (same thing on the screen).
Would be good if we can see an error when it stops. The fact that the items stay on the screen says it's less likely to be the script crashing (since that would probably blank the screen vs maybe a buffer or something in the driver)
pete S