wolfgangfahl / eitparser Goto Github PK
View Code? Open in Web Editor NEWParser for Event Information Tables
License: GNU General Public License v3.0
Parser for Event Information Tables
License: GNU General Public License v3.0
I have a Vu+ Uno 4kSE running OpenVix and have copied a bunch of recordings with .eit and .meta files across. They don't seem to fully parse correctly.
Have uploaded an example pair of files with .txt appended
When I run the .eit through eitparser I get this as the output :
b'New: Endeavour\xc5New: Endeavour\xc5'
(2023, 3, 12)
b''
I would expect to get something more like I have in the .meta file where the name field is "New: Endeavour" and the description field is "Uniform: Crime drama series. A crime wave..." :
New: Endeavour
Uniform: Crime drama series. A crime wave has taken hold of Oxford - a homeless man is grievously assaulted, a young PC is found dead, and a notable artist reported missing. [AD,S,HD] S9 Ep2
(2023, 3, 12)
I've added an 'eng' language entry to eitparser.py but that doesn't change the result. I wondered if :s or []s were problematic characters? Other files parse with xbd rather than xc5 etc. but most seem to have the b'' ?
It looks as if the UK (or at least the UK DVB-S/S2) EIT format uses the short_event_descriptor format with both the Event_name: and the Text: fields used - and there is an 0x15 character before both Event_name and Text fields start?
20230305 1957 - ITV London HD - New_ Endeavour.ts.meta.txt
20230312 1957 - ITV London HD - New_ Endeavour.eit.txt
Dear Mr. Fahl,
I have corrected some things in the eitparser.py.
If you want you can update the changes in your version.
Please ignore the line 37:
sys.stdout.reconfigure(encoding='utf-8')
I needed this because I use the program in a pipe within a powershell script.
Before the virtual console characterset was cp1252 and special characters were not shown correctly.
With best regards
Martin Rupp
using 2to3
Probably it is possible that also the information from *.meta are used?
Great would be when you could publish your software as an addon for Kodi to provide information about the recorded DVB shows. Currently such a feature / addon don't exist.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.