ValidateGrabber(3pm) | User Contributed Perl Documentation | ValidateGrabber(3pm) |
XMLTV::ValidateGrabber - Validates an XMLTV grabber
Utility library that validates that a grabber properly implements the capabilities described at
http://wiki.xmltv.org/index.php/XmltvCapabilities
The ValidateGrabber call first asks the grabber which capabilities it claims to support and then validates that it actually does support these capabilities.
All these functions are exported on demand.
ConfigureGrabber( "./tv_grab_new", "./tv_grab_new.conf" )
ValidateGrabber( "tv_grab_new", "./tv_grab_new", "./tv_grab_new.conf", "/tmp/new_", "./blib/share", 0 )
ValidateGrabber takes the following parameters:
ValidateGrabber returns a list of errors that it found with the grabber. Each error takes the form of a keyword:
Additionally, the list of errors will contain error keywords from XMLTV::ValidateFile if the xmltv-file generated by the grabber was not valid.
If no errors are found, an empty list is returned.
Copyright (C) 2006 Mattias Holmlund.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2023-02-24 | perl v5.36.0 |