NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 532 533 534 535 536 1231 Next »
UK listings and XMLTV Issues

 
  • 0 Vote(s) - 0 Average
UK listings and XMLTV Issues
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#41
2007-03-30, 11:34 AM
Brian, the problem backing up to a second drive is that you only have 1 day to find out something has gone wrong before you backup duff data.
My backup ran at 0800, but the empty EPG was downloaded at 0200, so main and copy was empty.
I use ghost to make a twice monthly full backup and daily incremental ones to a USB drive.

Martin
gingerneil
Offline

Member

Posts: 90
Threads: 30
Joined: Jun 2006
#42
2007-03-30, 02:27 PM
Yep - up and running again for me here. Thank ^&*^&* for that !
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#43
2007-03-30, 07:37 PM
martint123 Wrote:Brian, the problem backing up to a second drive is that you only have 1 day to find out something has gone wrong before you backup duff data.
Aaaah! But that's why my backup batch files all have this sort of construct...

Code:
copy data.bak-7.xml data.bak-8.xml
copy data.bak-6.xml data.bak-7.xml
copy data.bak-5.xml data.bak-6.xml
copy data.bak-4.xml data.bak-5.xml
copy data.bak-3.xml data.bak-4.xml
copy data.bak-2.xml data.bak-3.xml
copy data.bak-1.xml data.bak-2.xml
copy "C:\Program Files\XMLTV GUI\data.xml" data.bak-1.xml

Big Grin

Cheers,
Brian
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#44
2007-03-30, 09:41 PM
Clever, nice and simple.

Nice one Brian
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#45
2007-03-30, 09:55 PM
And there was me trying to create zip files with the date embedded in the filename (silly boy!)
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#46
2007-03-30, 11:36 PM
stu8080 Wrote:Nice one Brian
Thanks.

I'm not sure why I chose to keep 8 copies - but then again - just because I'm NOT paranoid doesn't mean to say the world ISN'T out to get me. Smile

Cheers,
Brian
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#47
2007-03-30, 11:54 PM
Good point... although it allows for weekends/weeks away from home. And hell, for the sake of a few extra lines in a batch script and a few extra kb's, why not?
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
sixgun
Offline

Member

Posts: 197
Threads: 35
Joined: Sep 2004
#48
2007-03-31, 12:03 AM
All working here too. Phew.

I did write my own XMLTV (radio times specific) grabber a while back. Turns out i lost the source code, so i loaded up my trusty copy of Reflector and got it all back. Thankfully i hadn't used the obfuscator on it! Anyway, i got it all built and made a few mods to it. It now makes a backup copy of the guide data every time if downloads it and embeds the date/time (down to the second!) into the backup filename. It's also got a days limit feature and the ability to ignore TBA programmes. I actually had a copy of the guide data it downloaded a few days before the radiotimes site problems. It works fine when used by GBPVR. I have it running in parallel to XMLTV, just in case!

If anyone is interested in looking at it, i'd be happy to put it up on the wiki (providing i can remember my username/password!). It's not exactly polished software, and it doesn't have a GUI of any kind. It's all controlled via the .config file. But i don't think it really needs a gui as it's run as a scheduled task.

Here is the config file to give you an idea of the complexity of setting it up.

Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="Base URL" value="http://xmltv.radiotimes.com/xmltv/"/>
        <add key="Channel Filename" value="channels.dat"/>
        <add key="Save Channels File" value="True"/>
        <add key="TBA Text" value="To Be Announced"/>
        <add key="Ignore TBA" value="True"/>
        <add key="Output Filename" value="data.xml"/>
        <add key="Days" value="7"/>
        <add key="Save Backup" value="True"/>
        <add key="Keep Backup Days" value="30"/>
        <add key="Channels" value="BBC1,BBC2,BBC3,BBC4,ITV1 Carlton Central,ITV2,ITV3,ITV4,Channel 4,E4,E4 +1,More4,More4 +1,Five,Five US,UKTV History,ABC1,Sky Three"/>
    </appSettings>
</configuration>

Should be fairly self explanatory.

I do get the odd crash, which i think is guide data related. But if there is enough interest i can put some logging code in and get to the bottom of it.



Anyway, let me know.
GBPVR: v0.99.5
Server: Athlon64 X2 3800+, 2GB Memory, 1480GB Storage, 6 DVB-T Tuners (2 x Nova-T 500 PCI, 2 x Nova-T PCI)
HTPC: Athlon64 3000+, 1GB Memory, 80GB Storage, Blackgold GDI DVB-T Tuner, Ahanix MCE-302 Case, MSI K8NGM2-FID motherboard
Main TV: Toshiba 42WLT66 LCD
Media Playback: 2 x MVP (wired)
Homepage: http://www.sixgun.co.uk/
Author of MpegImport utility
cosmocat
Offline

Member

Posts: 155
Threads: 20
Joined: Feb 2006
#49
2007-04-05, 10:50 AM
There may still be a problem here...
I have just checked and my EPG data is down to 6 days left.
I did a manual XMLTV download thismorning and checked the XML data recieved and the file still shows data from 29th March to 11th April, so it looks like the data hasn't been updated by radiotimes.com since it recovered from its outage.
Is anybody else seeing this from RadioTimes or is it just me ?
[SIZE="2"]2.5Ghz P4 celeron, 1GB RAM, 80GB system disk, 2x 200GB + 250GB recordings disks, 3x Nova-t 90002 DVB(T) tuners, Nvidia 5200 Graphics + BlueTak and a bent paperclip! . . . . .2 x MVP , 1 x PC Client. . . 1 x Netgear MP101[/SIZE]
[SIZE="2"]98.13b + XDVD, Weather, Checkemail, Solitaire, Sudoku, System Status, Community Skin.[/SIZE]
tkgafs
Offline

Senior Member

Posts: 594
Threads: 61
Joined: Jun 2004
#50
2007-04-05, 11:53 AM
sixgun Wrote:All working here too. Phew.

I did write my own XMLTV (radio times specific) grabber a while back.

If anyone is interested in looking at it, i'd be happy to put it up on the wiki (providing i can remember my username/password!). It's not exactly polished software, and it doesn't have a GUI of any kind. It's all controlled via the .config file. But i don't think it really needs a gui as it's run as a scheduled task.

I'd be interested in trying your code out

please post it to the wiki

thanks

Tkgafs
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  XMLTV Updates? phillyjim 1 2,736 2011-12-21, 04:46 PM
Last Post: pcostanza
  IR Blaster to Digital Box Issues meccano 3 4,223 2011-08-13, 11:49 AM
Last Post: meccano
  TV setup issues - PCTV nano stick 73e steveomcd 33 20,453 2011-05-26, 04:24 PM
Last Post: escape
  XMLTV import with UTF encoding fails (also valid for NPVR) miniGranis 4 2,369 2011-01-29, 08:16 PM
Last Post: miniGranis
  Missing Channels In Listings? hollow5555 4 2,430 2011-01-10, 05:53 PM
Last Post: hollow5555
  Resolution Issues when re-encoding captured video bgrieb 5 3,000 2010-11-02, 03:52 AM
Last Post: mvallevand
  Edit channel name when using xmltv as epg source Haggis 10 5,471 2010-10-18, 01:31 PM
Last Post: Haggis
  xmltv update timing problem aneez 3 2,204 2010-09-29, 06:34 AM
Last Post: aneez
  mc2xml issues tjc 8 3,799 2010-09-24, 07:37 PM
Last Post: tjc
  Free XMLTV? carz181 6 4,064 2010-08-30, 04:13 PM
Last Post: johnsonx42

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

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

Linear Mode
Threaded Mode