Difference between revisions of "XmltvWindowsExecutable"

From XMLTV
Jump to: navigation, search
 
m (remove "common problem", that isn't common (and hasn't been seen for years))
 
Line 1: Line 1:
 
==Windows executable for XMLTV==
 
==Windows executable for XMLTV==
  
The XMLTV software is written in Perl and requires a working Perl installation and several modules. This is asking a lot on Windows, so we have a binary distribution (xmltv.exe) made using a tool from Activestate. (Using Autrijus Tang's packaging tool instead is something we'd like to do but have never quite gotten around to.)
+
The XMLTV software is written in Perl and requires a working Perl installation and several modules. This is asking a lot on Windows, so we have a binary distribution (xmltv.exe) made using the PAR::Packer module.  
  
 
Mostly, you can use it the same way as normal, but instead of ''tvgrabfoo args'' you type ''xmltv.exe tvgrabfoo args''.
 
Mostly, you can use it the same way as normal, but instead of ''tvgrabfoo args'' you type ''xmltv.exe tvgrabfoo args''.
===Common problems===
 
 
If a grabber won't fetch web pages, it could be because of the 'protocols file' in Windows. If you do install perl, you can test with
 
 
perl -MLWP::Simple -e "LWP::Simple::getprint 'http://www.google.com/'"
 
 
If this says "Bad protocol 'tcp'" then probably the file C:\windows\system32\drivers\etc\protocol is bad or missing. Its contents should normally look like
 
 
<pre>
 
# Copyright (c) 1993-1999 Microsoft Corp.
 
#
 
# This file contains the Internet protocols as defined by RFC 1700
 
# (Assigned Numbers).
 
#
 
# Format:
 
#
 
#    [aliases...] 
 
 
ip      0    IP        # Internet protocol
 
icmp      1  ICMP    # Internet control message protocol
 
ggp    3    GGP      # Gateway-gateway protocol
 
tcp    6    TCP      # Transmission control protocol
 
egp    8    EGP      # Exterior gateway protocol
 
pup    12  PUP        # PARC universal packet protocol
 
udp    17  UDP        # User datagram protocol
 
hmp    20  HMP        # Host monitoring protocol
 
xns-idp  22  XNS-IDP  # Xerox NS IDP
 
rdp    27  RDP        # "reliable datagram" protocol
 
rvd    66  RVD        # MIT remote virtual disk
 
</pre>
 
 
You can try to create the file manually, or perhaps try the command:
 
 
netsh int ip reset "c:\log.txt"
 
 
or try to uninstall and reinstall TCP/IP from Control Panel. See [http://sourceforge.net/tracker/?func=detail&atid=424136&aid=901963&group_id=39046 bug #901963].
 

Latest revision as of 01:35, 11 March 2022

Windows executable for XMLTV

The XMLTV software is written in Perl and requires a working Perl installation and several modules. This is asking a lot on Windows, so we have a binary distribution (xmltv.exe) made using the PAR::Packer module.

Mostly, you can use it the same way as normal, but instead of tvgrabfoo args you type xmltv.exe tvgrabfoo args.