xmltv/grab/eu_epgdata build_channel_ids,1.1,1.2
Jan Schneider <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/eu_epgdata
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv24496
Modified Files:
build_channel_ids
Log Message:
Output UTF-8 and only output DVB label if different from regular name.
Index: build_channel_ids
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/eu_epgdata/build_channel_ids,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build_channel_ids 8 Feb 2013 20:00:00 -0000 1.1
--- build_channel_ids 15 Sep 2014 16:57:10 -0000 1.2
***************
*** 1,4 ****
--- 1,5 ----
#!/usr/bin/perl -w
+ binmode(STDOUT, ":utf8");
use XML::LibXML::Reader;
***************
*** 26,30 ****
my $name = $data->findvalue('ch0');
my $dvb = $data->findvalue('ch11');
! $name .= " ($dvb)" if $dvb;
printf("%d;%s;%s\n",
$id,
--- 27,31 ----
my $name = $data->findvalue('ch0');
my $dvb = $data->findvalue('ch11');
! $name .= " ($dvb)" if $dvb && $dvb ne $name;
printf("%d;%s;%s\n",
$id,
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk