A few days ago, i said a new build of XMLTV Viewer wouldn’t be coming for a while, but that was a build of the OLD version of XMLTV EPG Viewer. This version has been rebuilt from the ground up in a few nights, is half the size of the old version, and contains about all the same features. There are a few minor features that i decided to leave out because of their infrequent use, but all of the major features are back.
- Grid View (plus, no ugly text box underneath grid view anymore.)
- Now View (a new view which displays what tv shows are on now, or starting soon on all channels)
- Search View (so you can search for tv shows)
- and of course, our default listings view.
- Better support for EPGStream.net feeds.
- Cleaner display of data (in my opinion).
- Stores settings in an xml file, not the registry (so they are much more portable).
There is a downside with this version though. You will not be able to select a default feed from the installer. That was removed because the previous version used the deployment wizard in Visual Studio, whereas the new version uses the WiX Project from Sourceforge for the installer framework. As i said before, some features are not back in the new version (like channel logos, but they will be soon). Some of the menu option’s also haven’t been linked up to their respective sections, so if that occurs, give me a yell.
Enjoy.
You can get it at: http://brentp.net/downloads/projects/xmltv/Installer.msi
The old version will remain up at the old url until i get all of the old features into the new one (minus the text colouring features and so on).
One thing that i’d have to say that sets the .NET framework apart from any other frameworks would be the fact that it has EXCELLENT XML File handling capabilities. For example, take the following snippet (used in a program im submitting to a competition, i hope):
public int NewIndexRecovery()
{
// this creates an entirely new index. Pretty much the following:
/* <Data>
* </Data>
*/
System.IO.File.Delete(Properties.Settings.Default.IndexDocument);
XmlDocument xNewIndex = new XmlDocument();
XmlNode xData = xNewIndex.CreateNode(XmlNodeType.Element, “Data”, null);
XmlNode xComment = xNewIndex.CreateComment(“Index File - Created: ” + DateTime.Now.ToString());
XmlNode xCommentTwo = xNewIndex.CreateComment(“V” + strVersion + “DATAFILE”);
xData.AppendChild(xComment);
xData.AppendChild(xCommentTwo);
xNewIndex.AppendChild(xData);
xNewIndex.Save(Properties.Settings.Default.IndexDocument);
return 0;
}
That code pretty much creates a document similar to the following:
|
<Data>
<!– Index File - Created 1/1/2008 12:38AM –!>
<!– V2DATAFILE –!>
</Data>
|
The .NET framework handles all the pretty formatting as well, so you are actually able to read the files after you’re done with them. Pretty cool huh? Also, i have made an update to the XMLTV Viewer program, however, due to VS’s MSI maker thing complaining about missing bitmap files to build an installer, i am unable to upload it at the current time. The new features in the current version are:
- EPGStream.net functionality (so you just enter in your epgstream id’s, and it’s ready to go. The functionality can be turned on and off in the settings area, just remember that its a <LOT> buggy, so it may take some time to work. Don’t try to download EPGStream feeds via the Settings -> XMLTV Location Downloader, because you will crash it, rather, use the main one in the main menu. If you get a marquee progress bar (just continues going across, rather than an actual percentage), then its fetching an epgstream url.
- Bugfixes.
EDIT: It’s just been uploaded at the usual url. This will probably be the last build of it for some time (perhaps i might just recode the thing from scratch).
Download Link - XMLTV Viewer - LAST BUILD.