Announcement

Collapse
No announcement yet.

Announce: piCorePlayer 8.0.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • paul-
    replied
    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

    Leave a comment:


  • greenwoodma
    replied
    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; Today, 09:44.

    Leave a comment:


  • Greg Erskine
    replied
    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?

    Leave a comment:


  • greenwoodma
    replied
    Originally posted by paul- View Post
    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

    Leave a comment:


  • paul-
    replied
    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.

    Leave a comment:


  • greenwoodma
    replied
    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; Yesterday, 09:56.

    Leave a comment:


  • agburnsky
    replied
    Originally posted by Doryphore View Post
    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.

    Leave a comment:


  • pputzer
    replied
    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)?

    Leave a comment:


  • Doryphore
    replied
    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.

    Leave a comment:


  • Greg Erskine
    replied
    Are you using wifi?

    Leave a comment:


  • Doryphore
    replied
    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"


    I restarted my ASUS router, picoreplayer several times, without success, I redid an update in 8.2, without success!
    it also does it on my network files on my nas!
    My network is ok, I have 1go fiber
    piCorePlayer | piCorePlayer v8.2.0 | www v00017 | linux 5.15.35-pcpCore-v7l (32) | piCore v13.2 | Squeezelite v1.9.9-1392-pCP
    What's wrong ??
    Last edited by Doryphore; 2023-05-29, 09:24.

    Leave a comment:


  • Tony T
    replied
    [never mind]
    Last edited by Tony T; 2023-05-26, 13:27.

    Leave a comment:


  • mr-b
    replied
    Originally posted by paul- View Post
    It’s not a rule. Every hardware has different requirements. But that’s why all of those choices are availiable.
    OK. I was going to say that Windows makes audio device support a lot easier, but then I remembered bit perfect and DirectSound vs MME vs ASIO vs WASAPI (event/shared/push)! ;-)

    However I'm sure there used to be a compatibilty spreadsheet of USB DACs with the Squeezebox Touch that logged users' experiences and saved a lot of hair-pulling. I'll post in the PCP docs thread.

    Leave a comment:


  • paul-
    replied
    No. So far its mostly under the hood changes.

    Leave a comment:


  • mcduman
    replied
    I get that the the development of pCP 9.0.0 is underway. Any timeline for the release? Many thanks

    Leave a comment:

Working...
X