If the next recording is in more than 1 day, then switch to showing
it in days and hours, for example "1 Day, 2 Hours".
+ Hrmm, the XML protocol version was wrong for the encoder status,
+ so we incorrectly showed "7" instead of "Recording" for an encoder
+ that was in fact recording.
+
2012-07-06 Andrew Ruthven
Correctly handle UTF-8 in the output from MythTV.
'name' => 'Encoders',
'type' => 'xpath',
'xpath' => "//Status/Encoders/Encoder",
- 'protocol_version' => [ ">= 44", "< 23058" ],
+ 'protocol_version' => [ ">= 44", "< 58" ],
'attrs' => [ qw/hostname id state connected/ ],
'template' => "__hostname__ (__id__) - __state____connected__",
'rewrite' => {
'name' => 'Encoders',
'type' => 'xpath',
'xpath' => "//Status/Encoders/Encoder",
- 'protocol_version' => [ ">= 23058" ],
+ 'protocol_version' => [ ">= 58" ],
'attrs' => [ qw/hostname id state connected/ ],
'template' => "__hostname__ (__id__) - __state____connected__",
'rewrite' => {