| Author |
Message |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Fri Mar 04, 2005 11:17 am Post subject: XMLTV2DigiTV - Free EPG Data Conversion Tool for DigiTV v1.2 |
|
|
Version 1.2 is now available here. (23KB)
Changes from v1.1:
- Improved filename filtering so that all case variants of .xml are accepted (ie .XML, .xML, etc).
- Improved the data/time parsing to include time offsets, allowing correct parsing of Australian IceTV IceGuide XML data.
Details of version 1.1 are here: http://www.digitv-forum.co.uk/viewtopic.php?t=290.
Background:
---------------
For those of you who live in countries like Australia, where the broadcasters haven't yet seen the light when it comes to broadcasting an over-the-air 7-Day EPG, I've whipped up a quick little Java tool for converting between XMLTV and DigiTV format EPG data files.
Of course, you still need to obtain XMLTV data files for your region, such as from a commercial provider of that sort of data, or maybe from your mate down the pub (if you have one who is suitably connected with the broadcasters where you live).
We recommend the use of legitimate XMLTV sources, (such as IceTV for those in Aus).
Hopefully someone out there in DigiTV-land will find this useful. Any feedback (preferrably positive!) is appreciated.
Last edited by HyperReality on Fri Jul 07, 2006 9:27 am; edited 5 times in total |
|
| Back to top |
|
 |
Registered users do not see these adverts
|
SciDoctor DigiTV Guru! (200+ posts)
Joined: 13 Jan 2005 Posts: 1128 Location: England
|
Posted: Fri Mar 04, 2005 3:17 pm Post subject: |
|
|
Can your prog work in reverse and take the digitv data to an XML file ?
Can it be run as a service with automated time of conversion set? |
|
| Back to top |
|
 |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Fri Mar 04, 2005 11:55 pm Post subject: |
|
|
| SciDoctor wrote: |
| Can your prog work in reverse and take the digitv data to an XML file ? |
I'm not sure why you would want to do that. It would likely leave you with an XMLTV file that doesnt really have all that much info in it, unless you carefully parsed out the various bits of information (eg rating, sub-title, etc) from the DigiTV name and description fields.
For you guys in the UK, it would probably be better to have an EIT table (using the upcoming DigiTV SDK for example) to XMLTV dumper, if you really wanted to get XMLTV EPG data.
| Quote: |
Can it be run as a service with automated time of conversion set? |
I just run it as a Windows Scheduled Task instead.
As mentioned in another thread (which is something I considered when thinking about this stuff before writing the current tool), there is probably one good reason that I can think of for running a version of this tool as a service: combine it with a web server so you can serve the EPG data to other DigiTV clients on your network (in the case where there is no EIT EPG data) using the new ability to specify the URL of the DigiTV EPG data server. That sort of capability might be of use to some people. |
|
| Back to top |
|
 |
SciDoctor DigiTV Guru! (200+ posts)
Joined: 13 Jan 2005 Posts: 1128 Location: England
|
Posted: Sat Mar 05, 2005 12:41 am Post subject: |
|
|
Thanks for the reply.
My first post was a bit tight and just open thoughts.
In the Uk we are lucky to have a good and uptodate 8 day epg along with the digital broadcst.
What i wwas thinking would be ideal would be to convert the data from this to an xml file that would be compatable with Media Portal and its xml driven epg .
This would give very accurate epg for all tuner cards available in the system/server , both analog and digital , |
|
| Back to top |
|
 |
Tekbaron Nebula Newbie
Joined: 06 Feb 2005 Posts: 8 Location: Germany
|
Posted: Wed Mar 09, 2005 4:17 pm Post subject: |
|
|
nice Work HyperReality, it runs also in Germany with tvtoday.
Thx for the great Work  |
|
| Back to top |
|
 |
nac DigiTV User (10+ posts)
Joined: 18 Jan 2005 Posts: 42 Location: Melbourne Australia
|
Posted: Sat Mar 12, 2005 5:44 am Post subject: Problems |
|
|
| I can't get the grabber to work. It starts to download but then the machine looses network connection. |
|
| Back to top |
|
 |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Sat Mar 12, 2005 8:04 am Post subject: |
|
|
Assuming you are using JavaXMLTV:
1. Ensure you have the appropriate Sun JVM installed (v1.4.2 or later)
2. Change the javaxmltv.props file to reduce the number of worker threads
If that doesnt work, I'm not sure why it would fail like that (unless your router/internet connection is falling over when too many TCP/IP connections are opened - which would be bad).
Alternatively you'll need to try an alternative grabber such as tvxb: http://www.tvxb.com/.
Of course, we are not endorsing the use of such applications, just summarising what a 5 second Google search would have found for you. |
|
| Back to top |
|
 |
nac DigiTV User (10+ posts)
Joined: 18 Jan 2005 Posts: 42 Location: Melbourne Australia
|
Posted: Sat Mar 12, 2005 8:25 am Post subject: |
|
|
Hi,
Yep, I have Java installed (j2re-1_4_2_07-windows-i586-p.exe)
I did try to reduce the number of threads down to 2, but the problem still occurs.
As I am using VNC to connect to the HTPC I can see the threads start to all run and then I loose VNC connection. If I go the htpc screen I can see the threads still running. So the PC is not hanging just the network. All other grabbers work fine (tried about four), this is the only one with the issue.
It could possibly be SP2, anyone else using SP2? |
|
| Back to top |
|
 |
Tekbaron Nebula Newbie
Joined: 06 Feb 2005 Posts: 8 Location: Germany
|
Posted: Sat Mar 12, 2005 8:53 am Post subject: |
|
|
Hello nac,
i have run the Software on a WINXP SP2 PC, it work great, i think that the problem iss not the WINXP Software.
The software runs also on a Linux System at me.
I think the Problem iss your Router and or Firewall. |
|
| Back to top |
|
 |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Sat Mar 12, 2005 9:00 am Post subject: |
|
|
Nick, could it be VNC timing out when the network gets busy? If you run the tool directly on the HTPC does it work to completion?
I dont think it is an SP2 thing as plenty of people are using JavaXMLTV without problem.
Maybe start another thread to discuss the different grabbers? |
|
| Back to top |
|
 |
nac DigiTV User (10+ posts)
Joined: 18 Jan 2005 Posts: 42 Location: Melbourne Australia
|
Posted: Sat Mar 12, 2005 9:33 am Post subject: |
|
|
Could be just VNC, I try it out later. I can't now as the kids have taken over control of the htpc  |
|
| Back to top |
|
 |
nac DigiTV User (10+ posts)
Joined: 18 Jan 2005 Posts: 42 Location: Melbourne Australia
|
Posted: Sat Mar 12, 2005 10:07 pm Post subject: |
|
|
No it is not a VNC issue.
I also disabled firewall.
I tried it again and the whole network connection dies. If I terminate the batch job the network comes back again. It seems that perhaps only one thread works. On my other pc 10 works fine. Both are XP SP2, P4 with hyperthread. |
|
| Back to top |
|
 |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Sat Mar 12, 2005 11:24 pm Post subject: |
|
|
Are they both XP Pro or XP Home?
Something about the Java networking is obviously choking that PC for some unknown reason (or your networking subsystem on that PC is shagged). I suggest you try uninstalling Java and either reinstall it, or upgrade to a later version.
Failing all that, I'd go for an alternative grabber - just let me know please if XMLTV2DigiTV has any issues with the data it produces and I'll fix it.
Oh, or network share the DigiTV EPG subdirectory on your HTPC and use your other PC to write the EPG data into it over the network.  |
|
| Back to top |
|
 |
scholefn DigiTV User (10+ posts)
Joined: 01 Mar 2005 Posts: 31 Location: Sydney, NSW
|
Posted: Wed Mar 16, 2005 10:15 am Post subject: |
|
|
HyperReality. Fantastic tool. Allows me to run one Grabber (JavaXMLTV) for both my Toppy and DigiTV card.
Below are the edits I needed to make for the Sydney channels. I suppose this depends on what your source of the grabber is but here it is for anyone who's interested.
# Sydney
# ======
ABC NSW = 2, 20
Channel Seven Sydney = 7, 70
Channel Nine Sydney = 9, 90
Network Ten Sydney = 1, 10, 12, 100
SBS Sydney = 3, 30
SBS News = 33
ABC2 = 21 |
|
| Back to top |
|
 |
HyperReality DigiTV Forum Moderator

Joined: 15 Feb 2005 Posts: 2023 Location: Adelaide, South Australia
|
Posted: Wed Mar 16, 2005 10:19 pm Post subject: |
|
|
Thanks for your positive feedback.
Thanks also for the Sydney info. I've updated the default config file to reflect your edits and will upload another version in the near future with that and a few other changes.
If anyone else wants to provide us with XMLTV2DigiTV-Channels.txt info that works in your country/area (for your particular XMLTV grabber - please let us know which one), I will add the data to the distribution. |
|
| Back to top |
|
 |
|