https://github.com/mrc/xmltvtotgd
Convert xmltv from icetv to Topfield TGD format
https://github.com/mrc/xmltvtotgd
Last synced: over 1 year ago
JSON representation
Convert xmltv from icetv to Topfield TGD format
- Host: GitHub
- URL: https://github.com/mrc/xmltvtotgd
- Owner: mrc
- License: mit
- Created: 2011-04-07T07:08:13.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-07T07:11:37.000Z (over 15 years ago)
- Last Synced: 2025-02-12T01:17:44.085Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
icetotgd: Convert icetv's guide to Topfield TGD format.
* Running
To run, at the command line:
% python icetotgd.py
This will create a TGD file for every day of data. These TGD files
can then be uploaded to the Topfield (e.g. via Altair or Topfield ftpd)
and used by EPGupload or JustEPG.
* Source code
Source code is available on http://repo.or.cz/w/xmltvtotgd.git where
it can be downloaded (in .tar.gz or .zip format) or cloned (with git)
which I suggest you do if you want to muck around and submit patches.
You can run the unit tests directly
% python test_icetotgd.py
or with nosetests
% nosetests
* License
icetotgd is free open source software covered by the permissive MIT
license. See LICENSE for details.
* Known bugs
** icetv's guide is in UTC, and is crudely converted to AEST,
this needs to be nicer.
** TGD files are appended to - this probably isn't necessary,
because the ice guide is in sequence, but it means they
should be empty or nonexistent before this converter is run.
** The data in TGD files needs to be sorted, something like this:
% for f in *tgd ; sort -n $f > z/$f