xmltv/grab/sd_json tv_grab_sd_json,NONE,1.1

Robert Eden <[email protected]> Sun, 15 May 2016 05:41:17 +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-serv12581/grab/sd_json

Added Files:
	tv_grab_sd_json 
Log Message:
initial load of Kevin Groeneveld's tv_grab_sd_json grabber

--- NEW FILE: tv_grab_sd_json ---
#!/usr/bin/perl -w

my $grabber_cvs_id = '$Id: tv_grab_sd_json,v 1.1 2016/05/15 05:41:15 rmeden Exp $';

=head1 NAME

tv_grab_sd_json - Grab TV listings from Schedules Direct SD-JSON service.

=head1 SYNOPSIS

tv_grab_sd_json --help

tv_grab_sd_json --info

tv_grab_sd_json --version

tv_grab_sd_json --capabilities

tv_grab_sd_json --description
[...1287 lines suppressed...]

	# write channels
	for my $channel (@{$channels}) {
		write_channel($w, $channel_index{$channel}, $channel_map{$channel});
	}

	# write programs
	for my $channel (@{$channels}) {
		for my $schedule (values %{$cache_schedules->{$channel}}) {
			for my $program (@{$schedule->{'programs'}}) {
				write_programme($w, $channel, $program, $cache_programs->{$program->{'programID'}});
			}
		}
	}

	$w->end();
	print STDERR "Done\n" unless $quiet;
}

grab_listings($conf);


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j