Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playing Sonos Favourites fails with & symbols in the name
Trying to play Sonos favourites using: PlayFavorite : name 

This works unless there is an "&" symbol in the name. I have tried renaming the favourite but that nets the same result. 

[Image: AYQLr3N.png]
You could try doing a search and replace before writing it to the field. Try maybe replacing & with & and see if it makes a difference.
Dean Roddey
Explorans limites defectum
&amp didn't work. Doing a search and replace wont help because it's writing the value to the driver that is failing. I was hoping changing the favourite name would be enough but I guess the name change is only superficial on the Sonos side.
There should be a way to do it. That information ultimately gets put into some XML that goes to the Sonos. And an amp is a special character in XML. I was assuming that by doing it that way, you could get into the XML OK. Try turning it into


I.e. a doubly dereferenced ampersand. That might be required.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  SONOS and Grouping gReatAutomation 6 2,476 04-16-2020, 10:49 PM
Last Post: kblagron
  Sonos media success simplextech 0 1,028 01-07-2020, 07:52 PM
Last Post: simplextech
  Use TTS with Sonos (not Play:5) IVB 7 4,640 01-20-2018, 10:27 PM
Last Post: potts.mike
  Another big Sonos update coming Dean Roddey 7 4,896 01-18-2018, 04:45 AM
Last Post: batwater
  Sonos Favourites Query NightLight 17 14,478 03-30-2017, 07:15 PM
Last Post: DaveB
  sonos and podcasts jkmonroe 6 5,593 05-01-2016, 02:08 PM
Last Post: bbrendon
  Sonos Ron Haley 37 16,316 03-17-2016, 10:18 PM
Last Post: bbrendon
  Sonos - Again jkmonroe 30 15,354 06-23-2015, 03:26 PM
Last Post: jkmonroe
  How to disable the Sonos transmitters Dean Roddey 1 2,628 10-27-2014, 07:09 AM
Last Post: ControlFreak
  Linking Sonos senddrvcmd to upb link rtarver 5 4,255 08-17-2014, 09:35 PM
Last Post: bbrendon

Forum Jump:

Users browsing this thread: 1 Guest(s)