NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 6 … 56 Next »
MultiSite Incremental XMLTV Epg Grabber

 
  • 0 Vote(s) - 0 Average
MultiSite Incremental XMLTV Epg Grabber
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#41
2012-11-18, 03:57 AM
WG++Maker Wrote:Thanks for the sites ... they are certainly the most easy to do (Chinese) but I will try as soon as I have some time ...

WG++Maker . . Jan


Hi Jan,

Just wondering if you ever got time to look at the inis from TVxB to see if any could be transferred across to WG++?

If nothing else, it would be great to get the schedules from here http://www.setanta.com/hongkong/TV-Listings/ as the Cable Provide takes the show times and rounds them to the nearest HALF hr which means I always miss parts of games.

The Setanta site is not html like TVxB needs, so I can't download the pages and parse the data. I started playing around with an AutoIt script to download the pages as html http://forums.nextpvr.com/showthread.php...ght=autoit but only got so far with it...

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
WG++Maker
Offline

Junior Member

Posts: 26
Threads: 1
Joined: Jun 2011
#42
2012-11-18, 02:44 PM
Hi jksmurf,

I had a look at http://www.setanta.com/hongkong/TV-Listings/ and , indeed, only the first day has a'normal' grabbable html format. Like you I couldn't figure out how to retrieve the other days. Sorry

As alternative for the setanta sports channel there is http://nowsports.now-tv.com/nowSports/tv...679&time=1. That one is easy to make and has a number of other sports channels.

I found a few other sites in the tvxb ini's you send me. Like :

http://programme.tvb.com/print/pearl/2012-11-18/
http://www.hkatv.com/v5/schedule/schedule.html?c=2


Are you interested in any of these?

WG++Maker .. Jan
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#43
2012-11-19, 11:42 PM
Hi Jan,

First off, thanks very much for looking at these, much appreciated.
I actually got quite good at figuring out formats and ways to grab and parse html-based sites using TVxB (all the inis are mine) but it falls flat when you go to the ever-increasing number of java-based sites (or ones with no html or possibility to download as html).

WG++Maker Wrote:Hi jksmurf,

I had a look at http://www.setanta.com/hongkong/TV-Listings/ and , indeed, only the first day has a'normal' grabbable html format. Like you I couldn't figure out how to retrieve the other days. Sorry
Bummer, this was the one I really wanted to work :-) - I did sort of get my crude auto-it script to go to each page one by one like I was "clicking" each tab, but TVxB did not like the downloaded html so would not parse it.

WG++Maker Wrote:As alternative for the setanta sports channel there is http://nowsports.now-tv.com/nowSports/tv...679&time=1. That one is easy to make and has a number of other sports channels.
Lol - actually I do have those in the ini already - BUT - the show times are only to the nearest half hour (which means I lose start or end of recordings!) and the cable provider just says that's what I get from Setanta .. I have my doubts.

WG++Maker Wrote:I found a few other sites in the tvxb ini's you send me. Like :

http://programme.tvb.com/print/pearl/2012-11-18/
http://www.hkatv.com/v5/schedule/schedule.html?c=2


Are you interested in any of these?

WG++Maker .. Jan
Actually both of those are working really well with TVxB, so I personally do not need these to be transferred to WG++ format, however other users might; up to you, but you do not need to rush making an ini for me alone.

All in all, I really wonder what the future holds wrt EPGs; if I can't strip it out of my cable box (anotehr therad), and I can no longer get it from a website, NPVR becomes a great program with no data input to use it the way it should be used.

Cheers

k
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
WG++Maker
Offline

Junior Member

Posts: 26
Threads: 1
Joined: Jun 2011
#44
2012-11-21, 05:01 PM
jksmurf

Good news!! Another (expert) WG++ user 'cracked' the required date /channel entry for the url postdata of setanta.com.asia!!

The working siteini files for it can be downloaded @ http://www.servercare.nl/Docs/SiteIni.Pack.11.rar . You will find it in the 'networks' folder because there are also new variants for Australia and Africa. We are also working on a variant for Ireland.

WG++Maker .. Jan
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#45
2012-11-28, 01:04 PM
Fantastic, thanks again Jan,

k
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#46
2012-12-01, 11:59 PM (This post was last modified: 2012-12-02, 12:18 AM by jksmurf.)
jksmurf Wrote:Fantastic, thanks again Jan,

k

Hi Jan, Found time to really test this and I'm thrilled to say it works really well, thanks again!

Pretty steep learning curve for me, even coming off TVxB, with the ini settings etc, but I finally worked it out.
I only changed the WG++ config.ini for filename location, days and the channel line I got from the xml provided in the list of inis. All good stuff and VERY quick.

A GUI might a good next step to bring it more into the mainstream, for ease of navigation?

I noted a couple of anomalies in the resultant XML, not show stoppers, but it would be quite nice to know how to fix them up?

Unlike the TVxB ini which I know my way around well, the WG++'s setanta.com.ini is pretty much all Greek to me (and that's from someone that can read very limited Greek... ) Big Grin. This worries me a bit as I have found that as sites change I can change the TVxB ini's to compensate, (TVxB author no longer supports it) whereas for WG++ I'd have to constantly pester you. :o

Two more requests if I may ?
1. Is there a "-noconsole" mode, like TVxBs?
2. Probably "hard-basket" but is there anyway to get the "Live" shows categorised or shown in the description as (Live) or do they just use a jpg or png of live on the webpage?

Cheers,

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
WG++Maker
Offline

Junior Member

Posts: 26
Threads: 1
Joined: Jun 2011
#47
2012-12-04, 02:17 PM
jksmurf Wrote:Hi Jan, Found time to really test this and I'm thrilled to say it works really well, thanks again!

Pretty steep learning curve for me, even coming off TVxB, with the ini settings etc, but I finally worked it out.
I only changed the WG++ config.ini for filename location, days and the channel line I got from the xml provided in the list of inis. All good stuff and VERY quick.

A GUI might a good next step to bring it more into the mainstream, for ease of navigation?

I noted a couple of anomalies in the resultant XML, not show stoppers, but it would be quite nice to know how to fix them up?

Unlike the TVxB ini which I know my way around well, the WG++'s setanta.com.ini is pretty much all Greek to me (and that's from someone that can read very limited Greek... ) Big Grin. This worries me a bit as I have found that as sites change I can change the TVxB ini's to compensate, (TVxB author no longer supports it) whereas for WG++ I'd have to constantly pester you. :o

Two more requests if I may ?
1. Is there a "-noconsole" mode, like TVxBs?
2. Probably "hard-basket" but is there anyway to get the "Live" shows categorised or shown in the description as (Live) or do they just use a jpg or png of live on the webpage?

Cheers,

k.

Sorry to hear that you didn't understand my Greek. But don't worry too much, the setanta ini has a difficult to understand section that takes care of the construction of the postdata string which is very special and unusual. I think these kind of things aren't even possible in tvxb. So don't blame yourself that you can't read this chapter of Homer right away. Normal ini's are a lot easier to follow.

But if you like to learn the grammar read http://www.servercare.nl/Docs/Documentation.V1.1.1.pdf

I agree about the GUI, and started the development some time ago , but never got the time to finish it. Right now the new website webgrabplus.com takes most of the time.

The anomalies: The (n) at the end of the description is generated by the program to indicate the type of update n, c, g, r that was used to create the program listing. You can disable it when you add n to the mode in the config.
The double period .. is probably from the site itself (not sure) . You can try to add
index_description.modify {cleanup} to the ini. (to see if it works you must do one run in update="f", to force a regrab).
If that doesn't help run patchexe because I changed the way the description is composed and the old way can also generate a .. at the end.

re 1. At the moment there is no 'silent' mode of the program. I have seen that others have constructed batch files from which the program ist started in minimized mode. But I don't exactly remember how (I am terrible with batch files)
re 2. Can you give me an example of a live program? (channel and time) I can have a look in the html how it's listed and how to add it to the xmltv.

Jan
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#48
2012-12-04, 02:53 PM
Thanks, (n) is a simple fix, will try the ones for ".."

For 2 http://www.setanta.com/asia/TV-Listings/

See 11 am on Sun 16 for e.g.

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
WG++Maker
Offline

Junior Member

Posts: 26
Threads: 1
Joined: Jun 2011
#49
2012-12-04, 05:11 PM
jksmurf,

to add LIVE! at the beginning of the descriptions :
Under:
index_description.scrub {single|<span class="prog-desc">||</span>|</span>}
Add:
* live ??
index_temp_1.scrub {single|<img id="||</span>|</span>}
index_description.modify {addstart('index_temp_1' ~ "live.gif")|LIVE! }

Translated from the 'Greek'
1st line : index_temp_1 scrub the live.gif image line
2nd line: add to the start of the description the string LIVE! if index_temp_1' contains (~) the string live.gif

WG++Maker .. Jan
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#50
2012-12-04, 11:05 PM (This post was last modified: 2012-12-04, 11:15 PM by jksmurf.)
Cool! Will give it a whirl!

Works well!. If I wanted to add it AFTER the Title, rather than before Description, would I do this?

Under:
index_title.scrub {single|<span class="prog-desc">||</span>|</span>}
Add:
* Check for "Live" shows
index_temp_1.scrub {single|<img id="||</span>|</span>}
index_title.modify {addend('index_temp_1' ~ "live.gif")| (LIVE)}
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): « Previous 1 … 3 4 5 6 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  xmltv EPG Collector Error Waynesm 0 2,195 2014-09-25, 02:49 AM
Last Post: Waynesm
  RT_FilmFix - temporary fix up for Radio Times XMLTV users bgowland 12 5,689 2011-12-19, 08:53 PM
Last Post: bgowland
  XmlTV channel and show images downloader (beta) whurlston 0 1,403 2010-06-20, 05:56 PM
Last Post: whurlston
  Alternative New Zealand XMLTV listing source xanth 85 28,445 2009-04-05, 03:21 AM
Last Post: mattyb
  UK Listings - XMLTV Access to DIGIGUIDE systemshark 6 7,674 2008-06-14, 02:42 PM
Last Post: garymeds
  alternative oz xmltv epg source chalkster99 7 3,489 2007-11-13, 10:42 PM
Last Post: zehd
  I-xmltv: TV Guide customization & Zap2It EPG utility. Jim_ 304 94,833 2007-09-18, 02:20 PM
Last Post: lrf2005
  XMLTV Alternative dfdario 30 13,102 2006-11-09, 11:33 AM
Last Post: dfdario
  CleanEPG (XMLTV) testers wanted bgowland 4 2,309 2005-11-05, 08:28 AM
Last Post: simon

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

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

Linear Mode
Threaded Mode