Play Plex using JSON

Here is the code I am using and I keep getting JSON errors. What am I doing wrong?

{
"entity_id": "media_player.sony_tv_plex",
"media_content_id": "{ \“playlist_name\”: \“Away\”, \“shuffle\”: \“1\” }",
"media_content_type": "PLAYLIST"
}

You can test your JSON here https://jsonlint.com

It doesn’t like the escaped quotes in line 3

1 Like