Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


arnoldstorm

9 posts

Wannabe Geek


#101488 2-May-2012 21:35
Send private message

Does anyone know what the format is for the EPG.txt file saved by the ultraplus units?  Opening it with a standard text editor clearly shows the name of each program and the extended description but lots of other garbage.  How do you extract the date/time & channel info. 
Below is an example of part of my EPG.txt file.  Any help appreciated.

HD110419  ¾N/     ìÚ ìÚ  P8Œ          ONE News At 6pmThe nation's leading team of journalists brings viewers the latest news and sport, plus the most comprehensive weather report.  ¿N/     ìÚìÚ      Vð8Œ           Close UpNew Zealand's most popular daily current affairs programme, hosted by Mark Sainsbury.  ÀN/    ìÚìÚ  m`9Œ      Q    Coronation StreetNatasha feels she has nothing left to live for; Rosie reunites her broken family; and Leanne is Nick's rock.  ¸/    ìÚ    ìÚ  Åð9Œ          TitanicMary finally lets her guard down, enraging her husband Jim. But their argument is set aside when the iceberg strikes, and fear builds in steerage as passengers find themselves behind locked gates.  ¹/        ìÚ
ìÚ  ¾Ð:Œ          Father And SonMichael makes an offer to the police - he will give the police inside information on drugs and gun running in exchange for a reduced sentence for Sean. But Conroy tells him there's a catch.  ÂN/    
ìÚ ìÚ  ?°;Œ          ONE News TonightGreg Boyed and the nation's leading team of journalists bring viewers the latest news and sport, plus the most comprehensive weather report.  »/     ìÚ ìÚ  d`<Œ          RushNew season: Several bombings and an attack on a police helicopter start to form a picture of crime.  ¼/     ìÚ
ìÚ  dà<Œ         

Create new topic
ADKM
860 posts

Ultimate Geek


  #618621 2-May-2012 21:49
Send private message

Hi,

You need to strip out ASCII character values below 31, and other non-alpha characters above 122. This will tidy it up but may never restore the original formatting etc.

Easy to do with a VB macro, or maybe others know a programme to do it.




Cheers - Kirk



arnoldstorm

9 posts

Wannabe Geek


  #619445 4-May-2012 12:36
Send private message

Stripping out these charachters doesnt actually help me, as it appears that this is where the Channel & time data is encoded somehow. I want to decode this data to give something usefull rather than just a list of program descriptions.

cheers

ADKM
860 posts

Ultimate Geek


  #619449 4-May-2012 12:51
Send private message

Then I guess the only way would translate those 'control' characters to what the actually represent or do.
Having the text and the actual output should let you cross reference and see if there's any pattern. Real Bletchley Park stuff !




Cheers - Kirk



rattewisday
203 posts

Master Geek


  #619451 4-May-2012 12:56
Send private message

Assuming it isn't a publically documented format you'll need to reverse engineer it.. looking at it in a text editor won't be any help.  Find a good hex editor and see if you can work out the format.

arnoldstorm

9 posts

Wannabe Geek


  #619787 4-May-2012 19:52
Send private message

Thanks, will give that a go.

cheers

Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.