Did you try doing this? I have a similar reqirement and I want to achieve this using android tv box.