RadioTimes C# Downloader (1 Viewer)

pbathuk

Portal Member
December 3, 2010
29
7
Chester
Home Country
United Kingdom United Kingdom
Hi All,

Hopefully this is the correct place to be adding this program...

I have built a small tool which grabs the guide listings from the RT website for use on mediaportal (or any program that uses XML EPG data). It runs as a standalone program and is left running on the notification area.

The reason I have written my own program (rather than using an existing one) is two fold : the first is that alot of the current ones appear to be broken slightly, with respect to the Film: flag - I can't seem to get any of them to add the Film: before the description if it is a film.
The second is because I wanted to write my first C# program.

The tool is very lightweight (127KB as of launch) and (hopefully you will agree) user-friendly.

The tool can be placed anywhere (I have created a folder in my Program Files but you don't have to) and simply just needs to be run and then setup.

I have not written any documentation as yet, however I plan to if people actually want to use it and want it developing.

All settings are automatically saved within your appdata folder (including the cache) so you can feel free to investigate and edit those manually if you wish.

If you would like any new features or notice any bugs please feel free to add a response to this thread.

Hopefully others will find some use in this.

Cheers

Phil

Quick Overview of setup:
When you first load the program you will see that there are two red squares (one for setup, one for channels).
You need to click File > Setup and add a path to the output location of the XML file, a name of the XML file and if you would like to use a cache of the .dat files each day (these stay around for a max of 24 hours, if the day changes they also get removed, or if the file size is less than 5KB then it will also redownload them).
You then need to click on channels > setup channels and simply add to the right hand list any channels you want to download the data for. (use the Refresh channel button if the left hand list is not complete)
You can then optionally setup post processors (Post Processors > Setup post processors) and tick the options that you would like to be enabled (you can also setup +1 channels from within this option (same method as the adding channels))
Another optional extra you have is to enable a scheduler (Scheduler > Setup) - from here you can enable or disable the Scheduler and then set the time (half hour slots currently) you wish the program to automatically download the listings for you.
Finally you can now click Get data Now. This will then go away and grab the relevant channel dat files and parse them into a single XML file.
Every time you open the program from then on your settings will be automatically saved so you don't have to re-enter them.


---------------------------------------------------------------------------------------------------------------------------
I forgot to mention : It was built on c# 2010 on a windows 7 32bit machine so should work fine on 64bit but I have not tested it. Also I think as part of c# 2010 it used the .net 4 (so you may need this)
And as always Use at your own risk
 

Attachments

  • RadioTimesXMLGUI.zip
    22.2 KB

Users who are viewing this thread

Top Bottom