NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 34 35 36 37 38 … 56 Next »
EPGFilter 1.0.0

 
  • 0 Vote(s) - 0 Average
EPGFilter 1.0.0
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#1
2005-12-27, 07:52 PM (This post was last modified: 2007-02-04, 10:15 PM by Ton.)
Hello all,

I have just finished setting up my (very first) GBPVR computer. In setting up my computer, I have written a small tool to handle some extended XML TV filtering.

The Tool allows for configuration of a set of filters (using regular expressions) that can be used to remove programmes from the XML TV source file (for overlapping programs) or modify XML fields and attributes in the XML TV source file (for fixing start/stop times, titles and sub-titles).

Because of the use of regular expressions and the facts that it saves a set of filters in one file, makes it extermly fit for use with GBPVR (or any other XML TV based system).

I have been using it succesfully for a little while, and I thought I would share it with the rest of the communityBig Grin

Here is the tool (source code is available upon request)....

//Ton
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#2
2006-01-01, 07:15 PM
Ton,

If this works, I will be very glad. It deals with the exact problem I was trying to solve.

In dutch: Ton ik zag in de EPGFilter.xml dat je hetzelfde probleem had als ik.
In ieder geval de beste wensen.
Ik laat je weten of het werkt.Smile
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#3
2006-01-01, 07:36 PM
I tried this:
D:\temp\epgfilter.exe epgdata.xml test.xml
epgfilter files are all in D:\temp as well as epgdata.xml

Nothing happens:confused:
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
HtV
Offline

Posting Freak

Posts: 3,470
Threads: 46
Joined: Dec 2005
#4
2006-01-01, 10:22 PM
Think it works now, I moved the whole temp-dir to C:/, then everything worked. Can't see the results in GBPVR yet because it doesn't update right away. (I think):confused:
AMD Athlon 64 3000, HDD: 80, 120, 200 GB, Hauppauge 350 + 150, MVP, Asus 6000L Laptop client, Asus X50sl client,
Fritz!box 7140 modem/router, GBPVR 1.3.7.
Paulussie
Offline

Junior Member

Posts: 2
Threads: 0
Joined: Nov 2005
#5
2006-01-05, 10:20 AM
Hi,

If anybody is interested: a friend of mine wrote a similar filter that solves an annoying problem with Dutch tv listings. In those listings on some channels (NED3, Canvas, YORIN) there are program announcements that have a time attached to them that overlaps a large part of the programs following them. The result is that you are not able to select those programs for recording in GBPVR's TV guide, at least on the MVP.

The filter he wrote lets you choose to either replace the end time of the offending program entry with the start time of the next program, delete a program that has an invalid end time or delete a program whose title matches a predefined one.

It works great for me and makes GBPVR a near perfect PVR solution!

Paul
hansi
Offline

Junior Member

Posts: 49
Threads: 9
Joined: Sep 2004
#6
2006-01-06, 09:13 AM
Hoi guys,

I am interested in either of the filters, as I have been experiencing problems with the EPG for NED3 lately. There always seems to be a big 'NEDERLAND 3' show present that covers all night and messes up the real shows. I think this started in December or the like and I ended up scheduling NED3 shows manually. From the description it is not clear if Ton's filter supports the automatic fix of stop times as Paul's does?

Cheers,

Hans
ASUS Pundit-R
Celeron-D 330 2.66 GHz
2 x 256 Mb DDR-400
160 GB Western Digital HD
Hauppauge PVR-250

Skin: Blue
Plugins: Jukebox, Weather, E-mail, RSS
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#7
2006-01-06, 11:06 PM
Hello,

Well, the tool I wrote lets you choose wether you want to change the start-time, or just remove the big block. It's all part of configuration...

The tool does expect all files to be in the same directory.....

For me, it solves a number of issues:

- It removes those overlapping entries, just leaves the indivdual programs in place
- Fixes the annoying Discovery titles that have both the title and the subtitle in the title field (i.e. "Mythbusters: road rage")
- It fixes some small timing issues for programs that always overlap

Again, I wrote it so it's fully configurable, and you can choose what you want, you can update either the start, stop, title of sub-title fields in the EPG file...

//Ton
hansi
Offline

Junior Member

Posts: 49
Threads: 9
Joined: Sep 2004
#8
2006-01-07, 10:45 AM
Thanks Ton, I'll give it a try!
ASUS Pundit-R
Celeron-D 330 2.66 GHz
2 x 256 Mb DDR-400
160 GB Western Digital HD
Hauppauge PVR-250

Skin: Blue
Plugins: Jukebox, Weather, E-mail, RSS
hansi
Offline

Junior Member

Posts: 49
Threads: 9
Joined: Sep 2004
#9
2006-01-09, 10:31 PM
Hoi Ton,

Tried it and it seems to work fine. Got the annoying Nederland 3 and long Talpa listing on Nickelodeon problems to disappear.

Now I was wondering since you can basically change anything in the xml file, would it be possible to merge Nickelodeon and Talpa listings into one, just by replacing channel='talpa.tv' by channel='nick.com'? The .xsd does not allow it and if I change it, it doesn't work, but this would be nice to have I think.

Anyway, I'm quite happy so far for this excellent tool! Petje af!
ASUS Pundit-R
Celeron-D 330 2.66 GHz
2 x 256 Mb DDR-400
160 GB Western Digital HD
Hauppauge PVR-250

Skin: Blue
Plugins: Jukebox, Weather, E-mail, RSS
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#10
2006-01-10, 08:00 AM
Hmm, I'll think about it....

I am currently using the "TVGids_To_XML" tool to get the data, and there the "talpa" and "nickleodon" channels are already joined, so I don't need this.

I also use another set of tools that can already do that. Have you checked out this site yet?

http://www.prize.nl/software/pvr/

Under the "XMLTV Tools" link, there are some cool tools to use for XMLTV handling..

//Ton
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode