Hello can someone up the new working script or a link ... I am having some real problems mod'ng it .I am no programming guru so I am not sure how/what to change or if I have the same script you guys are using :)
many thanx :) Mary -----Original Message----- From: David Collett <[EMAIL PROTECTED]> To: Matthew Phillips <[EMAIL PROTECTED]> Cc: Discussion about mythtv <[email protected]> Date: Tue, 2 Aug 2005 22:31:54 +1000 Subject: Re: [mythtv-users] tv_grab_au script from this list. Anyone elsehadproblems today? > > My solution ended up being minus the "$link =~ s/&.+//g; #&" and the > > last two "$pid =~ s/(\d*).*/$1/;" lines. Am I missing something? > > Nah, dont think so. The point was that the pid ends with either an '&' > or a ' '. However you split it up it doesnt really matter as long as > you end up with the raw number in the end. I'm not even sure all the > lines in my patch are necessary, I wrote them one at a time until it > worked, and didnt bother to check over it afterwards :) > > I think the script could be made much more resilient to small changes > like this. I mean, the variable name didn't even change, so if the > parser tokenised stuff in a smarter (html aware) way in the first > place this would not have broken at all. (though the closeup => cu > thing would still have killed it). > > It would have been easier to fix if it was better documented and/or > written in a real language like python :) > > Dave > _______________________________________________ > mythtv-users mailing list > [email protected] > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
