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
Announcement
Collapse
No announcement yet.
Announce: piCorePlayer 8.0.0
Collapse
X
-
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.
MarkLast edited by greenwoodma; Today, 09:44.
Leave a 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?
Leave a comment:
-
Originally posted by paul- View PostThe 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.
Thanks again,
Mark
Leave a 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.
Leave a 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,
MarkLast edited by greenwoodma; Yesterday, 09:56.
Leave a comment:
-
Originally posted by Doryphore View PostHello,
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"Last edited by agburnsky; 2023-05-31, 11:21.
Leave a 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)?
Leave a 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 whyLast edited by Doryphore; 2023-05-29, 13:04.
Leave a comment:
-
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:
-
Originally posted by paul- View PostIt’s not a rule. Every hardware has different requirements. But that’s why all of those choices are availiable.
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:
-
I get that the the development of pCP 9.0.0 is underway. Any timeline for the release? Many thanks
Leave a comment:
Leave a comment: