I got the code to work as well, thanks! Works on all 4 TVs, Fire TVs and Raspberry Pi running XBMC and Kodi.
I was going to look into how I could do some type of text to speech but now I can select important notifications to actually STOP my video and with a pause, speak a notification. Read about that here RELEASE Generic Media Renderer (DLNA Speakers). Cheap Sonos Alternative (Update V2)