xmltv/grab/sd_json tv_grab_sd_json,1.6,1.7
Kevin Groeneveld <[email protected]> Thu, 26 May 2016 23:36:14 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/sd_json
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3928
Modified Files:
tv_grab_sd_json
Log Message:
tv_grab_sd_json: Add support for program duration (not just for movies).
Previously the JSON feed only included duration for movies but it is now
supported for all programs.
Index: tv_grab_sd_json
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/sd_json/tv_grab_sd_json,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tv_grab_sd_json 26 May 2016 23:32:27 -0000 1.6
--- tv_grab_sd_json 26 May 2016 23:36:12 -0000 1.7
***************
*** 1039,1043 ****
sub get_program_length {
my ($details) = @_;
! my $duration = $details->{'movie'}->{'duration'};
if($duration) {
--- 1039,1043 ----
sub get_program_length {
my ($details) = @_;
! my $duration = $details->{'duration'} || $details->{'movie'}->{'duration'};
if($duration) {
------------------------------------------------------------------------------
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