summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-templates/templates/remotes/favorites/streamzap
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-templates/templates/remotes/favorites/streamzap')
-rw-r--r--linhes/linhes-templates/templates/remotes/favorites/streamzap/Lircmap.xml52
-rw-r--r--linhes/linhes-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap119
-rw-r--r--linhes/linhes-templates/templates/remotes/favorites/streamzap/lircrc832
-rw-r--r--linhes/linhes-templates/templates/remotes/favorites/streamzap/preview.jpgbin0 -> 83195 bytes
-rw-r--r--linhes/linhes-templates/templates/remotes/favorites/streamzap/wol-lircrc66
5 files changed, 1069 insertions, 0 deletions
diff --git a/linhes/linhes-templates/templates/remotes/favorites/streamzap/Lircmap.xml b/linhes/linhes-templates/templates/remotes/favorites/streamzap/Lircmap.xml
new file mode 100644
index 0000000..fe4aec4
--- /dev/null
+++ b/linhes/linhes-templates/templates/remotes/favorites/streamzap/Lircmap.xml
@@ -0,0 +1,52 @@
+<!-- ~/.kodi/userdata/Lircmap.xml -->
+<!-- -->
+<!-- This file maps XBMC_buttons to LIRC_buttons -->
+<!-- and is works with a custom ~/.kodi/userdata/remote.xml which maps -->
+<!-- XBMC_buttons to actions -->
+<!-- -->
+<!-- How to add remotes -->
+<!-- <remote device="name_Lirc_calls_the_remote"> -->
+<!-- -->
+<!-- For the commands the layout following layout is used -->
+<!-- <XBMC_button>LIRC_button</XBMC_button> -->
+
+<lircmap>
+ <remote device="Streamzap_PC_Remote">
+ <power>POWER</power>
+ <play>PLAY</play>
+ <pause>PAUSE</pause>
+ <stop>STOP</stop>
+ <forward>FORWARD</forward>
+ <reverse>REWIND</reverse>
+ <left>LEFT</left>
+ <right>RIGHT</right>
+ <up>UP</up>
+ <down>DOWN</down>
+ <pageplus>CHANNELUP</pageplus>
+ <pageminus>CHANNELDOWN</pageminus>
+ <select>OK</select>
+ <back>EXIT</back>
+ <menu>MENU</menu>
+ <title>RED</title>
+ <info>GREEN</info>
+ <display>YELLOW</display>
+ <blue>BLUE</blue>
+ <skipplus>NEXT</skipplus>
+ <skipminus>PREVIOUS</skipminus>
+ <record>RECORD</record>
+ <volumeplus>VOLUMEUP</volumeplus>
+ <volumeminus>VOLUMEDOWN</volumeminus>
+ <mute>MUTE</mute>
+ <record>RECORD</record>
+ <one>1</one>
+ <two>2</two>
+ <three>3</three>
+ <four>4</four>
+ <five>5</five>
+ <six>6</six>
+ <seven>7</seven>
+ <eight>8</eight>
+ <nine>9</nine>
+ <zero>0</zero>
+ </remote>
+</lircmap>
diff --git a/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap b/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap
new file mode 100644
index 0000000..a89ae7e
--- /dev/null
+++ b/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircd.conf.streamzap
@@ -0,0 +1,119 @@
+# This config file was automatically generated
+# using lirc-0.9.4b(default) on Thu Nov 3 19:55:19 2016
+# Command line used: --device=/dev/lirc0 --driver default Streamzap_PC_Remote
+# Kernel version (uname -r): 4.8.6-1-custom
+#
+# Contributed by graysky (https://github.com/graysky2)
+#
+# You should specify the default driver in /etc/lirc/lirc_options.conf
+# like this: driver = default
+#
+# Remote name : Streamzap PC Remote Control
+# Brand of remote device : Streamzap
+# Remote device model : USBIR2
+# Remote device info URL : http://www.streamzap.com/consumer/pc_remote
+# USB dongle : Yes
+# USB vendor ID : 0x0e9c Streamzap, Inc.
+# Product ID : 0x0000 Streamzap Remote Control
+# Devices controlled : HTPC
+# Remote layout : Classic models have the word "streamzap" in white
+# letters across the bottom of the remote.
+#
+# At least one newer model has the words, "TEMPEST
+# microsystems" in white letters across the bottom of
+# the remote with 3 additional keys in the bottom row.
+#
+# Both older and newer IR receivers and corresponding
+# scancodes seem identical based on the two samples
+# available to me.
+#
+# +-----------+
+# | |
+# | x x | Power, Mute
+# | |
+# | x x x | 1, 2, 3
+# | |
+# | x x x | 4, 5, 6
+# | |
+# | x x x | 7, 8, 9
+# | |
+# | x x x | Channelup, 0, Volumeup
+# | |
+# | x x | Channeldown, Volumedown
+# | |
+# | x | Up
+# | |
+# | x x x | Left, OK, Right
+# | |
+# | x | Down
+# | |
+# | x x | Menu, Exit
+# | |
+# | x x x | Play, Pause, Stop
+# | |
+# | x x x | Previous, Next, Record
+# | |
+# / x x \ Rewind, Forward
+# | |
+# | x x x x | Red, Green, Yellow, Blue
+# | |
+# | x x x | Disp, PTZ (Pan/Tilt/Zoom), Help
+# +-------------+
+
+begin remote
+
+ name Streamzap_PC_Remote
+ bits 14
+ flags RC5
+ eps 30
+ aeps 100
+
+ one 864 864
+ zero 864 864
+ plead 896
+ gap 16777215
+ toggle_bit_mask 0x1000
+ frequency 38000
+
+ begin codes
+ 1 0x28C1
+ 2 0x28C2
+ 3 0x28C3
+ 4 0x28C4
+ 5 0x28C5
+ 6 0x28C6
+ 7 0x28C7
+ 8 0x28C8
+ 9 0x28C9
+ 0 0x28C0
+ POWER 0x28CA
+ MUTE 0x28CB
+ CH_UP 0x28CC
+ CH_DOWN 0x28CE
+ VOL_UP 0x28CD
+ VOL_DOWN 0x28CF
+ UP 0x28D0
+ DOWN 0x28D4
+ LEFT 0x28D1
+ RIGHT 0x28D3
+ OK 0x28D2
+ MENU 0x28D5
+ EXIT 0x28D6
+ PLAY 0x28D7
+ PAUSE 0x28D8
+ STOP 0x28D9
+ PREVIOUS 0x28DA
+ NEXT 0x28DB
+ RECORD 0x28DC
+ REWIND 0x28DD
+ FORWARD 0x28DE
+ RED 0x28E0
+ GREEN 0x28E1
+ YELLOW 0x28E2
+ BLUE 0x28E3
+ DISP 0x28E4
+ PTZ 0x28E5
+ HELP 0x28E6
+ end codes
+
+end remote
diff --git a/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircrc b/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircrc
new file mode 100644
index 0000000..88a14b8
--- /dev/null
+++ b/linhes/linhes-templates/templates/remotes/favorites/streamzap/lircrc
@@ -0,0 +1,832 @@
+# StreamZap Remote
+# 'config' must either be a literal key, e.g. 'config = l' or must
+# refer to a defined key in MythTV, e.g. 'config = PLAY'a
+
+
+#restart frontend
+begin
+ remote = RS_LD
+ button = RESET
+ prog = irexec
+ repeat = 0
+ config = /usr/bin/restartfrontend.sh
+end
+
+#time
+begin
+ remote = RS_LD
+ button = TIME
+ prog = irexec
+ repeat = 10
+ config = /usr/bin/saytime.sh
+end
+
+#screen blank
+begin
+ remote = RS_LD
+ button = BLANK
+ prog = irexec
+ repeat = 0
+# config = ls
+ config = xset s activate ; xset s blank
+end
+
+
+#picture
+begin
+REMOTE = RS_LD
+prog = mythtv
+button = PICTURE
+repeat = 4
+config = f
+end
+
+#change aspect
+begin
+remote = RS_LD
+prog = mythtv
+button = ASPECT
+# change aspect ratio
+config = w
+end
+
+#Browse
+begin
+remote = RS_LD
+prog = mythtv
+button = BROWSE
+repeat = 8
+config = o
+end
+
+# delete key
+begin
+remote = RS_LD
+prog = mythtv
+button = DELETE
+repeat = 8
+config = d
+end
+
+
+#change card
+begin
+remote = RS_LD
+prog = mythtv
+button = CARD
+repeat = 8
+config = y
+end
+
+# Change TV card input
+begin
+remote = RS_LD
+prog = mythtv
+button = CARD_SOURCE
+repeat = 4
+config = C
+end
+
+
+
+# Cycle through channel history
+begin
+remote = Streamzap_PC_Remote
+prog = mythtv
+button = BLUE
+repeat = 4
+config = H
+end
+
+# Bring up OSD info
+begin
+remote = Streamzap_PC_Remote
+prog = mythtv
+button = YELLOW
+repeat = 4
+config = i
+end
+
+
+
+
+begin
+prog = mythtv
+button = 0
+config = 0
+end
+
+begin
+prog = mythtv
+button = 1
+config = 1
+end
+
+begin
+prog = mythtv
+button = 2
+config = 2
+end
+
+begin
+prog = mythtv
+button = 3
+config = 3
+end
+
+begin
+prog = mythtv
+button = 4
+config = 4
+end
+
+begin
+prog = mythtv
+button = 5
+config = 5
+end
+
+begin
+prog = mythtv
+button = 6
+config = 6
+end
+
+begin
+prog = mythtv
+button = 7
+config = 7
+end
+
+begin
+prog = mythtv
+button = 8
+config = 8
+end
+
+begin
+prog = mythtv
+button = 9
+config = 9
+end
+
+begin
+prog = mythtv
+button = POWER
+config = Esc
+end
+
+# ???
+begin
+prog = mythtv
+button = MUTE
+config = F9
+end
+
+begin
+prog = mythtv
+button = CH_UP
+repeat = 3
+config = PgUp
+end
+
+begin
+prog = mythtv
+button = VOL_UP
+repeat = 3
+config = ]
+end
+
+begin
+prog = mythtv
+button = CH_DOWN
+repeat = 3
+config = PgDown
+end
+
+begin
+prog = mythtv
+button = VOL_DOWN
+repeat = 3
+config = [
+end
+
+begin
+prog = mythtv
+button = UP
+repeat = 3
+config = Up
+end
+
+begin
+prog = mythtv
+button = LEFT
+# navigates, or skips back during playback or live tv.
+config = Left
+end
+
+begin
+prog = mythtv
+button = OK
+config = Return
+end
+
+begin
+prog = mythtv
+button = RIGHT
+# navigates, or skips forwards during playback or live tv.
+config = Right
+end
+
+begin
+prog = mythtv
+button = DOWN
+repeat = 3
+config = Down
+end
+
+begin
+prog = mythtv
+button = MENU
+config = m
+end
+
+begin
+prog = mythtv
+button = EXIT
+config = Esc
+end
+
+begin
+prog = mythtv
+button = PLAY
+config = Space
+end
+
+begin
+prog = mythtv
+button = PAUSE
+config = p
+end
+
+begin
+prog = mythtv
+button = STOP
+config = Esc
+end
+
+begin
+prog = mythtv
+# skip backward
+button = PREVIOUS
+config = PgUp
+end
+
+begin
+prog = mythtv
+# skip forward
+button = NEXT
+config = PgDown
+end
+
+begin
+prog = mythtv
+button = RECORD
+config = r
+end
+
+begin
+prog = mythtv
+# rewind
+button = REWIND
+config = Home
+end
+
+begin
+prog = mythtv
+# fast forward
+button = FORWARD
+config = End
+end
+
+begin
+prog = mythtv
+button = RED
+# Delete
+config = d
+end
+
+begin
+prog = mythtv
+button = GREEN
+# Info
+config = i
+end
+
+#begin
+#prog = mythtv
+#button = YELLOW
+# change aspect ratio
+#config = w
+#end
+
+begin
+prog = mythtv
+button = BLUE
+config = Tab
+end
+
+# MPLAYER
+begin
+prog = mplayer
+button = POWER
+config = quit
+end
+
+begin
+prog = mplayer
+button = MUTE
+config = mute
+end
+
+begin
+prog = mplayer
+button = VOL_UP
+repeat = 3
+config = volume +1
+end
+
+begin
+prog = mplayer
+button = VOL_DOWN
+repeat = 3
+config = volume -1
+end
+
+begin
+prog = mplayer
+button = UP
+repeat = 3
+config = seek +10
+end
+
+begin
+prog = mplayer
+button = LEFT
+# navigates, or skips back during playback or live tv.
+config = seek -60
+end
+
+begin
+prog = mplayer
+button = RIGHT
+# navigates, or skips forwards during playback or live tv.
+config = seek +60
+end
+
+begin
+prog = mplayer
+button = DOWN
+repeat = 3
+config = seek -10
+end
+
+begin
+prog = mplayer
+button = EXIT
+config = quit
+end
+
+begin
+prog = mplayer
+button = play
+config = speed_set 1.0
+end
+
+begin
+ prog = mplayer
+ button = pause
+ config = pause
+end
+
+begin
+prog = mplayer
+button = STOP
+config = quit
+end
+
+begin
+prog = mplayer
+# skip backward
+button = PREVIOUS
+config = seek -600
+end
+
+begin
+prog = mplayer
+# skip forward
+button = NEXT
+config = seek +600
+end
+
+begin
+prog = mplayer
+# slow forward
+button = REWIND
+config = speed_mult 0.5
+end
+
+begin
+prog = mplayer
+# fast forward
+button = FORWARD
+config = speed_mult 2.0
+end
+
+### xine commands
+
+begin
+prog = xine
+button = YELLOW
+repeat = 4
+#config = ToggleVisiblity
+config = OSDStreamInfos
+end
+
+begin
+prog = xine
+button = MENU
+repeat = 4
+config = SeekRelative+60
+end
+
+# increase brightness by 10
+begin
+ button = DELETE
+ prog = xine
+ repeat = 4
+ config = BrightnessControl+
+end
+
+# decrease brightness by 10
+begin
+ button = PICTURE
+ prog = xine
+ repeat = 4
+ config = BrightnessControl-
+end
+
+
+begin
+prog = xine
+button = PAUSE
+repeat = 4
+config = Pause
+end
+
+begin
+prog = xine
+button = PLAY
+repeat = 4
+config = Play
+end
+
+begin
+prog = xine
+button = STOP
+repeat = 4
+config = quit
+end
+
+begin
+prog = xine
+button = MUTE
+repeat = 4
+config = mute
+end
+
+begin
+prog = xine
+button = REWIND
+repeat = 4
+config = SeekRelative-30
+end
+
+begin
+prog = xine
+button = FORWARD
+repeat = 4
+#config = SeekRelative+30
+config = SpeedFaster
+end
+
+begin
+prog = xine
+button = POWER
+repeat = 4
+config = quit
+end
+
+begin
+prog = xine
+button = EXIT
+repeat = 4
+config = quit
+end
+
+
+begin
+prog = xine
+button = FREEZE
+repeat = 4
+config = SeekRelative+1200
+end
+
+begin
+prog = xine
+button = MOVE
+repeat = 4
+config = SeekRelative-1200
+end
+
+begin
+prog = xine
+button = 3
+config = SpuNext
+repeat = 0
+end
+
+# Select previous sub picture (subtitle) channel.
+begin
+button = 1
+prog = xine
+repeat = 0
+config = SpuPrior
+end
+
+# Select next audio channel.
+begin
+button = 9
+prog = xine
+repeat = 0
+config = AudioChannelNext
+end
+
+# Select previous audio channel.
+begin
+button = 7
+prog = xine
+repeat = 0
+config = AudioChannelPrior
+end
+
+
+
+# Up event.
+begin
+
+button = UP
+prog = xine
+repeat = 8
+config = EventUp
+end
+
+# Down event.
+begin
+
+button = DOWN
+prog = xine
+repeat = 8
+config = EventDown
+end
+
+# Left event.
+begin
+
+button = LEFT
+prog = xine
+repeat = 8
+config = EventLeft
+end
+
+# Right event.
+begin
+
+button = RIGHT
+prog = xine
+repeat = 8
+config = EventRight
+end
+
+# Select event.
+begin
+prog = xine
+button = ok
+repeat = 8
+config = EventSelect
+end
+
+# Down Chapter
+begin
+
+button = CH_DOWN
+prog = xine
+repeat = 8
+config = EventPrior
+end
+
+# Next Chapter.
+begin
+
+button = CH_UP
+prog = xine
+repeat = 8
+config = EventNext
+end
+
+# menu.
+begin
+
+button = record
+prog = xine
+repeat = 8
+config = RootMenu
+end
+
+# Toggle aspect ratio
+begin
+prog = xine
+button = ASPECT
+repeat = 0
+config = ToggleAspectRatio
+end
+
+
+
+#######xmms
+begin xmms
+ begin
+ prog = xmms
+ button = PLAY
+ config = PLAY
+ end
+ begin
+ prog = xmms
+ button = clear
+ config = PLAYLIST_CLEAR
+ end
+ begin
+ prog = xmms
+ button = load
+ config = PLAYLIST_ADD .xmms/xmms.m3u
+ end
+ begin
+ prog = xmms
+ button = PAUSE
+ config = PAUSE
+ end
+ begin
+ prog = xmms
+ button = STOP
+ config = STOP
+ end
+ begin
+ prog = xmms
+ button = EXIT
+ config = QUIT
+ flags = mode
+ end
+
+ begin
+ prog = xmms
+ button = POWER
+ config = QUIT
+ flags = mode
+ end
+
+ begin
+ prog = xmms
+ button = CH_UP
+ config = NEXT
+ end
+ begin
+ prog = xmms
+ button = CH_DOWN
+ config = PREV
+ end
+
+
+
+begin
+ prog = xmms
+ button = NEXT
+ config = NEXT
+ end
+begin
+ prog = xmms
+ button = PREVIOUS
+ config = PREV
+end
+
+
+begin
+ prog = xmms
+ button = FORWARD
+ config = FWD 10
+ repeat = 2
+ end
+ begin
+ prog = xmms
+ button = REWIND
+ config = BWD 10
+ repeat = 2
+ end
+ begin
+ prog = xmms
+ button = volup
+ config = VOL_UP 10
+ repeat = 2
+ end
+ begin
+ prog = xmms
+ button = voldown
+ config = VOL_DOWN 10
+ repeat = 2
+ end
+ begin
+ prog = xmms
+ button = 1
+ config = ONE
+ end
+ begin
+ prog = xmms
+ button = 2
+ config = TWO
+ end
+ begin
+ prog = xmms
+ button = 3
+ config = THREE
+ end
+ begin
+ prog = xmms
+ button = 4
+ config = FOUR
+ end
+ begin
+ prog = xmms
+ button = 5
+ config = FIVE
+ end
+ begin
+ prog = xmms
+ button = 6
+ config = SIX
+ end
+ begin
+ prog = xmms
+ button = 7
+ config = SEVEN
+ end
+ begin
+ prog = xmms
+ button = 8
+ config = EIGHT
+ end
+ begin
+ prog = xmms
+ button = 9
+ config = NINE
+ end
+ begin
+ prog = xmms
+ button = 0
+ config = ZERO
+ end
+ begin
+ prog = xmms
+ button = enter
+ config = SETPOS
+ end
+end xmms
+
+#
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/linhes/linhes-templates/templates/remotes/favorites/streamzap/preview.jpg b/linhes/linhes-templates/templates/remotes/favorites/streamzap/preview.jpg
new file mode 100644
index 0000000..4d1a5fe
--- /dev/null
+++ b/linhes/linhes-templates/templates/remotes/favorites/streamzap/preview.jpg
Binary files differ
diff --git a/linhes/linhes-templates/templates/remotes/favorites/streamzap/wol-lircrc b/linhes/linhes-templates/templates/remotes/favorites/streamzap/wol-lircrc
new file mode 100644
index 0000000..bd3e26e
--- /dev/null
+++ b/linhes/linhes-templates/templates/remotes/favorites/streamzap/wol-lircrc
@@ -0,0 +1,66 @@
+# wol-lircrc for Streamzap
+begin
+ prog = irxevent
+ button = STOP
+ config = Key ctrl-shift-w CurrentWindow
+end
+begin
+# Exit Chrome back to Myth
+ prog = irxevent
+ button = EXIT
+ config = Key Escape CurrentWindow
+end
+begin
+ prog = irxevent
+ button = UP
+ config = Key Up CurrentWindow
+end
+begin
+ prog = irxevent
+ button = DOWN
+ config = Key Down CurrentWindow
+end
+begin
+ prog = irxevent
+ button = LEFT
+ config = Key Left CurrentWindow
+end
+begin
+ prog = irxevent
+ button = RIGHT
+ config = Key Right CurrentWindow
+end
+begin
+# Play/Pause
+ prog = irxevent
+ button = OK
+ config = Key Return CurrentWindow
+end
+begin
+# Play/Pause
+ prog = irxevent
+ button = PAUSE
+ config = Key Return CurrentWindow
+end
+begin
+# Play/Pause
+ prog = irxevent
+ button = PLAY
+ config = Key Return CurrentWindow
+end
+begin
+ prog = irxevent
+ button = CH_UP
+ config = Key alt-Right CurrentWindow
+end
+begin
+ prog = irxevent
+ button = CH_DOWN
+ config = Key alt-Left CurrentWindow
+end
+begin
+# Stop watching and return to Netflix Browse
+ prog = irxevent
+ button = MENU
+ config = Key alt-Left CurrentWindow
+end