Roku TV creating a button to change inputs issue

I created a couple of Button cards on my Dashboard to change inputs on my
Roku TV.

Testing the commands in Developer Tools / Services.
Selecting Media player:Select Source
Selecting 75" TCL Roku TV
Entering Source : DIRECTV and that will work
If I select any source that has a space in it like Media player it does not work.
Have selected YAML Code and put "Media player" then 'Media player' and still
does not work but Netflix works fine.

Anyone know what the issue is and also why the sources do not show up for
the Media player and I have to type them in.
If I use the Media player card it gives me the list of sources to pick from.