| 66 | |
| 67 | === Running Shepherd on a remote system to MythTV === |
| 68 | It is possible to run Shepherd on one system and feed the resulting guide data to your MythTV box. In this case, you should: |
| 69 | 1. Install Shepherd on the remote system. You will be unable to use "Guided" channel selection, and need to make sure that the XMLTV IDs you assign to each channel match those you have specified in MythTV. When Shepherd asks if you want to auto-configure MythTV, say no. |
| 70 | 1. Tell the '''augment_timezone''' component to add timezones to your guide data, which it won't do by default if it can't figure out which version of MythTV you have: |
| 71 | {{{ |
| 72 | tv_grab_au --component-set augment_timezone:timeoffset=Auto |
| 73 | }}} |
| 74 | 1. Periodically run Shepherd. You'll probably want to create a cron job for this, which can simply call "tv_grab_au". This will eventually produce the file ''~/.shepherd/output.xmltv''. You'll need to copy that to your MythTV box somehow. |
| 75 | 1. Have MythTV read in output.xmltv via '''mythfilldatabase'''. The correct format for this command depends on your MythTV version, but currently it is: |
| 76 | {{{ |
| 77 | mythfilldatabase --update --file --sourceid 1 --xmlfile ~/.shepherd/output.xmltv. |
| 78 | }}} |