Set autoUpdatePolicy for WriteOnly channels (#17469)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
mlobstein 2024-09-24 01:59:28 -05:00 committed by Ciprian Pascu
parent 38052ac12e
commit 5c95608220
2 changed files with 8 additions and 6 deletions

View File

@ -136,13 +136,13 @@ tivo:sckt:Living_Room "Living Room TiVo" [ host="192.168.0.19" ]
```java
/* TIVO */
String TiVo_Status "Status" {channel="tivo:sckt:Living_Room:dvrStatus"}
String TiVo_MenuScreen "Menu Screen" {channel="tivo:sckt:Living_Room:menuTeleport", autoupdate="false"}
String TiVo_MenuScreen "Menu Screen" {channel="tivo:sckt:Living_Room:menuTeleport"}
Number TiVo_SetChannel "Current Channel" {channel="tivo:sckt:Living_Room:channelSet"}
Number TiVo_SetChannelName "Channel Name [MAP(tivo.map):%s]" {channel="tivo:sckt:Living_Room:channelSet"}
Number TiVo_ForceChannel "Force Channel" {channel="tivo:sckt:Living_Room:channelForce"}
Number TiVo_Recording "Recording [MAP(tivo.map):rec-%s]" {channel="tivo:sckt:Living_Room:isRecording"}
String TiVo_IRCmd "Ir Cmd" {channel="tivo:sckt:Living_Room:irCommand", autoupdate="false"}
String TiVo_KbdCmd "Keyboard Cmd" {channel="tivo:sckt:Living_Room:kbdCommand", autoupdate="false"}
String TiVo_IRCmd "Ir Cmd" {channel="tivo:sckt:Living_Room:irCommand"}
String TiVo_KbdCmd "Keyboard Cmd" {channel="tivo:sckt:Living_Room:kbdCommand"}
String TiVo_KeyboardStr "Search String"
```

View File

@ -106,7 +106,7 @@
<label>Change Menu Screen</label>
<description>Change(TELEPORT) to one of the following TiVo menu screens: TIVO (Home), LIVE TV, GUIDE, NOW PLAYING (My
Shows), SEARCH, NETFLIX. Type: String</description>
<state readOnly="false">
<state>
<options>
<option value="TIVO">TIVO</option>
<option value="LIVETV">LIVETV</option>
@ -116,13 +116,14 @@
<option value="NETFLIX">NETFLIX</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="irCommand">
<item-type>String</item-type>
<label>Remote Control Button</label>
<description>Send a simulated button push (IRCODE) from the remote control to the TiVo. See README.md for supported
codes. Type: String</description>
<state readOnly="false">
<state>
<options>
<option value="UP">UP</option>
<option value="DOWN">DOWN</option>
@ -181,13 +182,14 @@
<option value="VIDEO_MODE_NATIVE">VIDEO_MODE_NATIVE</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="kbdCommand">
<item-type>String</item-type>
<label>Keyboard Command</label>
<description>Sends a code (KEYBOARD) corresponding to a keyboard key press to the TiVo e.g. A-Z. See Appendix A in
document TCP Remote Protocol 1.1 for supported characters and special character codes. Type: String</description>
<state readOnly="false"/>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="dvrStatus">
<item-type>String</item-type>