My software

May 24 2009

TV Movie programme for XMLTV, version 1.2

Filed under: tvmovieThiton at 19:24

I've recently taken the time to scan the remaining channel numbers for additional channels like Premiere and Comedy Central, to write autoconf and automake files for this grabber to ease installation, and to write a standard XMLTV grabber script. All in all, this grabber can now be used like a standard XMLTV grabber.

Download current version 1.2 of the tv_grab_de_tvmovie_clickfinder grabber

Flattr this

22 comments

  1. Seems to require manual intervention when running. Mine
    got stuck with:
    
    replace /tmp/tv_grab_de_tvmovie_clickfinder-mythtv/091.tv1?
    [y]es, [n]o, [A]ll, [N]one, [r]ename:
      

    comment by Steltek — Jun 15 at 13:59

  2. @Steltek
    
    Changed line 46 from
    
    system("unzip", "-q", "-P", '�������', "-d",
    "$tempdir",
    
    to
    
    system("unzip", "-q", "-o", "-P", '�������',
    "-d", "$tempdir",
    
    "-o" tells unzip to overwrite files without question.
      

    comment by Mike H. — Sep 8 at 17:59

  3. I always get zhis error, as i try to run the grabber. What
    is my fault?
    
     sh: xmllint: not found
    Unable to open
    /tmp/tv_grab_de_tvmovie_clickfinder-username/*.tv[1-2]
      

    comment by Bernd — Mar 30 at 10:12

  4.  Hi,
    
    somehow I can't get it to build. I run
    ./configure
    
    in the directory, where the files are and get the
    following:
    
    checking for a BSD-compatible install... /usr/bin/install
    -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... no
    checking for c++... no
    checking for gpp... no
    checking for aCC... no
    checking for CC... no
    checking for cxx... no
    checking for cc++... no
    checking for cl.exe... no
    checking for FCC... no
    checking for KCC... no
    checking for RCC... no
    checking for xlC_r... no
    checking for xlC... no
    checking for C++ compiler default output file name... 
    configure: error: in `/home/roland/tvmovie-xmltv-1.2':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details.
    
    Any idea?
    
    Thks,
    
    Roland
      

    comment by Roland — Apr 22 at 21:10

  5. Dear Roland,
    
    you might simply be lacking a C++ compiler. On most
    distributions, the gcc package provides one. Have you
    tried installing it?
    
    Best regards, Thiton
      

    comment by Thiton — Apr 22 at 22:33

  6. Dear Bernd,
    
    your system seems to lack the xmllint program. On
    Debian-based systems (e.g. Ubuntu), it is provided by the
    libxml2-utils package.
    
    Best Regards, Thiton
      

    comment by Thiton — Apr 22 at 22:35

  7.  yes, gcc is installed and up to date...
      

    comment by Roland — Apr 26 at 22:37

  8.  Hey,
    
    I also get this error:
    Unable to open
    /tmp/tv_grab_de_tvmovie_clickfinder-kai/*.tv[1-2]
    
    -:1: parser error : Document is empty
    
    ^
    -:1: parser error : Start tag expected, '<' not found
    
    ^
    I/O error : Invalid seek
    
    I can see this directory created and deleted.
    Any hints?
      

    comment by Kai — Apr 27 at 19:01

  9. @Kai:
    Check the install of unzip.
    I had the same failure and I tried to analyze the
    grab-script.
      

    comment by Frank — May 3 at 21:37

  10.  Hi,
    I don't have any EPG Data for prosieben and kabel1 but
    they are listed in the config file. Do you have any ideas?
    How can I add zdf_info?
      

    comment by uli — May 7 at 09:59

  11.  Hi guys,
    I suggest to put (at least) xmllint and unzip in the
    dependacies of configure. Even better put a check for them
    before there execution and give a more explanatory error
    message...
    Cheers,
    MadMud
      

    comment by MadMud — Jun 27 at 12:28

  12. thx
      

    comment by thx — Aug 29 at 23:24

  13.  How do I actually use this script?
    I want to see the programs in "FreeGuide".
    How do I add a xmltv grabber with this script?
      

    comment by Dodo — Jan 4 at 20:28

  14. I seem to be having trouble downloading the listings
    data. When I run mythfilldatabase, I get several messages
    like this:
    [/tmp/tv_grab_de_tvmovie_clickfinder-htpc/tvdaten-free-040.cftv]
    
      End-of-central-directory signature not found.  Either
      this file is not
      a zipfile, or it constitutes one disk of a multi-part
      archive.  In the
      latter case the central directory and zipfile comment
      will be found on
      the last disk(s) of this archive.
    unzip:  cannot find zipfile directory in one of
    /tmp/tv_grab_de_tvmovie_clickfinder-htpc/tvdaten-free-040.cftv
    or
            /tmp/tv_grab_de_tvmovie_clickfinder-htpc/tvdaten-free-040.cftv.zip,
            and cannot find
            /tmp/tv_grab_de_tvmovie_clickfinder-htpc/tvdaten-free-040.cftv.ZIP,
            period.
    
    I checked the /temp directory while running mythfill
    and—yep—there are no such files in there.
    
    After those messages, I get some that say:
    
    
    Unknown country SLOWAK
    Unknown country SLOWAK
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    Unknown country UNG
    ...and so on.
    
    Of course, the channels I need info for don't get it.
    Do you have an idea of what I did wrong or am doing wrong?
      

    comment by rafe — Jan 5 at 12:47

  15.  Just a little update:
    A few are working—Sat1, N24, Eurosport, and CNN.
    Most of the other channels work with off-the-air info,
    so of the ones the grabber should be getting, there are
    just a few, e.g., Kabel eins, Sixx and Pro sieben. I'd be
    happy to just get these working. The rest are either news
    or music channels.
      

    comment by rafe — Jan 5 at 13:38

  16. Hello!
    Since a few days I encounter a error while using
    tv_grab_de_tvmovie_clickfinder:
    
    -:82268: parser error : Char 0x0 out of allowed range
    �stadtrevier / Wortwechsel - Wie geht's eigentlich ...? /
    Wortwechsel - Wie geht
                                                                                   ^
                                                                                   
    -:82268: parser error : Premature end of data in tag
    sub-title line 82268
    
    There seems to be a problem with the german character
    ß. But disabling the channel sending that show
    (channel=swr.de) does solve the problem. 
    
    Any ideas how to solve this?
      

    comment by Walter — Jan 23 at 11:52

  17. Hello!
    Since a few days I encounter a error while using
    tv_grab_de_tvmovie_clickfinder:
    
    -:82268: parser error : Char 0x0 out of allowed range
    �stadtrevier / Wortwechsel - Wie geht's eigentlich ...? /
    Wortwechsel - Wie geht
                                                                                   ^
                                                                                   
    -:82268: parser error : Premature end of data in tag
    sub-title line 82268
    
    There seems to be a problem with the german character
    ß. But disabling the channel sending that show
    (channel=swr.de) does solve the problem. 
    
    Any ideas how to solve this?
      

    comment by Walter — Jan 23 at 11:52

  18. It seemed like things were working okay. I was getting
    program information for some channels, but now I'm not
    getting any from the grabber (just the off-the-air info
    is working).
    There are some messages that concern me when I run
    mythfilldatabase manually:
    
    2011-02-02 18:23:45.779 Connected to database 'mythconverg'
    at host: localhost
    2011-02-02 18:23:46.243 Updating source #1 (SatTV) with
    grabber tv_grab_de_tvmovie_clickfinder
    2011-02-02 18:23:46.245 Found 51 channels for source 1
    which use grabber
    2011-02-02 18:23:46.884 Grabber has capabilities: baseline
    manualconfig apiconfig preferredmethod 
    2011-02-02 18:23:47.532 Grabber prefers method: allatonce
    2011-02-02 18:23:47.532 New DB connection, total: 3
    2011-02-02 18:23:47.534 Connected to database 'mythconverg'
    at host: localhost
    2011-02-02 18:23:47.535 XMLTV config file is:
    /home/htpc/.mythtv/SatTV.xmltv
    2011-02-02 18:23:47.535 New DB connection, total: 4
    2011-02-02 18:23:47.536 Connected to database 'mythconverg'
    at host: localhost
    Unable to open
    /tmp/tv_grab_de_tvmovie_clickfinder-htpc/*.tv[1-2]
    
    -:1: parser error : Document is empty
    
    ^
    -:1: parser error : Start tag expected, '<' not found
    
    ^
    I/O error : Invalid seek
    2011-02-02 18:23:48.292 Error in 1:1: unexpected end of
    file
    
    2011-02-02 18:23:48.292 IconData: Updating icons for
    sourceid: 1
    2011-02-02 18:23:48.292 New DB connection, total: 5
    2011-02-02 18:23:48.293 Connected to database 'mythconverg'
    at host: localhost
    2011-02-02 18:23:48.295 No programs found in data.
    2011-02-02 18:23:48.298 Data fetching complete.
    
    and then it goes on as normal from there.
      

    comment by rafe — Feb 2 at 18:30

  19. Hello Walter,
    
    thanks for the report. The issue seems to have gone away in
    the meantime (i.e. I can grab data for SWR on my system),
    and doesn't seem to be only ß-related. We'll probably
    have to wait until this kind of problem surfaces again.
    
    Could you save the tv1/tv2 files (in the /tmp/-grabber
    directory) for me next time?
    
    Best regards, Thiton
      

    comment by Thiton — Feb 5 at 12:55

  20. Hi Rafe,
    
    can you run the grabber manually (i.e. copy ~htpc/.xmltv
    into your home and run tv_grab_de_tvmovie_clickfinder)? Any
    errors there?
      

    comment by Thiton — Feb 5 at 12:59

  21. Hi!
    
    I've got the same problem as rafe and I can run the grabber
    manually.
    
    As a workaround I run this daily with cron: 
    
    /usr/local/bin/tv_grab_de_tvmovie_clickfinder >
    /tmp/tvmovie.xml && /usr/bin/mythfilldatabase --file
    [Source-ID] /tmp/tvmovie.xml && rm /tmp/tvmovie.xml
    
    where [Source-ID] is the source ID configured in
    mythtv. You can get that ID from the output of
    mythfilldatabase.
    
    I hope this helps someone...
      

    comment by zerophyn — Feb 25 at 17:05

  22. Hi!
    
    I've got the same problem as rafe and I can run the grabber
    manually.
    
    As a workaround I run this daily with cron: 
    
    /usr/local/bin/tv_grab_de_tvmovie_clickfinder >
    /tmp/tvmovie.xml && /usr/bin/mythfilldatabase --file
    [Source-ID] /tmp/tvmovie.xml && rm /tmp/tvmovie.xml
    
    where [Source-ID] is the source ID configured in
    mythtv. You can get that ID from the output of
    mythfilldatabase.
    
    I hope this helps someone...
      

    comment by zerophyn — Feb 25 at 17:07

Comment

TextMixedHTML

Valid XHTML Strict 1.0 Valid Atom Design by Northern Web Coders