81 | | |
82 | | |
83 | | === What is autorefresh? === |
84 | | When it's been more than 4 hours but less than 22 hours since the last run, Shepherd will switch into autorefresh mode, gathering data for the current day only. It will output the result via STDOUT, as usual, and create the file ~/.shepherd/refresh.xmltv. This allows Shepherd to catch last-minute schedule changes. It tends to complete very quickly (for Shepherd), since even the slower grabbers are usually able to quickly verify if there have been any time or title changes since they last ran. |
85 | | |
86 | | If you don't wish Shepherd to enter autorefresh mode, send the --noautorefresh option. |
87 | | |
88 | | Shepherd will '''not''' enter autorefresh mode if you specify a number of --days, since this would require overriding your preference. But if you are happy for Shepherd to override it during autorefreshes only, send --allowautorefresh. |
89 | | |
90 | | Autorefresh does not touch the default output.xmltv file, so functions such as '''--refill-mythtv''' will use your last full successful run, not any subsequent autorefresh. You may wish to override this if you want to be able to rely on output.xmltv always containing the latest data, regardless of whether it's a single day's data or a week's. If so, use '''--output'''. For example, to always output into output.xmltv, even autorefreshes: |
91 | | {{{ |
92 | | tv_grab_au --output ~/.shepherd/output.xmltv |
93 | | }}} |
94 | | In that case, you would probably want to set it as a default option, i.e.: |
95 | | {{{ |
96 | | tv_grab_au --component-set shepherd:output=output.xmltv |
97 | | }}} |
98 | | Or to refill MythTV will the latest autorefresh data, rather than the latest full run: |
99 | | {{{ |
100 | | tv_grab_au --refill-mythtv --output ~/.shepherd/refresh.xmltv |
101 | | }}} |
| 254 | }}} |
| 255 | |
| 256 | |
| 257 | === What is autorefresh? === |
| 258 | When it's been more than 4 hours but less than 22 hours since the last run, Shepherd will switch into autorefresh mode, gathering data for the current day only. It will output the result via STDOUT, as usual, and create the file ~/.shepherd/refresh.xmltv. This allows Shepherd to catch last-minute schedule changes. It tends to complete very quickly (for Shepherd), since even the slower grabbers are usually able to quickly verify if there have been any time or title changes since they last ran. |
| 259 | |
| 260 | If you don't wish Shepherd to enter autorefresh mode, send the --noautorefresh option. |
| 261 | |
| 262 | Shepherd will '''not''' enter autorefresh mode if you specify a number of --days, since this would require overriding your preference. But if you are happy for Shepherd to override it during autorefreshes only, send --allowautorefresh. |
| 263 | |
| 264 | Autorefresh does not touch the default output.xmltv file, so functions such as '''--refill-mythtv''' will use your last full successful run, not any subsequent autorefresh. You may wish to override this if you want to be able to rely on output.xmltv always containing the latest data, regardless of whether it's a single day's data or a week's. If so, use '''--output'''. For example, to always output into output.xmltv, even autorefreshes: |
| 265 | {{{ |
| 266 | tv_grab_au --output ~/.shepherd/output.xmltv |
| 267 | }}} |
| 268 | In that case, you would probably want to set it as a default option, i.e.: |
| 269 | {{{ |
| 270 | tv_grab_au --component-set shepherd:output=output.xmltv |
| 271 | }}} |
| 272 | Or to refill MythTV will the latest autorefresh data, rather than the latest full run: |
| 273 | {{{ |
| 274 | tv_grab_au --refill-mythtv --output ~/.shepherd/refresh.xmltv |