[QPKG] XMLTV (arm-x19, x86, x86_64)

Silas Mariusz

rm -rf /
Help us, GOD!
5 Kwiecień 2008
10 210
31
2 314
153
39
Nowy Sącz
forum.qnap.net.pl
QNAP
TS-x77
Ethernet
1 GbE
[Description]
XMLTV is a set of Perl scripts which grab the TV listings from various sources and provide a standard XML output.
It can be used to provide the TV listings to TVHeadend for example, but you can use it separately too (from the command line).

[Important notes]
  • The QPKG contains all the grabbers and utilities of the XMLTV 0.5.61 package, except tv_grab_jp (because it requires different charsets) and tv_check (because it requires an X server which is not available on the NAS, so it would be useless).
  • If you use this package with TVHeadend, and the TVHeadend EPG is not updated with the listings it may be a problem of the grabber which doesn't provide the stop attribute (necessary for TVHeadend), such as:
    Kod:
    <programme start="20120105230500 +0100" channel="www.italia1.com">
      <title lang="it">NIKITA</title>
      <sub-title lang="it">CUSTODE/ RESISTENZA</sub-title>
    </programme>
    You will detect this situation also by looking on the TVHeadend system log on the bottom of the web UI; a message like this will appear:
    Kod:
    Dec 30 17:08:08 xmltv: Grabbing "Italy" using command "/usr/bin/tv_grab_it"
    Dec 30 17:09:23 xmltv: /usr/bin/tv_grab_it: Parsing completed. XML contained 1 channels, 339 events, 0 new events injected in EPG
    The critical point is the sentence "0 new events injected in EPG"; starting from version v0.3 of the QPKG, to solve this issue, I've included a script created by stif (a user of TVHeadend forum).

    To use it, you will have to first configure your favourite grabber, then configure tv_grab_script itself to use your favourite grabber and then select Pipe your configured grabber through 'tv_sort' from the XML-TV Source drop-down box in TVHeadend.
    This script will add the proper sort attributes by sorting the listings and pass the correct XML to TVHeadend which will then output:
    Kod:
    Dec 30 17:09:40 xmltv: Grabbing "Pipe your configured grabber through 'tv_sort'" using command "/usr/bin/tv_grab_script"
    Dec 30 17:11:04 xmltv: /usr/bin/tv_grab_script: Parsing completed. XML contained 1 channels, 339 events, 311 new events injected in EPG
  • This is in BETA, please provide feedback.

[System Requirements]
A QNAP x86, x86_64 or ARM-x19.

[Installation]
  • Download and install the attached QPKG (for your platform)
  • After installing, run your favorite grabber with the "--configure" parameter, for example:
    Kod:
    # tv_grab_it --configure
    This will save the configuration inside the virtual folder /root/.xmltv/ so you can edit the channel list from there. Obviously that folder is symlinked so your settings will survive a reboot.
  • Then you can run the grabber by typing it directly on the command line.
  • If you want to use it inside TVHeadend, first configure the grabber as stated before; then select it from the drop-down box on the TVHeadend XMLTV tab.

[Downloads]
Version 0.3 (XMLTV 0.5.61)
INTEL x86 and X86_64 - Download
ARM x19 - Download

[Release history]
v0.3 (30/12/2011) - Fixed the missing /conf folder bug of v0.2 (thanks to 321liftoff for reporting); generated intermediate Bash scripts run_tv_grab_* to load the correct libraries and avoid 'libxml version' warnings with some grabbers; added tv_grab_script grabber for interfacing with TVHeadend correctly (thanks to gfcom for reporting the issue, see "Important notes" above for details).
v0.2 (27/12/2011) - Removed x86_64 version (now merged with x86) and fixed /share/homes and share folder issues (thanks to meshuga for testing & reporting).
v0.1 (24/12/2011) - Initial release.
 
  • Lubię to
Reakcje: QNAP
Widzę że program pojawił się na QnapClub.

Powiesz proszę czy tym narzędziem istnieje możliwość wyciągnięcia EPG z Cyfrowego Polsatu?

Wiem ze ostatnio dałeś źródła EPG ale nie zawierają informacji o programach dla starszych widzów.
 

Użytkownicy znaleźli tą stronę używając tych słów:

  1. https://forum.qnap.net.pl/threads/qpkg-xmltv-arm-x19-x86-x86_64.1974/
  2. xmltv