Re: Transition from tv_grab_uk_rt to tv_grab_sd_json

Kevin Groeneveld <[email protected]> Mon, 6 Jun 2016 21:04:53 -0400
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <CABF+-6VHVkUshev1=LbYEB=sKR1xPc3G6MRaFR3u0YgLKMEwaQ@mail.gmail.com>
On Mon, Jun 6, 2016 at 12:33 AM, Robert Eden <[email protected]> wrote:

> On 6/5/2016 3:21 PM, Kevin Groeneveld wrote:
>
> On Sun, Jun 5, 2016 at 2:19 PM, Kevin Groeneveld <[email protected]>
> wrote:
>
>> (Since I'm on MythTV 0.24 I also put
>>> back the $previously_shown{'start'} = $dt->strftime('%Y%m%d%H%M%S %z');
>>> line that was changed to '%Y%m%d' in XMLTV 0.5.68.)
>>>
>>
>> I have been planning on adding a config option to specify the previously
>> shown date format to address this but have not gotten to it yet.
>>
>
> I just committed a change that allows the previously-shown format to be
> configured for date only or date and time.
>
>
> Does SD-JSON ever report a time for previously-shown?  You shouldn't
> report more precision than the data source.
>

SD-JSON does not ever report a time (at least not that I have seen) so in
general I agree that the XMLTV output should not include a time. However,
older version of MythTV do not work correctly if the time is left out.
This is technically a problem with MythTV and not tv_grab_sd_json and you
could argue that people should just upgrade their MythTV version.  But
MythTV can be more difficult to update than other software as there are so
many hardware quirks and dependencies to deal with.  In this case I think
it is reasonable to add an option to accommodate older version of MythTV as
long as the default gives the technically correct output.


Kevin

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e

_______________________________________________
xmltv-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmltv-users