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.



20 posts

Geek


Topic # 123417 6-Jul-2013 18:42 Send private message

Im wondering if there is any current options for getting an epg for eyetv in NZ.

I used a script to get and epg from nzepg.org for years but then the site disappeared. Then the past few months I've been using gracenote which was great but now are asking for 20 pounds a month to continue it. Would love to know if there are any other options currently.

I've had a look around and there doesn't seem to be any that I could find. 

I found this: http://www.geekzone.co.nz/forums.asp?forumid=126&topicid=79270 but it was a few years ago an don't know if it will work.

Any ideas?

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
BDFL
49938 posts

Uber Geek
+1 received by user: 4624

Administrator
Trusted
Geekzone
Subscriber

  Reply # 850228 6-Jul-2013 18:50 Send private message

Are you running this on a Mac?






20 posts

Geek


  Reply # 850232 6-Jul-2013 18:54 Send private message

yes. osx 10.8.3

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 850248 6-Jul-2013 19:35 Send private message

The address has moved, here is an automator workflow I use to generate an xml file in dropbox:

https://www.dropbox.com/s/bnq5tgwkc85a61n/Eyetv%20-%20EPG.zip

Feel free.

Jon

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 850249 6-Jul-2013 19:37 Send private message

Forgot to say the epg collector runs really badly on osx through Mono so I dont bother.

Jon



20 posts

Geek


  Reply # 850333 7-Jul-2013 09:37 Send private message

thats great thanks. Any chance I could get you to walk a novice through out to use that file?

Cheers
Nat

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 850338 7-Jul-2013 09:47 Send private message

Open it in Automator (great site here www.automator.us). Automator is a really simple visual workflow manager, which is super helpful for automating tasks in OSX.

Has a few components:

Delete existing freeview.xml file at specified location [change this if you like].
Download replacement freeview.xml file to same location [change this if you like].
[In here you could add then opening the file with EyeTV]

Save as a workflow then save as an application.

Every time you open Eyetv it follows the routine above so you have a fresh epg. I was running it on a Cron (scheduled) job every night on another mac and was syncing via dropbox.

I have a separate automator which picks up the file everytime I open Eyetv.

Hope this helps.

Jon

34 posts

Geek
+1 received by user: 1

Subscriber

  Reply # 872626 6-Aug-2013 12:31 Send private message

jonherries: Forgot to say the epg collector runs really badly on osx through Mono so I dont bother.

Jon


That has not been my experience, I assume you are referring to the EyeTV EPG Parser plugin which uses Mono with the EPG Collector to create the XMLTV file of about 1.7 Million characters, 210 thousand words, 33 thousand lines in about 20sec every character, word, and line correct, several times a week for over 2 years, not bad, Microsoft would probably not do it much better.


The main problem with this plugin seems to be how it integrates  with Eye TV, when it runs, starts, stops, terminates, etc, which has nothing to do with Mono, which is only used for about 20sec of the 100sec plugin run time. 


I worked around this with the AppleScript below, you could probably use Automator to do the same thing.


tell application "EyeTV"
activate
delay 2
quit
end tell
set UserName to short user name of (get system info)
tell application "Finder"
activate
move folder "Plugins" of folder "Public" of folder UserName of folder "Users" of startup disk to folder "EyeTV" of folder "Application Support" of folder "Library" of startup disk
delay 2
end tell
tell application "EyeTV"
activate
delay 2
show channel "PARLIAMENT"
delay 74
close window "EyeTV - 13 PARLIAMENT"
delay 24
quit
end tell
tell application "Finder"
activate
move folder "Plugins" of folder "EyeTV" of folder "Application Support" of folder "Library" of startup disk to folder "Public" of folder UserName of folder "Users" of startup disk
delay 2
end tell
tell application "EyeTV"
activate
end tell


To use this put the Plugins folder with the  EyeTV EPG Parser plugin in the user Public folder NOT where the  EyeTV EPG Parser plugin read me details
Change PARLIAMENT in the AppleScript to the name you have in the EyeTV programs window and 13 PARLIAMENT to name of the live window, you don’t have to use this channel but dump < 100000 packets vs > 400000 packets TV 1 also a lot less CPU.
Uncheck box “Always open Live TV window at start up” in EyeTV Preferences.
Show EyeTV Programs window at start up.


EyeTVEPGParser - GitHub


Download - Mono Runtime 2.10.11


Using OSX 10.8.4 2.4 GHz Intel Core 2 Duo


I also have an  AppleScript that adds Categories and channel numbers to the XMLTV file for a full colour EPG in Eye TV and to work well with the “TV Grid Listings” App on a iPad, this  AppleScript uses  TextWrangler.

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 872657 6-Aug-2013 13:18 Send private message

400000 packets TV 1 also a lot less CPU.

I think I found my problem...Thanks for that and for the applescript, will give it a lash tonight.

Jon

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 872909 6-Aug-2013 21:38 Send private message

Hi Doug3

Did some trimming/timing adjustment of the script you have placed above, and found a more reliable call (or so it appears on my machine) to close the live tv window: "hide player_window"

https://dl.dropboxusercontent.com/u/1828007/Grab%20EPG.scpt

I found the Mono problem was reproducible if I closed the live tv window too quickly or ran the plugin constantly. The process ramps to about 150% and then needs to be killed manually.

However I can attest that it is now working on my c2d MB running 10.8.4.

I would love to see the other script if you don't mind.

Jon

34 posts

Geek
+1 received by user: 1

Subscriber

  Reply # 873312 7-Aug-2013 16:14 Send private message

Well here it is, you can delete the parts you don't need if only using it for EyeTV, about 50sec to run as is.

set UserName to short user name of (get system info)
tell application "Finder"
activate
open document file "TVGuide.xml" of folder "EyeTV" of folder "Application Support" of folder "Library" of folder UserName of folder "Users" of startup disk using application file "TextWrangler.app" of folder "Applications" of startup disk
end tell
tell application "TextWrangler"
activate
replace "   </rating>" using "" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "   <rating>" using "" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "</programme>" using "<category>Documentary</category>  </programme>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*REPLACE NAME AND NUMBER CHANNELS *)
replace ">TV ONE</display" using ">1 One</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV2</display" using ">2 Two</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV3</display" using ">3 Three</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">FOUR</display" using ">4 Four</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Maori Television</display" using ">5 Maori</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">U</display" using ">6  U</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV ONE plus 1</display" using ">7 One+1</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV3 PLUS1</display" using ">8 Three+1</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">C4</display" using ">9  C4</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">PRIME</display" using ">10 Prime</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Trackside</display" using ">11 Trackside</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">ChoiceTV</display" using ">12 Choice</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Sommet Sports</display" using ">14 Sommet Sports</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">The Shopping Channel</display" using ">18 Shopping</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "name>Parliament" using "name>22 Parliament" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">CUE</display" using ">23 CUE</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Firstlight</display" using ">26 Firstlight</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">ChineseTV</display" using ">28 Chinese</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV9</display" using ">29 TV9</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">tvCentral</display" using ">30 Central</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TVCentral</display" using ">30 Central</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV Rotorua</display" using ">31 Rotorua</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Info-Rotorua</display" using ">32 Info Rotorua</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">TV33</display" using ">33 TV33</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Channel North</display" using ">35 North</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "name>Dunedin" using "name>39 Dunedin" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "name>Canterbury" using "name>40 Canterbury" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "name>Television Hawk" using "name>48 Hawk" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Radio NZ National</display" using ">50 National</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">Radio NZ Concert</display" using ">51 Concert</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace ">BaseFM</display" using ">71 BaseFM</display" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(* ADD CATEGORY FOR HD, DD 5.1, CAPTIONED, AND RATINGS G, PGR, AO *)
replace "</video>" using "</video> <category>HD</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "</audio>" using "</audio> <category>DD 5.1</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "<subtitles" using " <category>Captioned</category> <subtitles" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "  <value>G</value>" using "<category>Series G</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "  <value>PGR</value>" using "<category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "  <value>AO</value>" using "<category>Movie AO</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY FOR NEWS ALL CHANNELS*)
replace "News</title>" using "News</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Weather</title>" using "Weather</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Kaea</title>" using "Kaea</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace " 6pm</title>" using " 6pm</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "30</title>" using "30</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Karere</title>" using "Kaere</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Report</title>" using "Report</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Breakfast</title>" using "Breakfast</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Hours</title>" using "Hours</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Hour</title>" using "Hour</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Midday</title>" using "Midday</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Today</title>" using "Today</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Tonight</title>" using "Tonight</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Nightline</title>" using "Nightline</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Edition</title>" using "Edition</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Firstline</title>" using "Firstline</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Checkpoint</title>" using "Checkpoint</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Network</title>" using "Network</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Report</title>" using "Report</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Diary</title>" using "Diary</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "News Live</title>" using "News Live</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Newsweek</title>" using "Newsweek</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "News Update</title>" using "News Update</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ation TV</title>" using "ation TV</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "N2K</title>" using "N2K</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Journal</title>" using "Journal</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "hour</title>" using "hour</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Bay</title>" using "Bay</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Attractions</title>" using "Attractions</title>  <category>News</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY FOR MUSIC ALL CHANNELS*)
replace "Blender</title>" using "Blender</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "C42</title>" using "C42</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "21</title>" using "21</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ri Television</title>" using "ri Television</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Peace</title>" using "Peace</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Music</title>" using "Music</title>  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY FOR SPORT ALL CHANNELS*)
replace "Infomercials</title>" using "Infomercials</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Sportsworld</title>" using "Sportsworld</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Wild</title>" using "Wild</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "o Deal</title>" using "o Deal</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Rugby:</title>" using "Rugby:</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "hlights</title>" using "hlights</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Fishing</title>" using "Fishing</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "4WDTV</title>" using "4WDTV</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "NBA</title>" using "NBA</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Sports Scene</title>" using "Sports Scene</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Riiki UK</title>" using "Riiki UK</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Rugby</title>" using "Rugby</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ld Series</title>" using "ld Series</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "et Series</title>" using "et Series</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace " vs.</title>" using " vs.</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "eague</title>" using "eague</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Round</title>" using "Round</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ts World</title>" using "ts World</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Vs</title>" using "Vs</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Football</title>" using "Football</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "rs New</title>" using "rs New</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "2013</title>" using "2013</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Cup</title>" using "Cup</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Shield</title>" using "Shield</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "2...</title>" using "2...</title>  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY ALL PROGRAMMES ON SINGLE CHANNAL*)
(*SOMMET SPORTS*)
replace "channel=\"1415\">" using "channel=\"1415\">  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*TRACKSIDE*)
replace "channel=\"1402\">" using "channel=\"1402\">  <category>Sport</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*SHOPPING*)
replace "channel=\"1304\">" using "channel=\"1304\">  <category>Movie AO</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*CONCERT*)
replace "channel=\"2001\">" using "channel=\"2001\">  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*BASEFM*)
replace "channel=\"2002\">" using "channel=\"2002\">  <category>Music</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY CHILDRENS CHANNAL TWO MONDAY TO FRIDAY*)
replace "o Dollar</title>" using "o Dollar</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace " Friends</title>" using " Friends</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Tiki Tour</title>" using "Tiki Tour</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Flapjack</title>" using "Flapjack</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "l Masters</title>" using "l Masters</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Train</title>" using "Train</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Love You</title>" using "Love You</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "n Sam</title>" using "n Sam</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Bird Bath</title>" using "Bird Bath</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Mr Men</title>" using "Mr Men</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Junction</title>" using "Junction</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "epants</title>" using "epants</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Panda</title>" using "Panda</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Doo</title>" using "Doo</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "The Knight</title>" using "The Knight</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Incorporated</title>" using "Incorporated</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Franklin</title>" using "Franklin</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Barnyard</title>" using "Barnyard</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Stuffins</title>" using "Stuffins</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Grizzly Tales</title>" using "Grizzly Tales</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "White</title>" using "White</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Supernormal</title>" using "Supernormal</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Hooks</title>" using "Hooks</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Awesome</title>" using "Awesome</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "mers Prime</title>" using "mers Prime</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*CHILDRENS CHANNAL TWO SATURDAY AND SUNDAY*)
replace "Oso</title>" using "Oso</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Pocoyo</title>" using "Pocoyo</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Manny</title>" using "Manny</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Falls</title>" using "Falls</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "gascar</title>" using "gascar</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Rex</title>" using "Rex</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "The Bold</title>" using "The Bold</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Justice</title>" using "Justice</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Luther</title>" using "Luther</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Clubhouse</title>" using "Clubhouse</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Roundabout</title>" using "Roundabout</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Now?</title>" using "Now?</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ure Time</title>" using "ure Time</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Titan</title>" using "Titan</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Tunes Show</title>" using "Tunes Show</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Pirates</title>" using "Pirates</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Chronicles</title>" using "Chronicles</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Ferb</title>" using "Ferb</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Stitch!</title>" using "Stitch!</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*ADD CATEGORY CHILDRENS CHANNAL FOUR MONDAY TO FRIDAY*)
replace "Sesame Street</title>" using "Sesame Street</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Pingu</title>" using "Pingu</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Sticky TV</title>" using "Sticky TV</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Wheelz</title>" using "Wheelz</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Airbender</title>" using "Airbender</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Sheen</title>" using "Sheen</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Builder</title>" using "Builder</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Peppa Pig</title>" using "Peppa Pig</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Wonder Pets</title>" using "Wonder Pets</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Toc</title>" using "Toc</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Diego Go</title>" using "Diego Go</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Redakai</title>" using "Redakai</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Jungle</title>" using "Jungle</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Lot</title>" using "Lot</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "HUMF</title>" using "HUMF</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Squirrel</title>" using "Squirrel</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Advent</title>" using "Advent</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Chuggington</title>" using "Chuggington</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Pyjamas</title>" using "Pyjamas</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Fury</title>" using "Fury</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Moe</title>" using "Moe</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Invasion</title>" using "Invasion</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*CHILDRENS CHANNAL FOUR SATURDAY AND SUNDAY*)
replace "Modern Life</title>" using "Modern Life</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "School</title>" using "School</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Grown Up</title>" using "Grown Up</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Zim</title>" using "Zim</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Fused</title>" using "Fused</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Arnold!</title>" using "Arnold!</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Bobby</title>" using "Bobby</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Pukana</title>" using "Pukana</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Josh</title>" using "Josh</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Kel</title>" using "Kel</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Witch</title>" using "Witch</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "iCarly</title>" using "iCarly</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Explorer</title>" using "Explorer</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Force 5</title>" using "Force 5</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Warthogs</title>" using "Warthogs</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Gen</title>" using "Gen</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*CHILDRENS OTHER CHANNALS MONDAY TO SUNDAY*)
replace "Reloaded</title>" using "Reloaded</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Mash</title>" using "Mash</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "oons</title>" using "oons</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Cartoons Omnibus</title>" using "Cartoons Omnibus</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Miharo</title>" using "Miharo</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "stocking</title>" using "stocking</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Olie</title>" using "Olie</title>  <category>Childrens</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
(*EXTRAS ALL CHANNELS*)
replace "Shopping</title>" using "Shopping</title>  <category>Movie AO</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Infomercial</title>" using "Infomercial</title>  <category>Movie AO</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "TV Series</title>" using "TV Series</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Drama Series</title>" using "Drama Series</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "lite</title>" using "lite</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ament TV</title>" using "ament TV</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Mora</title>" using "Mora</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Crump</title>" using "Crump</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "ramme</title>" using "ramme</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
replace "Euromaxx</title>" using "Euromaxx</title>  <category>Show PGR</category>" searching in text 1 of text document "TVGuide.xml" options {starting at top:true, case sensitive:true}
delay 2
close project window 1 saving yes
quit
end tell
delay 2
tell application "Finder"
activate
delay 2
open document file "TVGuide.xml" of folder "EyeTV" of folder "Application Support" of folder "Library" of folder UserName of folder "Users" of startup disk using application file "EyeTV.app" of folder "Applications" of startup disk
end tell




7 posts

Wannabe Geek


  Reply # 873423 7-Aug-2013 19:30 Send private message

Hi Guys

This thread is awesome - I have just purchased an EyeTV and have been playing around to get the EPG right. I managed to get the Automator working to get the xml working, and used a LaunchD editor to get the xml file to download on a schedule. However I would much rather parse the MHEG5 file like these scripts do. However, I am lost when it comes to scripting. I have downloaded Jon's edited version of the script, but I am afraid I really don't know how to make it run - or how to use your fantastic categorising acript either Doug.

Any chance either of you could give me a quick "semi-dummies" guide on how to make it all work? I'd be eternally grateful.

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 873458 7-Aug-2013 19:51 Send private message

1. Download Mono from the website and install. It has a hello world test write it in an app called Text Wrangler.
2. Download the eyetvepg parser from tokyovigilantes GitHub repository.
3. Put the .bundle file into user/[username here]/public/Plugins folder (you will need to create the Plugins folder)
4. Next look in /library/application support/eyetv for a plugins folder, delete it.
5. Open the script with applications/utilities/AppleScript.app
6. Note the name of the parliament channel (mine is "Parliament")
7. Make changes to the script timings (the "Delay" calls), these are in seconds.
8. On the guide window, clear the epg database, then on the channel window where it says epg source right click and choose xmltv. Goto preferences and untick "Open live tv window when eyetv starts"
9. Run the script (compile button and then run). This should move the .bundle file from 3. to the place in 4. It will then open eyetv, with delays, it should open the live tv window, once this opens the parsing begins, based on your timings it will pause a couple of times over the next 74 seconds, then Eyetv will close, move the .bundle back, and then Eyetv opens. again.


7 posts

Wannabe Geek


  Reply # 873497 7-Aug-2013 20:32 Send private message

Hmm, I'm following that, but it appears no xml file is being generated as I am not getting any of the program listings for any the xmltc channels - just the ones I left alone.

So am rather confused :(

849 posts

Ultimate Geek
+1 received by user: 49


  Reply # 873501 7-Aug-2013 20:36 Send private message

There shouldn't be a xml file, it just updates the eyetvepg.db file.

Does the live channel window open?
Did the hello world program from the mono website run?

Did the .bundle file move?
Jon

7 posts

Wannabe Geek


  Reply # 873504 7-Aug-2013 20:46 Send private message

Am feeling really dumb, but I don't know how to find GCMS to compile the Hello World program...

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Speed limit when overtaking? Teach me please.
Created by nakedmolerat, last reply by Hobchild on 26-Oct-2014 00:11 (92 replies)
Pages... 5 6 7


House Auctions
Created by t0ny, last reply by Elpie on 26-Oct-2014 00:54 (45 replies)
Pages... 2 3


VDSL, which router/modem sub $200?
Created by TeaLeaf, last reply by NonprayingMantis on 25-Oct-2014 19:48 (28 replies)
Pages... 2


Neon - Sky's new streaming service
Created by JarrodM, last reply by JimmyH on 25-Oct-2014 17:37 (29 replies)
Pages... 2


iPad Air 2 and iPad Mini 3. Gonna get one?
Created by Dingbatt, last reply by tungsten on 25-Oct-2014 20:22 (115 replies)
Pages... 6 7 8


5Ghz AP recommendations?
Created by ubergeeknz, last reply by sbiddle on 24-Oct-2014 12:42 (12 replies)

Snap have failed our company!
Created by dafman, last reply by kornflake on 23-Oct-2014 17:41 (37 replies)
Pages... 2 3


Thief taunts 12 year old via stolen laptop
Created by macuser, last reply by charsleysa on 22-Oct-2014 23:49 (12 replies)


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.

Alternatively, you can receive a daily email with Geekzone updates.