NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
New XMLTV Enhancer and more...

Thread Closed 
 
  • 0 Vote(s) - 0 Average
New XMLTV Enhancer and more...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#1
2007-11-23, 05:04 AM
-Oz- and Zehd are developing a new XMLTV enhancer.

We're looking at making it quite robust. We want it to include XML parsing and validating, Episode Number searches, enhancing displayed information, Recorded Filename renaming and much more.

I'm starting this thread so all of us can discuss publicly some logic and design ideas.

If anyone has ideas or comments, feel free to chime in.

It's an ambitious idea. We're hoping that it will be universal enough that many other XMLTV users will be able to streamline their configuration. It will start out to work with GB-PVR specifically, but we're trying to make the design compatible with other PVR apps that use an XMLTV file for EPG data.

(Being in Australia, I've already noticed some difference in the XMLTV guide data available here, compared to Zap2It/Schedules Direct XMLTV data)

We're working on individual components right now, with the intent on merging the work when appropriate.

Right now, -Oz- is working on a universal EPG grabber/downloader.

Zehd is working on the Data Enhancer component.

Soon we will be creating a new component that will scrape extra data from online databases, like 'episode num', and 'first aired date'

Our goal will be a central configuration screen to select data source, and enhancement choices.

Each night, it will call the grabber, modify the data, and call GB-PVR to update its EPG.

Also, when each recording is complete (PostProcessing) it will go online (either immediate or deferred) to fill in some details of the show, and optionally rename the recorded show's filename.

And we are trying to do this without the user needing to bother with Batch files.

Any thoughts are welcome...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2007-11-23, 06:06 AM
I've been working on a program to enhance my SD listings. I have an XMLTv serializer if you guys want to use it.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#3
2007-11-23, 07:35 AM
I've got code that scrapes IMDB.com and TheTvDb.com in the WizWebHelper.DLL. I'd be glad to share if you think it might be useful.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2007-11-23, 09:08 AM
Thanks guys. I'm going to be asking for lots of help thinking through things.

Whurlston, what does your serialzer do? I would imagine it's command line...

Javawiz, -Oz- and I are working with VB6. I'd be interested in seeing the code for your plugin, though I think you're not using VB6? I can sort some out of the languages code sometimes...

ZRename scrapes epguides.com. If you remember I lost the code, but it's quite simple how it worked and will be able to recreate that code. It downloaded the html for TV show, (just the straight html) and then parsed through it searching for episode titles. This assumes that the information is correct and matches of course. But that's the nature of scrapers...

Epguides uses a simple URL convention. If I wanted to look up the Simpsons, I would search http://www.epguides.com/simpsons. Same for stargate and several other shows...

I have always wondered what was the convention for imdb and tvdb.com I couldn't seem to get it working.

I have also noticed epnumbers in the ScheduleDirect XMLTV data that I couldn't seem to find a source that correlated with. (like SH000192090000)

I would love to offer several choices to scrape (or all...)
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
agerdin
Offline

Senior Member

Posts: 692
Threads: 96
Joined: Sep 2004
#5
2007-11-23, 12:19 PM
Zehd, I am not 100% sure what your tool will do, and I am wondering if it will help me. My XMLTV provider today gives me all kinds of information (tags) that are not supported by GBPVR and in order to show it I need to postprocess my XMLTV file with a XMLparser (msxsl.exe). This solution is not very flexible and I would love to have a tool allowing me to "re-design" the XMLTV file, by choosing the tags to be included in other tags.

Please let me know if your new endavour will be something I could use for my purposes further described in this thread.

http://forums.nextpvr.com/showthread.php?t=23950

Thanks,

\\Agerdin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#6
2007-11-23, 03:31 PM
agerdin Wrote:Zehd, I am not 100% sure what your tool will do, and I am wondering if it will help me. My XMLTV provider today gives me all kinds of information (tags) that are not supported by GBPVR and in order to show it I need to postprocess my XMLTV file with a XMLparser (msxsl.exe). This solution is not very flexible and I would love to have a tool allowing me to "re-design" the XMLTV file, by choosing the tags to be included in other tags.

Please let me know if your new endavour will be something I could use for my purposes further described in this thread.

http://forums.nextpvr.com/showthread.php?t=23950

Thanks,

\\Agerdin

That's exactly what the XMLTV Enhancer will do, among other things.

I believe I will have something to test soon. We are currently working on the modules as separate programs that should stand alone, but the intention is to have the suite of tools either merged or integrated...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#7
2007-11-23, 03:36 PM (This post was last modified: 2007-11-23, 03:42 PM by zehd.)
agerdin Wrote:\\Agerdin

What I would love is a cut down file of one of your XMLTV files.

Just a single snip from your XML in a text file. Open your file in Notepad (not wordpad) and snip a show that has the most info for a given show. (Actors, Airdate, previously shown, etc). Get the whole entry from <Programme...> to </Programme> For the moment I won't need any of the channels or the file header.

EDIT: I also see in the other thread that your having issues with Swedish Characters. Take note what the downloaded xmltv file's encoding is and grab a record that uses the characters... eg <?xml version="1.0" encoding="utf-8"?>
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#8
2007-11-23, 04:44 PM
The serializer is just a class that strong types the XMLTv data and will read and write XMLTv files. It's in C# but I can make it a dll so that you can access it from VB6.
Koenie
Offline

Senior Member

Posts: 356
Threads: 31
Joined: Aug 2005
#9
2007-11-23, 05:49 PM
I do some postprocessing of the xmltv file to correct some systematical errors and to fix some titles (sometimes titles and subtitles are together hampering season recordings).
Further I substitute the channel numbers with the actual channel numbers of my cable provider (this makes setting up multipe tuners easy, especially if there are changes in the channels and one has to reimport the EPG from the config app).

The utilities I use are actually replchanid.exe and epgfilter.exe which I found trough this forum: http://forums.nextpvr.com/showthread.php...replchanid

This site has a number of tools together, nice for some ideas: http://www.prize.nl/software/pvr/

Would be nice to get this functionality bundled in a single app.
Regards Koen,

GBPVR 1.4.7
AMD 780G with X2 BE2350, 2gb ram, LCD-TV, Win XP
PVR500, PVR150 & PVC150 MCE MediaMVP D3A, 2 networked clients
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#10
2007-11-23, 05:54 PM
zehd Wrote:Javawiz, -Oz- and I are working with VB6. I'd be interested in seeing the code for your plugin, though I think you're not using VB6? I can sort some out of the languages code sometimes...
Sure, no problem, I used to code in VB6, but got pushed into Java at work Sad. When I saw GBPVR, I thought it would be fun to learn a new language, so I picked up C#. Actually it was an extremely easy transition, as it is kind of a cross between Java and VB and C++ (sort of...)
Quote:ZRename scrapes epguides.com. If you remember I lost the code, but it's quite simple how it worked and will be able to recreate that code. It downloaded the html for TV show, (just the straight html) and then parsed through it searching for episode titles. This assumes that the information is correct and matches of course. But that's the nature of scrapers...

Epguides uses a simple URL convention. If I wanted to look up the Simpsons, I would search www.epguides.com/simpsons. Same for stargate and several other shows...
Similiar on my approach, although I load all titles up front into a hashtable so once loaded it is lightning fast.
Quote:I have always wondered what was the convention for imdb and tvdb.com I couldn't seem to get it working.
I used to use the brute force method to scrape imdb, but i stumbled across HtmlAgilityPack and now use that. It turns the page into an XML object and you can use XPath query to locate just about anything in just about any html. A little bit of learning curve, but definitely worth it.

TvDb.com has a straight XML interface, so you don't have to scrape a web page. Check it out here: http://thetvdb.com/?tab=xml . My scraper gets pretty good results.

I've sent the code to your email address, feel free to ping me with any questions (or suggestions Smile )
« Next Oldest | Next Newest »

Users browsing this thread: 4 Guest(s)

Pages (39): 1 2 3 4 5 … 39 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,433 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 6,742 2018-07-18, 04:32 PM
Last Post: sub
  Merge xmltv data with xslt Graham 4 3,457 2014-01-02, 12:45 PM
Last Post: Graham
  XMLTV data mvallevand 6 2,620 2011-04-16, 03:08 AM
Last Post: sub
  Free XMLTV EPG scraper dneprrider 214 99,767 2010-03-29, 04:54 AM
Last Post: dljones8053
  XmlTv Structure psycik 2 2,214 2008-12-29, 10:53 PM
Last Post: psycik
  Content Provider: How to publish XMLTV data? skoka123 6 3,420 2008-09-03, 05:48 AM
Last Post: skoka123
  XMLTV Questions -Oz- 34 10,441 2008-03-24, 01:19 AM
Last Post: zehd
  I-xmltv updated for YahooXMLTv (adds a new show marker and more) Jim_ 78 24,687 2008-01-02, 10:33 AM
Last Post: tvshowman
  xmltv zap2it & msn scraper merge tvshowman 2 1,868 2007-12-12, 03:48 AM
Last Post: tvshowman

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

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

Linear Mode
Threaded Mode