SaveMythRecording.sh

From LinuxMCE
Revision as of 03:58, 17 August 2008 by Rwilson131 (Talk | contribs) (New page: Category:LinuxMCEBashScripts {| align="right" | __TOC__ |} ===Location=== * located in /usr/pluto/bin ===Used by=== * used in Pluto to add MythTV recordings to the Database ===Fo...)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Location

  • located in /usr/pluto/bin

Used by

  • used in Pluto to add MythTV recordings to the Database

Format

/usr/pluto/bin/SaveMythRecording.sh %CHANID% %STARTTIME% %DIR% %FILE%

MessageSend

/usr/pluto/bin/MessageSend dcerouter 0 -1001 2 69 29 "$1" 57 "$2" 35 "$3/$4"

Explanation:

  dcerouter - server
  0 - DeviceFrom
  -1000 - DeviceTo 
  2 - MsgType: Event
  69 - MythTV Show Recorded
  The rest are MsgID blocks which require [parmid paramvalue]
  parmid 29 (MythTV ChannelID): paramvalue %CHANID%
  parmid 57 (DateTime): paramvalue %STARTTIME%
  parmid 35 (Name): paramvalue %DIR%/%FILE%
  

For more explanation of MessageSend see this article : MessageSend

Known Issues