Announcement

Collapse
No announcement yet.

Announce: piCorePlayer 8.0.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • @SamS

    I was "busy doin' nothing" this morning so installed the 32 bit raspberry PIOS Bullseye Lite on a sd card.

    I used the raspberry pi Imager Tool to download, preconfigure for SSH and make the image.
    I left the username at pi and used the old, now deprecated, password of "raspberry"

    Powered up the pi and waited for about 3 minutes for the start-up routine to finalise and then used PuTTY from a Windows 10 Desktop to SSH into the pi.

    I ran

    Code:
    sudo apt update 
    sudo apt full-upgrade -y
    sudo apt install -y lame squeezelite
    sudo apt autoremove -y && sudo apt autoclean -y
    sudo reboot
    It took a while to complete as there is a kernel update and the old pi is a little slow compared to a rpi 4b.

    The pi appeared as raspberrypi in my LMS and was available for immediate playback, as the default squeezelite install;

    Code:
    pi@raspberrypi:~ $ squeezelite -l
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - Direct hardware device without any conversions
      plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Hardware device with all software conversions
      default:CARD=Headphones        - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - Direct sample mixing device
      hw:CARD=vc4hdmi,DEV=0          - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct hardware device without any conversions
      plughw:CARD=vc4hdmi,DEV=0      - vc4-hdmi, MAI PCM i2s-hifi-0 - Hardware device with all software conversions
      default:CARD=vc4hdmi           - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio Device
      sysdefault:CARD=vc4hdmi        - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio Device
      hdmi:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - HDMI Audio Output
      dmix:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct sample mixing device

    uses the default player;

    Code:
    # Defaults for squeezelite initscript
    # sourced by /etc/init.d/squeezelite
    # installed at /etc/default/squeezelite by the maintainer scripts
    
    # The name for the squeezelite player:
    SL_NAME="$(hostname -s)"
    
    # ALSA output device:
    #SL_SOUNDCARD="default:CARD=Set"
    
    # Squeezebox server (Logitech Media Server):
    # Uncomment the next line if you want to point squeezelite at the IP address of
    # your squeezebox server. This is usually unnecessary as the server is
    # automatically discovered.
    #SB_SERVER_IP="192.168.x.y"
    
    # Additional options to pass to squeezelite:
    # Please do not include -z to make squeezelite daemonise itself.
    #SB_EXTRA_ARGS=""
    I installed alsacap, this is the output

    Code:
    pi@raspberrypi:~ $ alsacap
    *** Scanning for playback devices ***
    Card 0, ID `Headphones', name `bcm2835 Headphones'
      Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 8 subdevices (8 available)
        1..8 channels, sampling rate 8000..192000 Hz
        Sample formats: U8, S16_LE
          Subdevice 0, name `subdevice #0'
          Subdevice 1, name `subdevice #1'
          Subdevice 2, name `subdevice #2'
          Subdevice 3, name `subdevice #3'
          Subdevice 4, name `subdevice #4'
          Subdevice 5, name `subdevice #5'
          Subdevice 6, name `subdevice #6'
          Subdevice 7, name `subdevice #7'
    Card 1, ID `vc4hdmi', name `vc4-hdmi'
      Device 0, ID `MAI PCM i2s-hifi-0', name `MAI PCM i2s-hifi-0', 1 subdevices (1 available)
    Error opening sound device for card 1, device 0: Hotplug device has been removed.  Skipping.

    I'm not suggesting this is any better or different to pCP but it might be worth a try if you don't need to really change up

    ronnie

    Comment


    • Originally posted by Man in a van
      @ SamS

      I used "Headphones" and selected "hw:CARD=Headphones,DEV=0" for the output settings.

      I listen to one album and experienced a couple of glitches in the playback (milliseconds) but no noise as you describe.

      There was some developement of the headphone jack a few years ago and that was incorporated into the current rpi software . I'm pretty sure it is in the pCP config file.

      You asked about "hdmi" do you use the pi in this manner ?

      If the playback is still unsatisfactory to, you then just decide a budget and do some research.

      Or before doing that, you might try another OS (I would suggest Raspberry Pi OS Lite).

      Use the Raspberry pi Imager Tool to maker the image. Install Squeezelite and see how it compares


      ronnie
      Thanks Ronnie.

      I typically use my Pi via HDMI to a Denon receiver. I'll try those settings you suggested.

      Comment


      • Originally posted by Viragored
        Thanks for the suggestion Gary. I tried leaving Ethernet connected, expanded the file system (2000MB this time) and clicked install LMS. Sadly, the same result as before, same error messages, so I'll stick with 8.0.0 for now.
        Hmmm. 8.0.0 and 8.2.0 use the exact same repo, just a different kernel. That's really wierd.
        piCorePlayer a small player for the Raspberry Pi in RAM.
        Homepage: https://www.picoreplayer.org

        Please donate if you like the piCorePlayer

        Comment


        • Originally posted by SamS
          Thanks Ronnie.

          I typically use my Pi via HDMI to a Denon receiver. I'll try those settings you suggested.
          This is on the Raspberry PI OS Bullseye Lite OS


          I don't have a receiver but I do have my TV hooked up to Active speakers.

          I use an old Quad CDP as a pre-amp connected to the TV Optical output.

          I plugged in the rpi to the TV and (on the second configuarion of squeezelite) I have music playing thtough the Mackies

          Code:
          pi@raspberrypi:~ $ sudo service squeezelite stop
          pi@raspberrypi:~ $ alsacap
          *** Scanning for playback devices ***
          Card 0, ID `Headphones', name `bcm2835 Headphones'
            Device 0, ID `bcm2835 Headphones', name `bcm2835 Headphones', 8 subdevices (8 available)
              1..8 channels, sampling rate 8000..192000 Hz
              Sample formats: U8, S16_LE
                Subdevice 0, name `subdevice #0'
                Subdevice 1, name `subdevice #1'
                Subdevice 2, name `subdevice #2'
                Subdevice 3, name `subdevice #3'
                Subdevice 4, name `subdevice #4'
                Subdevice 5, name `subdevice #5'
                Subdevice 6, name `subdevice #6'
                Subdevice 7, name `subdevice #7'
          Card 1, ID `vc4hdmi', name `vc4-hdmi'
            Device 0, ID `MAI PCM i2s-hifi-0', name `MAI PCM i2s-hifi-0', 1 subdevices (1 available)
              2 channels, sampling rate 32000..48000 Hz
              Sample formats: IEC958_SUBFRAME_LE
                Subdevice 0, name `subdevice #0'

          Code:
          pi@raspberrypi:~ $ squeezelite -l
          Output devices:
            null                           - Discard all samples (playback) or generate zero samples (capture)
            hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - Direct hardware device without any conversions
            plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Hardware device with all software conversions
            default:CARD=Headphones        - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
            sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
            dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - Direct sample mixing device
            hw:CARD=vc4hdmi,DEV=0          - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct hardware device without any conversions
            plughw:CARD=vc4hdmi,DEV=0      - vc4-hdmi, MAI PCM i2s-hifi-0 - Hardware device with all software conversions
            default:CARD=vc4hdmi           - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio Device
            sysdefault:CARD=vc4hdmi        - vc4-hdmi, MAI PCM i2s-hifi-0 - Default Audio Device
            hdmi:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - HDMI Audio Output
            dmix:CARD=vc4hdmi,DEV=0        - vc4-hdmi, MAI PCM i2s-hifi-0 - Direct sample mixing device

          I used "sysdefault:CARD=vc4hdmi" for audio output

          Code:
          # Defaults for squeezelite initscript
          # sourced by /etc/init.d/squeezelite
          # installed at /etc/default/squeezelite by the maintainer scripts
          
          # The name for the squeezelite player:
          SL_NAME="$(hostname -s)"
          
          # ALSA output device:
          SL_SOUNDCARD="sysdefault:CARD=vc4hdmi"
          
          # Squeezebox server (Logitech Media Server):
          # Uncomment the next line if you want to point squeezelite at the IP address of
          # your squeezebox server. This is usually unnecessary as the server is
          # automatically discovered.
          #SB_SERVER_IP="192.168.x.y"
          
          # Additional options to pass to squeezelite:
          # Please do not include -z to make squeezelite daemonise itself.
          #SB_EXTRA_ARGS=""
          Hope this helps

          ronnie

          Comment


          • Originally posted by paul-
            Hmmm. 8.0.0 and 8.2.0 use the exact same repo, just a different kernel. That's really wierd.
            Yup - weird alright. I chose 8.0.0 when 8.2.0 wouldn't play nicely because that's what's running on my Pi Zero W that serves music over BT to my Sony headphones. And that's been rock solid 24/7*365 (apart from a little hiccup that turned out to be nothing to do with pCP or LMS).
            My PC downloaded the target file with no problem at the same time the Pi was failing.
            Anyway 8.0.0 is doing fine for me at the mo.
            Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP > Yamaha RX-V2700 > Jamo speakers
            Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house
            Library: External USB drive
            Android: Squeezer app

            Comment


            • @ paul-

              Paul, could you please amend the download/install Development version link to the new LMS 8.4?





              Cheers
              Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

              Lounge - DAC32 - AudioEngine B2
              Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
              Bedroom - Echo Show 8

              Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

              Comment


              • Announce: piCorePlayer 8.0.0

                > Paul, could you please amend the download/install Development version
                > link to the new LMS 8.4?
                >
                > http://downloads.slimdevices.com/nig...ex.php?ver=8.4


                I thought pCP was using these links which are not version specific:




                Michael

                "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                (LMS: Settings/Information)

                Comment


                • It's working as expected (but caching might take a while for the update to show up). Just did the manual update to force installation of the latest. It went correctly from 8.3.0 to 8.4.0 (as I requested the dev branch):

                  Code:
                  $ sudo ./lms-update.sh --release devel -s -r -u
                  
                  ###############################################################
                  
                    This script will update the Logitech Media Server extension  
                  
                         Upgrading from devel branch.
                         Unattended Operation Enabled
                         Manual Download Link Check Enabled
                         Automatic Reload Enabled
                         Skipping GitHub Update
                  ###############################################################
                  
                  Press Enter to continue, or Ctrl-c to exit and change options
                  Copying and Running script to tmp so we can automatically reload LMS later
                  Current Version is: 8.3.0 r1667251155.
                  
                  Downloading update from http://downloads.slimdevices.com/nightly/./8.4/lms/97981a87e2b3cac830093da1e8d14cd979d8f7ba/logitechmediaserver-8.4.0-1667572584-noCPAN.tgz
                  ...
                  Michael

                  "It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
                  (LMS: Settings/Information)

                  Comment


                  • Originally posted by mherger
                    It's working as expected (but caching might take a while for the update to show up). Just did the manual update to force installation of the latest. It went correctly from 8.3.0 to 8.4.0 (as I requested the dev branch):

                    Code:
                    $ sudo ./lms-update.sh --release devel -s -r -u
                    
                    ###############################################################
                    
                      This script will update the Logitech Media Server extension  
                    
                           Upgrading from devel branch.
                           Unattended Operation Enabled
                           Manual Download Link Check Enabled
                           Automatic Reload Enabled
                           Skipping GitHub Update
                    ###############################################################
                    
                    Press Enter to continue, or Ctrl-c to exit and change options
                    Copying and Running script to tmp so we can automatically reload LMS later
                    Current Version is: 8.3.0 r1667251155.
                    
                    Downloading update from http://downloads.slimdevices.com/nightly/./8.4/lms/97981a87e2b3cac830093da1e8d14cd979d8f7ba/logitechmediaserver-8.4.0-1667572584-noCPAN.tgz
                    ...
                    Michael

                    Thanks, you're right, I've just updated to v8.4 using the manual update option.

                    Ta.
                    Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

                    Lounge - DAC32 - AudioEngine B2
                    Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
                    Bedroom - Echo Show 8

                    Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

                    Comment


                    • I can confirm the manual "Upgrade Logitech Media Server (LMS)" process seems to work fine.

                      I did add "Copy and paste commands" section to the documentation to allow easier "copy all commands" in one go without the pesky dollar signs.

                      Comment


                      • A minor point but it might be a good idea to do a "tail -f" on the LMS update log, as it is now there is a bit of a wait with no output and then the whole lot at once when (I assume) the log file is closed.

                        Comment


                        • piCorePlayer LMS does not download from the piCorePLayer web interface

                          When I try to install LMS over pCP it fails every time!!

                          I have tried multiple SD cards all with FS expanded to the max (up to 32GB partition) but when I then try to install LMS using the on-screen button I get an Error saying that it has failed to download:
                          There was a error downloading slimserver.tcz.
                          Retrying extension slimserver.tcz...in 5 seconds.

                          This has been happening for days. I've tried alternative OS (Raspberry Pi OS) and mounted LMS on that but what a palaver and getting a Squeezelite player to run alongside it (with HifiBerry DAC) is an engineering task of NASA proportions, so could someone please help me out here. Is it just me or is there problem with the server?? Can anyone here please try a spare SD card to see if it works for them. I loaded my piCorePlayer image using Raspberry Pi Imager using piCorePlayer8.2.0 and followed the instructions on "https://docs.picoreplayer.org/projects/build-simple-lms-server/". I can't think of anything I did wrong, the only instruction I ignores was mounting the USB, which I won't be using.

                          Cheers in advance, Tony

                          Comment


                          • Originally posted by PompeyTone
                            When I try to install LMS over pCP it fails every time!!

                            I have tried multiple SD cards all with FS expanded to the max (up to 32GB partition) but when I then try to install LMS using the on-screen button I get an Error saying that it has failed to download:
                            There was a error downloading slimserver.tcz.
                            Retrying extension slimserver.tcz...in 5 seconds.

                            This has been happening for days. I've tried alternative OS (Raspberry Pi OS) and mounted LMS on that but what a palaver and getting a Squeezelite player to run alongside it (with HifiBerry DAC) is an engineering task of NASA proportions, so could someone please help me out here. Is it just me or is there problem with the server?? Can anyone here please try a spare SD card to see if it works for them. I loaded my piCorePlayer image using Raspberry Pi Imager using piCorePlayer8.2.0 and followed the instructions on "https://docs.picoreplayer.org/projects/build-simple-lms-server/". I can't think of anything I did wrong, the only instruction I ignores was mounting the USB, which I won't be using.

                            Cheers in advance, Tony
                            PiCorePlayer "Main" page > Diagnostics button > Raspberry Pi tab > Internet, what do you see there?

                            Click image for larger version

Name:	internet.jpg
Views:	1
Size:	15.7 KB
ID:	1575948
                            Server - LMS 8.4.0 RPi4B 4GB/NanoSound ONE case/pCP 8.1.0 - 75K library, playlists & LMS cache on Sata SSD (ntfs)

                            Lounge - DAC32 - AudioEngine B2
                            Office - RPi 3B+/HiFiBerry DAC HAT/RPi screen - Edifier D12
                            Bedroom - Echo Show 8

                            Spares - 1xSB Touch, 1xSB3, 4xRPi, AVI DM5 speakers

                            Comment


                            • Originally posted by PompeyTone
                              When I try to install LMS over pCP it fails every time!!

                              I have tried multiple SD cards all with FS expanded to the max (up to 32GB partition) but when I then try to install LMS using the on-screen button I get an Error saying that it has failed to download:
                              There was a error downloading slimserver.tcz.
                              Retrying extension slimserver.tcz...in 5 seconds.

                              This has been happening for days. I've tried alternative OS (Raspberry Pi OS) and mounted LMS on that but what a palaver and getting a Squeezelite player to run alongside it (with HifiBerry DAC) is an engineering task of NASA proportions, so could someone please help me out here. Is it just me or is there problem with the server?? Can anyone here please try a spare SD card to see if it works for them. I loaded my piCorePlayer image using Raspberry Pi Imager using piCorePlayer8.2.0 and followed the instructions on "https://docs.picoreplayer.org/projects/build-simple-lms-server/". I can't think of anything I did wrong, the only instruction I ignores was mounting the USB, which I won't be using.

                              Cheers in advance, Tony
                              What is your ISP? I have seen similar behaviour on Virgin Media (UK) due to their flaky DNS
                              LMS 7.9.2 nightly on PiCorePlayer 4.0, Pi 2B, HifiBerry Dec+

                              Comment


                              • @PompeyTone

                                At the bottom of the pCP Main Page have you selected Player/Server or Beta tab ?

                                ronnie

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎