Jump to content

TuneToChannel.sh: Difference between revisions

From LinuxMCE
No edit summary
Venom986 (talk | contribs)
Line 5: Line 5:
* used in MythTV as external channel changing script
* used in MythTV as external channel changing script
===Format===
===Format===
   /usr/bin/pluto/TuneToChannel.sh [device id] [video source id]
   /usr/pluto/bin/TuneToChannel.sh [device id] [video source id]
 
===MessageSend===
===MessageSend===
  /usr/pluto/bin/MessageSend dcerouter 0 254 1 187 68 121 39 18544
  /usr/pluto/bin/MessageSend dcerouter 0 254 1 187 68 121 39 18544

Revision as of 13:21, 15 February 2008

Location

  • located in /usr/pluto/bin

Used by

  • used in MythTV as external channel changing script

Format

 /usr/pluto/bin/TuneToChannel.sh [device id] [video source id]

MessageSend

/usr/pluto/bin/MessageSend dcerouter 0 254 1 187 68 121 39 18544

Explanation:

  dcerouter - server
  0 - DeviceFrom
  254 - DeviceTo (DCT2200 Cable Box)
  1 - MsgType: Command
  187 - Command "Tune To Channel"
  The rest are MsgID blocks which require [parmid paramvalue]
  parmid 68 (Channel Number): paramvalue 121
  parmid 39(XMLTV ID): paramvalue 18544

For more explanation of MessageSend see this article : MessageSend