SaveMythRecording.sh

From LinuxMCE
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