Kodi Community Forum

Full Version: Keymap button to play specific item
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
I'm trying to program a button on my remote to play a specific file - in this case a .strm file which is an RTSP stream from my CCTV:

I'm struggling, below doesnt work:
<blue>activatewindow(Video,smb://myserver/mypath/myfile.strm)</blue>

I was trying to base it off - ActivateWindow(type,path to playlist) but I might be on the wrong track here.

Any suggestions?

Tom
Try <blue>PlayMedia(smb://myserver/mypath/myfile.strm)</blue>
Perfect! Thanks!