pssc / ha-addon-squeezelite

Squeezelite Player Addon for Home Assistant, for use with a Logitech Media Server
GNU General Public License v3.0
8 stars 0 forks source link

Player name always adds a " ' " at start / end of player name #5

Closed RetroButton closed 9 months ago

RetroButton commented 1 year ago

Using ha-addon-squeezelite for some time. Works good, but the player name you put in the config always gets a " ' " at the start and end of the player name from somewhere. It has to be added from ha-squeezelite-addon, because it is my only player that gets these characters. Example: Should be: Kitchen It is: 'Kitchen' I always have to correct that inside LMS, but after a restart of the ha-addon-squeezelite these characters are back again.

matlantin commented 1 year ago

Same issue here, the quotes are always there, and we can see it in the launch command:

INFO: nice -n -5 squeezelite -M SqueezeLite-HA-Addon -n 'Salon' -o sysdefault:CARD=b1 -m 7b:24:ec:49:27:50 -d all=info

Is there a config file somewhere that we can edit to remove the quotes?

We can correct in LMS, but as said previously, it doesn't survive a reboot.

Thanks for the great job on that extension!

pssc commented 1 year ago

Stop setting the name in the addon and you should be able to use LMS to set.

On Fri, 31 Mar 2023 at 12:16, Mathieu Lantin @.***> wrote:

Same issue here, the quotes are always there, and we can see it in the launch command:

INFO: nice -n -5 squeezelite -M SqueezeLite-HA-Addon -n 'Salon' -o sysdefault:CARD=b1 -m 7b:24:ec:49:27:50 -d all=info

Is there a config file somewhere that we can edit to remove the quotes?

We can correct in LMS, but as said previously, it doesn't survive a reboot.

Thanks for the great job on that extension!

— Reply to this email directly, view it on GitHub https://github.com/pssc/ha-addon-squeezelite/issues/5#issuecomment-1491763431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANORYJ5R2TVLZYPLYETML3W624J3ANCNFSM6AAAAAAWA32QXQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- I Can Resist Everything Except Temptation -- Oscar Wilde

matlantin commented 1 year ago

That works perfectly, thanks for the tip👍

RetroButton commented 1 year ago

Yes, works well to not set the name inside the plugin. After restarting the plugin the name is still the same inside LMS. Thanks.