Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 8 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 74
  1. #31
    Junior Member
    Join Date
    Apr 2022
    Posts
    2

    Image needed

    Dear Pete,
    I would like to have an image. I have problems to install the second screen, but I like picorePlayer very much.

  2. #32
    Senior Member
    Join Date
    Jun 2012
    Posts
    436
    Quote Originally Posted by weizenkeym View Post
    Dear Pete,
    I would like to have an image. I have problems to install the second screen.
    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 S
    Last edited by psketch; 2022-04-29 at 09:27.

  3. #33
    Senior Member
    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

  4. #34
    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...

  5. #35
    Junior Member
    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

  6. #36
    Senior Member
    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

  7. #37
    Senior Member
    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)

  8. #38
    Junior Member
    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.

  9. #39
    Junior Member
    Join Date
    Dec 2021
    Posts
    8
    Installed last image and it works with local LMS adding ip address in command line.
    Thank you.

  10. #40
    Senior Member
    Join Date
    Jun 2012
    Posts
    436
    Quote Originally Posted by Livs View Post
    Installed last image and it works with local LMS adding ip address in command line.
    Thank you.
    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •