Announcement

Collapse
No announcement yet.

Announce: piCorePlayer 8.0.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Are you using wifi?

    Comment


    • No, ethernet
      and my network is Ok, I am in static IP, no ip conflict

      EDIT: well, it doesn't make any sense, but I unplugged the usb power plug, waited a bit and plugged it back in, and it worked, the bug disappeared
      If it can help someone...
      It's been bugging me for 2 days lol​

      thank you for wanting to help me

      Re edit: well no, it starts again afer two hours !!!

      There I go on a trip, I would do a new installation on my return, but I do not know why​
      Last edited by Doryphore; 2023-05-29, 13:04.

      Comment


      • Hi, I'm currently moving all my Squeezebox players to an IoT VLAN, while the server is still running on the trusted LAN. This worked fine with the Logitech hardware players (I just had to add the IP of the LMS instance manually since it is on a different subnet). However, with pCP I need to set the LMS instance in the Squeezelite settings, adding it via JiveLite is not enough. Is that expected without UDP broadcasts? Or do I need to allow some additional port in my firewall (besides 3483 and 900x)?

        Comment


        • Originally posted by Doryphore
          Hello,

          My PI4 with picoreplayer 8.2 has been working for 1 year without problems, but since yesterday my radios stop after about a minute and show "re-buffering"
          Maybe give a little more into about your setup. It appears you have 2 or more logitech radios that show rebuffering and they are connected to piCoreplayer running LMS. Are the radios and the the picoreplayer connected via ethernet. Are the radios synced to each other? Is the problem the radios instead of LMS? Are you also rebooting the radios.
          Last edited by agburnsky; 2023-05-31, 11:21.
          Pi 4 - JustBoom Digi - Topping E30
          Pi 4 - HiFiBerry Dac2 Pro
          Pi 4 - Topping D10s

          Comment


          • I think I've found a bug in the squeezelite settings page on the latest release (v8.2.0). Not sure if here is the best place to report it or not (couldn't find a source repository or I may have tried to fix it myself and done a PR).

            The simple description is that you can't use an apostrophe in the name of the player (the first squeezelite setting on the page). I know the backtick (`) is not allowed but an apostrophe (') should be. Basically if you put an apostrophe in the name and click save, it goes to the page where it normally logs the save process (cgi-bin/writetoconfig.cgi) but doesn't show anything. After a minute it goes back to the settings page but the values have reverted to the previously saved values. I know it's not a problem to have an apostrophe in the player name as I can edit /usr/local/etc/pcp/pcp.cfg in a running instance (after connecting via ssh) and the apostrophe will show up in the UI and work, although obviously the value is lost after a reboot.

            My guess is there is some issue with the apostrophe breaking a string due to not being escaped in some way. If I could find the relevant code I'd take a look (or if someone can point me at it) but I'm guessing either apostrophe needs to be added to the list of banned characters (which would be a shame) or the string should be correctly escaped.

            Thanks in advance for any help with this (I know it's minor but it's bugging me) and don't hesitate to ask for any more details,

            Mark
            Last edited by greenwoodma; 2023-06-01, 09:56.

            Comment


            • The apostrophe, or in linux term, single quote mark. Is a special character, and is not handled in the web interface. And never has been.

              As you found, you can put it in the config file manually, you just have to backup for it to survive after a reboot.
              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-
                The apostrophe, or in linux term, single quote mark. Is a special character, and is not handled in the web interface. And never has been.

                As you found, you can put it in the config file manually, you just have to backup for it to survive after a reboot.
                Ah, clever, hadn't thought of doing a backup for it to survive the reboot. That will probably suffice for me. I suppose it might be worth adding it to the list of banned characters though if it's known not to work in the UI as otherwise the behaviour is a little confusing,

                Thanks again,

                Mark

                Comment


                • I have added an apostrophe as an invalid character for the Player Name (in next release).

                  I am a little intrigued to whether it ever was valid?

                  Comment


                  • Yeah, this is the first time I've tried using an apostrophe so don't know if it's ever worked before. What I don't quite understand is why it's tripping up the UI when it's valid in a player name, but atleast blocking it from being used in the UI will stop the odd behaviour when you press save.

                    Mark
                    Last edited by greenwoodma; 2023-06-02, 09:44.

                    Comment


                    • Because you have typed it manually, and the init.d script captures the NAME in double quotes when expanding in the init.d script.

                      Where the single quote falls apart is in the conversion of the query string from web browser, writing the value to pcp.cfg.

                      The heart if pCP is all shell scripts (ash) We have some areas where we write alot of extra code to try to allow specials in passwords, but in general we just want to avoid them
                      piCorePlayer a small player for the Raspberry Pi in RAM.
                      Homepage: https://www.picoreplayer.org

                      Please donate if you like the piCorePlayer

                      Comment


                      • Does pCP run on the RPi 400 (the one inside a keyboard)? Does the keyboard work? USB out to DAC? Thanks.

                        Comment


                        • It should work just fine. I know Greg has one and tests with it.
                          piCorePlayer a small player for the Raspberry Pi in RAM.
                          Homepage: https://www.picoreplayer.org

                          Please donate if you like the piCorePlayer

                          Comment


                          • Thought I'd just let you know that v8.2 still works perfectly on the original Raspbery Pi Model B and what must have been one of the first ever DAC HATS - the Wolfson DAC. I've upgraded now but I still check it works occasionally. PiCorePlayer (and LMS) is an amazing piece of software!

                            Comment


                            • Originally posted by Apesbrain
                              Does pCP run on the RPi 400 (the one inside a keyboard)? Does the keyboard work? USB out to DAC? Thanks.
                              Yes.

                              I have most of the Raspberry Pi's and piCorePlayer works on all of them.

                              Remember the RPi400 doesn't have built-in audio (Headphones) so squeezelite doesn't start and connect to LMS by default.

                              Comment


                              • Bluetooth working great (thanks), and I really like that I can skip to the next track with my Anker Speaker.
                                Really needed this for portability as interference from my neighbors WiFi has rendered the WiFi on my Squeezebox Radios useless (I use an ethernet dongle for my Radios, but then I have to have them tied to a power outlet)

                                Turning off the BT speaker deletes the playlist when the BT speaker is disconnected from LMS, but is there a way to keep the playlist on the BT speaker when turned off so that I don't need to start a new one from LMS next time I start up the BT speaker?
                                Last edited by Tony T; 2023-06-07, 13:20.
                                Tony
                                 SBTouch ♪ SBRadio ♬

                                Comment

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