Announcement

Collapse
No announcement yet.

Announce: piCorePlayer 8.0.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • LMS crashing?

    Hi,

    Over the past couple of days I have had to reboot my piCore rpi4 with the following:
    piCorePlayer | piCorePlayer v8.1.0 | www v00017 | linux 5.10.77-pcpCore-v8 (64) | piCore v13.1 | Squeezelite v1.9.9-1391-pCP

    LMS web pages stop responding. In order to recover I tried a restart of LMS, then a reboot (which seemed to remedy)

    I now have the LMS logs displayed and will monitor. Any other ideas to try? Would it be helpful to log remotely (syslog)?

    Thanks In Advance

    Comment


    • Start with LMS logs. (What version of LMS are you using) I would also do common things like checking connectors and power supplies.
      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 paul-
        Start with LMS logs. (What version of LMS are you using) I would also do common things like checking connectors and power supplies.
        LMS Logs only show:

        [22-01-05 08:46:08.0963] main::init (390) Starting Logitech Media Server (v8.2.0, 1627922070, Tue Aug 3 11:43:18 CEST 2021) perl 5.032001 - aarch64-linux-thread-multi

        This from the LMS Info:

        Logitech Media Server Version: 8.2.0 - 1627922070 @ Tue Aug 3 11:43:18 CEST 2021
        Hostname: piCoreLMS
        Server IP Address: 192.168.20.20
        Server HTTP Port Number: 9000
        Operating system: piCore - EN - utf8
        Platform Architecture: aarch64-linux
        Perl Version: 5.32.1 - aarch64-linux-thread-multi
        Audio::Scan: 1.05
        IO::Socket::SSL: 2.071
        Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)


        Power seems ok as I can reboot the piCorePlayer machine using the UI. LMS is simply not responsive unless I reboot the whole machine.

        Comment


        • Searched through the thread, didn't see this one, apologies if it's been covered (and please point me)...

          I've put together a player using PCP 8.1 with a RPi 3B+ and official RPi 7" touchscreen. When it's hardwired, everything functions as it should. When it's using wif-fi, PCP Squeezeplay says it can't connect to the server, though I know it sees it because I can send music through that player, and control it, from my phone or a browser on a PC.
          Thoughts, ideas? The hard wiring is a less than ideal solution if at all possible. TIA

          Comment


          • When you change to wifi, make sure you unplug the cable, and then reboot. Make sure to boot without the cable plugged in. Jivelite will likely need to be reset in that state, as it gets tied to the networking interface. You cannot easily switch between ethernet and wifi with jivelite....so pick one method.

            Everything(wifi and ethernet) is on the same subnet, correct? i.e. 192.168.1.xxx
            piCorePlayer a small player for the Raspberry Pi in RAM.
            Homepage: https://www.picoreplayer.org

            Please donate if you like the piCorePlayer

            Comment


            • piCorePlayer & gapless playback of Ogg/Vorbis files

              A few months ago I discovered that gapless playback of Ogg/Vorbis files was not working flawlessly in piCorePlayer. The playback is gapless, but during the transition to the new track a small glitch is audible. I started a separate thread about it on this forum, but that remained silent unfortunately. In the meantime I have done a fair amount of extra testing and I hope this thread is a better place in search for a solution.

              Test hardware: RPI2 + HifiBerry DAC
              LMS: 8.2.0

              I have tested the Ogg/Vorbis playback with several piCorePlayer versions and other software:
              - piCorePlayer 8.x, 7 and 6 all give audible glitches
              - piCoreplayer 5 plays flawlessly
              - Squeezelite-X gives audible glitches
              - HifiberryOS & Squeezelite, version 20211105 plays flawlessly
              - Foobar2000 plays flawlessly

              Of course the source files were 100% fine, ripped securely from CD and 100% gapless.
              I also transcoded the Ogg/Vorbis files back to Wav and Flac, and all those transcoded files play flawlessly on all tested versions of piCorePlayer and Squeezelite-X!

              Although the glitches during gapless playback of Ogg/Vorbis are small and often only audible when the transition takes place during rather quiet music, there should be none because Ogg/Vorbis supports gapless playback by design.

              It might be related to Squeezelite, but I am not sure because of the fact that HifiBerryOS & Squeezelite works fine. And I am also curious why piCoreplayer 5 works fine, something must have changed in later versions.

              What can be tested more to find the root cause of this issue?
              Last edited by zordaz; 2022-01-08, 16:14.
              Living Room: RPI2+HifiBerry DAC+ Pro & piCorePlayer
              Attic: RPI2+HifiBerry DAC+ RCA & piCorePlayer
              Other rooms: 6x SB Radio
              LMS: Version 8.3.0 on Xubuntu 22.04LTS

              Comment


              • PCP \ LMS disk space usage

                Where can I find the usage and space left on the boot sdcard? Thanks.

                Comment


                • Originally posted by zordaz
                  A few months ago I discovered that gapless playback of Ogg/Vorbis files was not working flawlessly in piCorePlayer. The playback is gapless, but during the transition to the new track a small glitch is audible. I started a separate thread about it on this forum, but that remained silent unfortunately. In the meantime I have done a fair amount of extra testing and I hope this thread is a better place in search for a solution.

                  Test hardware: RPI2 + HifiBerry DAC
                  LMS: 8.2.0

                  I have tested the Ogg/Vorbis playback with several piCorePlayer versions and other software:
                  - piCorePlayer 8.x, 7 and 6 all give audible glitches
                  - piCoreplayer 5 plays flawlessly
                  - Squeezelite-X gives audible glitches
                  - HifiberryOS & Squeezelite, version 20211105 plays flawlessly
                  - Foobar2000 plays flawlessly

                  Of course the source files were 100% fine, ripped securely from CD and 100% gapless.
                  I also transcoded the Ogg/Vorbis files back to Wav and Flac, and all those transcoded files play flawlessly on all tested versions of piCorePlayer and Squeezelite-X!

                  Although the glitches during gapless playback of Ogg/Vorbis are small and often only audible when the transition takes place during rather quiet music, there should be none because Ogg/Vorbis supports gapless playback by design.

                  It might be related to Squeezelite, but I am not sure because of the fact that HifiBerryOS & Squeezelite works fine. And I am also curious why piCoreplayer 5 works fine, something must have changed in later versions.

                  What can be tested more to find the root cause of this issue?
                  As far as Squeezelite-X is concerned, it should be exactly the same as running squeezelite by itself, since that is all SLX is doing. SLX runs the latest version of squeezelite, currently v1.9.9-1392. Have you tested various output device settings, and in your testing (comparing squeezelite and Squeezelite-X) were they set the same?

                  R Greg Dawson
                  Squeezelite-X

                  Comment


                  • Originally posted by RobLDN
                    Where can I find the usage and space left on the boot sdcard? Thanks.
                    [Main Page] > [Resize FS] > "Current mounted partition information"

                    Comment


                    • Thanks Greg, I found that and confirmed it's a 2Gb partition but doesn't confirm where I'm running out of space. Someone in this thread listed a readout that showed used/free for the disk.

                      Code:
                      /dev/mmcblk0p1 is 64M
                      /dev/mmcblk0p2 is 2000M

                      Comment


                      • It should show this.

                        Code:
                        Filesystem                Size      Used Available Use% Mounted on
                        /dev/mmcblk0p2          979.9M    625.4M    317.9M  66% /mnt/mmcblk0p2
                        /dev/sda1               931.5G    723.7G    207.9G  78% /mnt/USB

                        Comment


                        • Oops! the boot partition is unmounted.

                          Code:
                          $ m1
                          $ df | grep mnt | sort
                          $ u1
                          The boot partition rarely gets filled.

                          There is a potential problem if your pCP has been through multiple insitu-upgrades as earlier pCP had a smaller boot partition.
                          Last edited by Greg Erskine; 2022-01-09, 20:29.

                          Comment


                          • Originally posted by rgdawson
                            As far as Squeezelite-X is concerned, it should be exactly the same as running squeezelite by itself, since that is all SLX is doing. SLX runs the latest version of squeezelite, currently v1.9.9-1392. Have you tested various output device settings, and in your testing (comparing squeezelite and Squeezelite-X) were they set the same?

                            R Greg Dawson
                            I discovered the glitches in May/June 2021. They were also present in all Squeezelite-X versions/updates I used since that date.
                            I only use default output settings, both on Squeezelite-X and all piCorePlayer versions (and Hifiberry OS) I tested with. I can probably compare the (default) Squeezelite-X output settings with piCorePlayer, but I don't think it is the right direction in search for the root cause however.

                            pCP 8.1.0 Squeezelite command string is /usr/local/bin/squeezelite -n "pcp" -o hw:CARD=sndrpihifiberry -a 80:4::1:

                            Where can I find the SLX command string?

                            (I can provide example files if useful btw).
                            Last edited by zordaz; 2022-01-09, 22:00.
                            Living Room: RPI2+HifiBerry DAC+ Pro & piCorePlayer
                            Attic: RPI2+HifiBerry DAC+ RCA & piCorePlayer
                            Other rooms: 6x SB Radio
                            LMS: Version 8.3.0 on Xubuntu 22.04LTS

                            Comment


                            • What RPI model?

                              Could someone please point me to what RPI model to use best to stream a collection of 250gb music (flacs, wmas, oggs but mostly mp3s) using LMS? I am looking for sth fast. LMS on my NAS is too slow.
                              Also, can I export my library, stats, artists pics etc from LMS running on a NAS? Or can I just copy the respective files?
                              Cheers!
                              Raspberry Pi 4 Model B 2GB​ with LMS 8.2.0 -- Plugins: Material Skin, MAI, Podcasts, Musik - folge mir, Ratings Light, Exclude Folders -- RPI 2 with a Hifiberry DAC+ running PCP -- 2x UE Smartradios running Firmware 8.0 sth​ -- 2xWin10 PCs with Squeezelite-X ​-- DSM 7.1 (Synology Disk Station 115) has my music

                              Comment


                              • @greg I don't have that, I have the following when looking at the resizeFS page. And I've been running on the Stable release channel so a few upgrades in place recently.

                                Code:
                                Disk /dev/mmcblk0: 29 GB, 31046238208 bytes, 60637184 sectors
                                947456 cylinders, 4 heads, 16 sectors/track
                                Units: sectors of 1 * 512 = 512 bytes
                                
                                Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
                                /dev/mmcblk0p1    128,0,1     127,3,16          8192     139263     131072 64.0M  c Win95 FAT32 (LBA)
                                /dev/mmcblk0p2    1023,3,16   1023,3,16       139264    4235263    4096000 2000M 83 Linux
                                Disk /dev/sda: 115 GB, 123060879360 bytes, 240353280 sectors
                                14961 cylinders, 255 heads, 63 sectors/track
                                Units: sectors of 1 * 512 = 512 bytes
                                
                                Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
                                /dev/sda1    0,0,33      1023,254,63         32  240353279  240353248  114G  c Win95 FAT32 (LBA)

                                Comment

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