Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21
    Junior Member
    Join Date
    Jun 2020
    Location
    North America west coast
    Posts
    10
    Quote Originally Posted by gregex View Post
    Sorry, I should have been clear -- run this to start the display:

    Code:
    python3 lms_oled_1.54_spi_audiophonics_py3.py
    From reading earlier in the thread, I thought you already had the OLED directory from the dietpi image, which contains the required fonts.
    I am having trouble attaching it in a zipfile here (no useful error message), but it is the same fonts subdirectory as in the 7z file in this post
    https://forums.slimdevices.com/showt...l=1#post976512

    You'll also need to edit lms_oled_1.54_spi_audiophonics_py3.py line 75 and 79 to contain your server IP and player MAC address. (As mentioned here https://forums.slimdevices.com/showt...284#post976284)
    Last edited by gregex; 2020-06-28 at 15:30.

  2. #22
    Member
    Join Date
    Oct 2016
    Location
    Plymouth, UK
    Posts
    34
    Thanks for further info guys, I will take a look.

    Sorry gregex, I did not realise I needed other files to get your solution up and running. I thought running your script would be enough, like the script I ran for moOde. Unfortunately I am not a Linux user, I can cut/paste commands and edit a simple file but that's about it. I still have the dietpi image but there was no info on how get up and running with picoreplayer. Any way, thanks again for your help. I will give it another go later.

  3. #23
    Member
    Join Date
    Oct 2016
    Location
    Plymouth, UK
    Posts
    34
    @Paul-Webster - WinSCP looks like just what I needed.

    @shunte88 - WSL 2 looks a great way of learning a bit of Linux.

    Thanks guys

  4. #24
    Member
    Join Date
    Oct 2016
    Location
    Plymouth, UK
    Posts
    34
    I have found WinSCP very useful for looking at the files on the SD card , but when I try to copy or edit a file I keep getting error 3 Permission denied, works without a problem on my dietpi image. Any way around this error?

    When I booted my dietpi image, I found the display was working ok, which I find a bit strange. It was not working last time I tried it?

  5. #25
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,433
    Select SCP
    Host name
    Port Number
    User Name
    Password
    Click on Advanced
    Click on SCP/Shell
    From the Default dropdown select sudo/su
    OK

    if you are going to open this a lot you can save the link

    piCoreplayer doesn't need this procedure (I think, from memory)


    ronnie

  6. #26
    Member
    Join Date
    Oct 2016
    Location
    Plymouth, UK
    Posts
    34
    Quote Originally Posted by Man in a van View Post
    Select SCP
    Host name
    Port Number
    User Name
    Password
    Click on Advanced
    Click on SCP/Shell
    From the Default dropdown select sudo/su
    OK

    if you are going to open this a lot you can save the link

    piCoreplayer doesn't need this procedure (I think, from memory)


    ronnie
    Thanks ronnie, but not working for me, I wonder if I am using a different version?

    I only have shell and no sudo/su option only sudo su - ?

  7. #27
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,433
    Name:  scp.png
Views: 39
Size:  137.9 KB

  8. #28
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,839
    I use "sudo -s" in winSCP if I require root access.

  9. #29
    Junior Member
    Join Date
    Jun 2020
    Location
    North America west coast
    Posts
    10
    Not sure why root access should be required to scp files to piCorePlayer. User should be tc and files should be written by default to /home/tc. Using "pi" or "dietpi" will give Permission Denied (I do this accidentally all the time when switching between boot images)

  10. #30
    Member
    Join Date
    Oct 2016
    Location
    Plymouth, UK
    Posts
    34
    Partial Success Copied the font folder and the oled_1.54_spi_audiophonics_py3.py file to /home/tc, ran the command python3 lms_oled_1.54_spi_audiophonics_py3.py from puttty and I have a display reading "Trying to connect player to LMS". My LMS server is on another PI connected to a usb drive.

Posting Permissions

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