Difference between revisions of "SaveMythRecording.sh"

From LinuxMCE
Jump to: navigation, search
(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...)
 
m (SaveMythRecording moved to SaveMythRecording.sh: match existing bash script pages.)
 
(No difference)

Latest revision as of 18:46, 19 August 2008

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