Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 2.58 KB

File metadata and controls

44 lines (34 loc) · 2.58 KB

Streamzap

remote

Getting the Streamzap USB remote to work with Kodi under Linux is fairly straight forward.

Update Jan/2023

My recommended method for using this remote with Kodi is no longer via lirc. Doing so presents disconnects in functionality running kodi-x11 vs kodi-gbm. The most general implementation for using this remote with Kodi, is to allow the kernel driver to see it as a keyboard, not a remote, and to adjust the keymapping to suit Kodi.

  • The really old (details for mythtv, mplayer, other) has been archived in streamzap/old for those interested.
  • The method using lirc (works fine for x11 but not for gbm) has been archived in streamzap/lirc for those interested.

Setup

  • On Arch/Arch ARM, install the v4l-utils package.
  • Users of other distros may also need to install the ir-keytable package (Ubuntu has this requirement).
  • Place kodi/keyboard.xml into ~/.kodi/userdata/keymaps/
  • Place streamzap.toml into /etc/rc_keymaps/
  • Modify /etc/rc_maps.cfg so the streamzap line points to /etc/rc_keymaps/streamzap.toml
# *  rc-streamzap             streamzap.toml
* rc-streamzap             /etc/rc_keymaps/streamzap.local
  • First time setup only: reboot your system or re-initialize the keycode mapping to use the custom file:
# ir-keytable -c -w /etc/rc_keymaps/streamzap.toml
  • THERE IS NO NEED TO RUN LIRC AT ALL so disable lircd in your init system if you previously had it enabled.

Optional setup/custom script

  • Optionally place kodi/audio_switch/audio_switch.py in ~/bin/ (note you likely need to edit the code to match your system, see the thread in the comments of the file).
  • Optionally place the two suggested icons into ~ as shown in the script.

On the homescreen/library

In video playback

Supplemental info

Kodi upstream links