xmltv/grab/sd_json tv_grab_sd_json,1.14,1.15

Kevin Groeneveld <[email protected]> Sun, 03 Jul 2016 17:18:39 +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-serv9555

Modified Files:
	tv_grab_sd_json 
Log Message:
tv_grab_sd_json: Add support for actor role attribute.


Index: tv_grab_sd_json
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/sd_json/tv_grab_sd_json,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tv_grab_sd_json	2 Jul 2016 23:36:31 -0000	1.14
--- tv_grab_sd_json	3 Jul 2016 17:18:37 -0000	1.15
***************
*** 1015,1018 ****
--- 1015,1021 ----
  		elsif($role =~ /(actor|voice)/i) {
  			$key = 'actor';
+ 			if($credit->{'characterName'}) {
+ 				$name = [ $name, $credit->{'characterName'} ];
+ 			}
  		}
  		elsif($role =~ /writer/i) {


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape