Giter Site home page Giter Site logo

xmltv's Introduction

TV guides - XMLTV

This repository keeps XMLTV TV guides up to date in order to be used with the Live TV "PVR IPTV Simple Client/Catch-up TV & More" combo.

Notes

  • Files with _local prefix contain all date and time in local timezone (the one from the grabber)
  • Files without _local prefix contain all date and time in UTC

Developers notes

The update_all_tv_guides.sh can be used to automatically update TV guides files (xxxxx.xml files). The script automatically create a commit with the latest TV guides and it will push the modification on this GitHub repository. This script is executed every night with a cron task but you can trigger it manually on your own computer.

Fonctionnement (only in french ATM)

  • Si on est le jour J (par exemple le 19/06/2020)
  • Toutes les nuits, le script bash update_all_tv_guides.sh est exécuté
  • Ce que fait le script bash (update_all_tv_guides.sh)
    • Pull du dépôt GitHub
    • Suppression des fichiers XMLTV de la racine
    • Pour chaque pays, récupération du programme TV de la journée J+2 (par exemple le 21/06/2020) qu'on place dans le dossier raw
    • Appel du petit script Python (post_treatment.py)
      • Suppression, dans le dossier raw, des programmes TV trop anciens
      • Fusion, pour chaque pays, des programmes TV de chaque jour présents dans le dossier raw
      • Post traitement des programmes TV (découpage par jour, avec heure locale ou UTC, ...)
    • Push sur le dépôt GitHub des modifications

xmltv's People

Contributors

sy6sy2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.