From feb3eb587bc14cc4415aecdbe0d39feb86e0bb9d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 16 May 2012 11:17:34 -0500
Subject: system-templates: rename remote Twinham to Twinhan. refs #820

---
 abs/core/system-templates/PKGBUILD                 |   2 +-
 .../templates/remotes/Twinham/lircd-twinhan.conf   |  44 --
 .../templates/remotes/Twinham/lircrc-twinhan.txt   | 474 ---------------------
 .../templates/remotes/Twinham/preview.jpg          | Bin 1587 -> 0 bytes
 .../templates/remotes/Twinhan/lircd-twinhan.conf   |  44 ++
 .../templates/remotes/Twinhan/lircrc-twinhan.txt   | 474 +++++++++++++++++++++
 .../templates/remotes/Twinhan/preview.jpg          | Bin 0 -> 18260 bytes
 7 files changed, 519 insertions(+), 519 deletions(-)
 delete mode 100755 abs/core/system-templates/templates/remotes/Twinham/lircd-twinhan.conf
 delete mode 100755 abs/core/system-templates/templates/remotes/Twinham/lircrc-twinhan.txt
 delete mode 100644 abs/core/system-templates/templates/remotes/Twinham/preview.jpg
 create mode 100755 abs/core/system-templates/templates/remotes/Twinhan/lircd-twinhan.conf
 create mode 100755 abs/core/system-templates/templates/remotes/Twinhan/lircrc-twinhan.txt
 create mode 100644 abs/core/system-templates/templates/remotes/Twinhan/preview.jpg

diff --git a/abs/core/system-templates/PKGBUILD b/abs/core/system-templates/PKGBUILD
index 8a1df44..1079890 100755
--- a/abs/core/system-templates/PKGBUILD
+++ b/abs/core/system-templates/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=system-templates
 pkgver=2.0
-pkgrel=11
+pkgrel=12
 conflicts=( )
 pkgdesc="Templates used for system configuration"
 depends=()
diff --git a/abs/core/system-templates/templates/remotes/Twinham/lircd-twinhan.conf b/abs/core/system-templates/templates/remotes/Twinham/lircd-twinhan.conf
deleted file mode 100755
index 3fb3652..0000000
--- a/abs/core/system-templates/templates/remotes/Twinham/lircd-twinhan.conf
+++ /dev/null
@@ -1,44 +0,0 @@
-begin remote
-  name  TwinHanRemote
-  bits           32
-  eps            30
-  aeps          100
-  one             0     0
-  zero            0     0
-  gap          115899
-  toggle_bit      0
-      begin codes
-          fullscreen               0x8001002C
-          Power                    0x8001001D
-          1                        0x80010002
-          2                        0x80010003
-          3                        0x80010004
-          4                        0x80010005
-          5                        0x80010006
-          6                        0x80010007
-          7                        0x80010008
-          8                        0x80010009
-          9                        0x8001000A
-          0                        0x8001000B
-          rec                      0x80010066
-          favorite                 0x8001002F
-          rewind                   0x80010017
-          forward                  0x80010031
-          ch+                      0x80010068
-          ch-                      0x8001006D
-          vol-                     0x8001006C
-          vol+                     0x80010067
-          recall                   0x8001002E
-          play                     0x8001001C
-          stop                     0x8001006B
-          pause                    0x80010014
-          mute                     0x80010032
-          cancel                   0x80010001
-          capture                  0x80010019
-          preview                  0x80010025
-          epg                      0x80010012
-          recordlist               0x80010026
-          tab                      0x8001000F
-          teletext                 0x8001001E
-      end codes
-end remote
\ No newline at end of file
diff --git a/abs/core/system-templates/templates/remotes/Twinham/lircrc-twinhan.txt b/abs/core/system-templates/templates/remotes/Twinham/lircrc-twinhan.txt
deleted file mode 100755
index 296876c..0000000
--- a/abs/core/system-templates/templates/remotes/Twinham/lircrc-twinhan.txt
+++ /dev/null
@@ -1,474 +0,0 @@
-# Channel Up
-begin
-prog = mythtv
-button = ch+
-config = Up
-end
- 
-# Channel Down
-begin
-prog = mythtv
-button = ch-
-config = Down
-end
- 
-# General Left
-begin
-prog = mythtv
-button = 
-config = Left
-end
- 
-# General Right
-begin 
-prog = mythtv
-button = 
-config = Right
-end
-
- # LiveTV browse up channel
-begin
-prog = mythtv
-button = ch+
-config = Up
-end
- 
-# LiveTV browse down channel
-begin 
-prog = mythtv
-button = ch-
-config = Down
-end
-
-# Volume Up
-begin
-prog = mythtv
-button = vol+
-config = F11
-end
- 
-# Volume Down
-begin
-prog = mythtv
-button = vol-
-config = F10
-end
- 
- # OK/Select
-begin
-prog = mythtv
-button = 
-config = Space
-end
- 
-# Play
-begin
-prog = mythtv
-button = play
-config = Return
-end
- 
-# Stop
-begin
-prog = mythtv
-button = stop
-config = Esc
-end
- 
-# Escape/Exit/Back
-begin
-prog = mythtv
-button = 
-config = Esc
-end
- 
-# Power Off/Exit
-begin
-prog = irexec
-button = Power
-config = /usr/bin/mythpowerbutton.sh
-end
- 
-# Pause
-begin
-prog = mythtv
-button = pause
-config = P
-end
- 
-# Mute
-begin
-prog = mythtv
-button = mute
-config = |
-end
- 
-# Fast forward (10 sec default)
-begin
-prog = mythtv
-button = forward
-config = Right
-end
- 
-# Rewind (10 sec default)
-begin
-prog = mythtv
-button = rewind
-config = Left
-end
- 
-# Skip forward (10 min default)
-begin
-prog = mythtv
-button = 
-config = PgDown
-end
- 
-# Skip backward (10 min default)
-begin
-prog = mythtv
-button = 
-config = PgUp
-end
- 
-# Record
-begin
-prog = mythtv
-button = rec
-config = R
-end
- 
-# Delete
-begin
-prog = mythtv
-button = 
-config = D
-end
- 
-# OSD browse
-begin
-prog = mythtv
-button = 
-config = O
-end
- 
-# Display EPG while in live TV,
-# View selected show while in EPG
-begin
-prog = mythtv
-button = epg
-config = M
-end
- 
-# Bring up OSD info
-begin
-prog = mythtv
-button = 
-config = I
-end
- 
-# Change display aspect ratio
-begin
-prog = mythtv
-button = preview
-config = W
-end
- 
-# Seek to previous commercial cut point
-begin
-prog = mythtv
-button = 
-config = Q
-end
- 
-# Seek to next commercial cut point
-begin
-prog = mythtv
-button = 
-config = Z
-end
- 
-# Numbers 0-9
- 
-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 
- 
-# Previous channel
-begin
-prog = mythtv
-button = recall
-config = H
-end
-
-# Closed Captioning
-begin
-prog = mythtv
-button = teletext
-config = T
-end
- 
-# Picture in Picture
-begin
-prog = mythtv
-button = 
-config = V
-end
- 
-# Change channels on both cards
-begin
-prog = mythtv
-button = 
-config = N
-end
- 
-# Clear cutpoints in cutlist
-begin
-prog = mythtv
-button = 
-config = Q
-end
- 
-
-
-
-### MPlayer lirc setup
- 
-# Show OSD
-begin
-prog = mplayer
-button = epg
-config = osd
-end
- 
-# Pause playback
-begin
-prog = mplayer
-button = pause
-config = pause
-end
- 
-# Mute
-begin
-prog = mplayer
-button = mute
-config = mute
-end
- 
-# Seek back 10 seconds
-begin
-prog = mplayer
-button = rewind
-config = seek -10
-end
- 
-# Seek forward 30 seconds
-begin
-prog = mplayer
-button = forward
-config = seek +30
-end
- 
-# Quit
-begin
-prog = mplayer
-button = stop
-config = quit
-end
- 
-# Seek forward 10 minutes
-begin
-prog = mplayer
-button = 
-config = seek +600
-end
- 
-# Seek backward 10 minutes
-begin
-prog = mplayer
-button = 
-config = seek -600
-end
- 
-# Toggle full-screen
-begin
-prog = mplayer
-button = fullscreen
-config = vo_fullscreen
-end
- 
-
-
-### Xine lirc setup
- 
-begin
-prog = xine
-button = play
-config = Play
-end
- 
-begin
-prog = xine
-button = stop
-config = Stop
-end
- 
-begin
-prog = xine
-button = stop
-config = Quit
-end
- 
-begin
-prog = xine
-button = pause
-config = Pause
-end
- 
-begin
-prog = xine
-button = ch+
-config = EventUp
-end 
- 
-begin
-prog = xine
-button = ch-
-config = EventDown
-end
- 
-begin
-prog = xine
-button = 
-config = EventLeft
-end
- 
-begin
-prog = xine
-button = 
-config = EventRight
-end
- 
-begin
-prog = xine
-button = 
-config = EventSelect
-end
- 
-begin
-prog = xine
-button = epg
-config = Menu
-end
- 
-begin
-prog = xine
-button = forward
-#config = SpeedFaster
-config = SeekRelative+60
-end
- 
-begin
-prog = xine
-button = rewind
-#config = SpeedSlower
-config = SeekRelative-60
-end
- 
-begin
-prog = xine
-button = vol+
-config = Volume+
-end
- 
-begin
-prog = xine
-button = vol-
-config = Volume-
-end
- 
-begin
-prog = xine
-button = mute
-config = Mute
-end
- 
-begin
-prog = xine
-button = stop
-config = RootMenu
-end 
- 
-begin
-prog = xine
-button = 
-config = EventNext
-end
- 
-begin
-prog = xine
-button = 
-config = EventPrior
-end
- 
-begin
-prog = xine
-button = teletext
-config = OSDStreamInfos
-end
\ No newline at end of file
diff --git a/abs/core/system-templates/templates/remotes/Twinham/preview.jpg b/abs/core/system-templates/templates/remotes/Twinham/preview.jpg
deleted file mode 100644
index a034186..0000000
Binary files a/abs/core/system-templates/templates/remotes/Twinham/preview.jpg and /dev/null differ
diff --git a/abs/core/system-templates/templates/remotes/Twinhan/lircd-twinhan.conf b/abs/core/system-templates/templates/remotes/Twinhan/lircd-twinhan.conf
new file mode 100755
index 0000000..3fb3652
--- /dev/null
+++ b/abs/core/system-templates/templates/remotes/Twinhan/lircd-twinhan.conf
@@ -0,0 +1,44 @@
+begin remote
+  name  TwinHanRemote
+  bits           32
+  eps            30
+  aeps          100
+  one             0     0
+  zero            0     0
+  gap          115899
+  toggle_bit      0
+      begin codes
+          fullscreen               0x8001002C
+          Power                    0x8001001D
+          1                        0x80010002
+          2                        0x80010003
+          3                        0x80010004
+          4                        0x80010005
+          5                        0x80010006
+          6                        0x80010007
+          7                        0x80010008
+          8                        0x80010009
+          9                        0x8001000A
+          0                        0x8001000B
+          rec                      0x80010066
+          favorite                 0x8001002F
+          rewind                   0x80010017
+          forward                  0x80010031
+          ch+                      0x80010068
+          ch-                      0x8001006D
+          vol-                     0x8001006C
+          vol+                     0x80010067
+          recall                   0x8001002E
+          play                     0x8001001C
+          stop                     0x8001006B
+          pause                    0x80010014
+          mute                     0x80010032
+          cancel                   0x80010001
+          capture                  0x80010019
+          preview                  0x80010025
+          epg                      0x80010012
+          recordlist               0x80010026
+          tab                      0x8001000F
+          teletext                 0x8001001E
+      end codes
+end remote
\ No newline at end of file
diff --git a/abs/core/system-templates/templates/remotes/Twinhan/lircrc-twinhan.txt b/abs/core/system-templates/templates/remotes/Twinhan/lircrc-twinhan.txt
new file mode 100755
index 0000000..296876c
--- /dev/null
+++ b/abs/core/system-templates/templates/remotes/Twinhan/lircrc-twinhan.txt
@@ -0,0 +1,474 @@
+# Channel Up
+begin
+prog = mythtv
+button = ch+
+config = Up
+end
+ 
+# Channel Down
+begin
+prog = mythtv
+button = ch-
+config = Down
+end
+ 
+# General Left
+begin
+prog = mythtv
+button = 
+config = Left
+end
+ 
+# General Right
+begin 
+prog = mythtv
+button = 
+config = Right
+end
+
+ # LiveTV browse up channel
+begin
+prog = mythtv
+button = ch+
+config = Up
+end
+ 
+# LiveTV browse down channel
+begin 
+prog = mythtv
+button = ch-
+config = Down
+end
+
+# Volume Up
+begin
+prog = mythtv
+button = vol+
+config = F11
+end
+ 
+# Volume Down
+begin
+prog = mythtv
+button = vol-
+config = F10
+end
+ 
+ # OK/Select
+begin
+prog = mythtv
+button = 
+config = Space
+end
+ 
+# Play
+begin
+prog = mythtv
+button = play
+config = Return
+end
+ 
+# Stop
+begin
+prog = mythtv
+button = stop
+config = Esc
+end
+ 
+# Escape/Exit/Back
+begin
+prog = mythtv
+button = 
+config = Esc
+end
+ 
+# Power Off/Exit
+begin
+prog = irexec
+button = Power
+config = /usr/bin/mythpowerbutton.sh
+end
+ 
+# Pause
+begin
+prog = mythtv
+button = pause
+config = P
+end
+ 
+# Mute
+begin
+prog = mythtv
+button = mute
+config = |
+end
+ 
+# Fast forward (10 sec default)
+begin
+prog = mythtv
+button = forward
+config = Right
+end
+ 
+# Rewind (10 sec default)
+begin
+prog = mythtv
+button = rewind
+config = Left
+end
+ 
+# Skip forward (10 min default)
+begin
+prog = mythtv
+button = 
+config = PgDown
+end
+ 
+# Skip backward (10 min default)
+begin
+prog = mythtv
+button = 
+config = PgUp
+end
+ 
+# Record
+begin
+prog = mythtv
+button = rec
+config = R
+end
+ 
+# Delete
+begin
+prog = mythtv
+button = 
+config = D
+end
+ 
+# OSD browse
+begin
+prog = mythtv
+button = 
+config = O
+end
+ 
+# Display EPG while in live TV,
+# View selected show while in EPG
+begin
+prog = mythtv
+button = epg
+config = M
+end
+ 
+# Bring up OSD info
+begin
+prog = mythtv
+button = 
+config = I
+end
+ 
+# Change display aspect ratio
+begin
+prog = mythtv
+button = preview
+config = W
+end
+ 
+# Seek to previous commercial cut point
+begin
+prog = mythtv
+button = 
+config = Q
+end
+ 
+# Seek to next commercial cut point
+begin
+prog = mythtv
+button = 
+config = Z
+end
+ 
+# Numbers 0-9
+ 
+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 
+ 
+# Previous channel
+begin
+prog = mythtv
+button = recall
+config = H
+end
+
+# Closed Captioning
+begin
+prog = mythtv
+button = teletext
+config = T
+end
+ 
+# Picture in Picture
+begin
+prog = mythtv
+button = 
+config = V
+end
+ 
+# Change channels on both cards
+begin
+prog = mythtv
+button = 
+config = N
+end
+ 
+# Clear cutpoints in cutlist
+begin
+prog = mythtv
+button = 
+config = Q
+end
+ 
+
+
+
+### MPlayer lirc setup
+ 
+# Show OSD
+begin
+prog = mplayer
+button = epg
+config = osd
+end
+ 
+# Pause playback
+begin
+prog = mplayer
+button = pause
+config = pause
+end
+ 
+# Mute
+begin
+prog = mplayer
+button = mute
+config = mute
+end
+ 
+# Seek back 10 seconds
+begin
+prog = mplayer
+button = rewind
+config = seek -10
+end
+ 
+# Seek forward 30 seconds
+begin
+prog = mplayer
+button = forward
+config = seek +30
+end
+ 
+# Quit
+begin
+prog = mplayer
+button = stop
+config = quit
+end
+ 
+# Seek forward 10 minutes
+begin
+prog = mplayer
+button = 
+config = seek +600
+end
+ 
+# Seek backward 10 minutes
+begin
+prog = mplayer
+button = 
+config = seek -600
+end
+ 
+# Toggle full-screen
+begin
+prog = mplayer
+button = fullscreen
+config = vo_fullscreen
+end
+ 
+
+
+### Xine lirc setup
+ 
+begin
+prog = xine
+button = play
+config = Play
+end
+ 
+begin
+prog = xine
+button = stop
+config = Stop
+end
+ 
+begin
+prog = xine
+button = stop
+config = Quit
+end
+ 
+begin
+prog = xine
+button = pause
+config = Pause
+end
+ 
+begin
+prog = xine
+button = ch+
+config = EventUp
+end 
+ 
+begin
+prog = xine
+button = ch-
+config = EventDown
+end
+ 
+begin
+prog = xine
+button = 
+config = EventLeft
+end
+ 
+begin
+prog = xine
+button = 
+config = EventRight
+end
+ 
+begin
+prog = xine
+button = 
+config = EventSelect
+end
+ 
+begin
+prog = xine
+button = epg
+config = Menu
+end
+ 
+begin
+prog = xine
+button = forward
+#config = SpeedFaster
+config = SeekRelative+60
+end
+ 
+begin
+prog = xine
+button = rewind
+#config = SpeedSlower
+config = SeekRelative-60
+end
+ 
+begin
+prog = xine
+button = vol+
+config = Volume+
+end
+ 
+begin
+prog = xine
+button = vol-
+config = Volume-
+end
+ 
+begin
+prog = xine
+button = mute
+config = Mute
+end
+ 
+begin
+prog = xine
+button = stop
+config = RootMenu
+end 
+ 
+begin
+prog = xine
+button = 
+config = EventNext
+end
+ 
+begin
+prog = xine
+button = 
+config = EventPrior
+end
+ 
+begin
+prog = xine
+button = teletext
+config = OSDStreamInfos
+end
\ No newline at end of file
diff --git a/abs/core/system-templates/templates/remotes/Twinhan/preview.jpg b/abs/core/system-templates/templates/remotes/Twinhan/preview.jpg
new file mode 100644
index 0000000..65345c8
Binary files /dev/null and b/abs/core/system-templates/templates/remotes/Twinhan/preview.jpg differ
-- 
cgit v0.12