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 … 278 279 280 281 282 … 1231 Next »
XMLTV - automatic grabbing config

 
  • 0 Vote(s) - 0 Average
XMLTV - automatic grabbing config
BigMoose
Offline

Posting Freak

Posts: 838
Threads: 44
Joined: Jan 2008
#11
2008-06-05, 08:51 AM
Does the XMLTV GUI prog do anything that the command line xmltv doesn't? I just run "xmltv tv_grab_uk_rt --days 14 --output file.xml". Only problem is when the grabber fails and you end up with a tiny xml file, GBPVR uses it anyway and I end up with little or no useful data.
homebrewpc
Offline

Member

Posts: 96
Threads: 20
Joined: Nov 2006
#12
2008-06-07, 09:51 AM
whurlston Wrote:
Code:
@echo off
"C:\Program Files\XMLTV GUI\XmltvGUI.exe" /Grab

Hi, Thank you. Much appreciated. Double clicked on the .bat file and it's now grabbing EPG data successfully.

Thank you again Smile
zvm
Offline

Member

Posts: 70
Threads: 10
Joined: Jan 2007
#13
2008-07-26, 06:48 PM
Hi,

I am from Croatia, but I am using the same grabber. Everything works fine except one thing: GBPVR adds up two hours to every program start/stop time. I.E if show starts at 19:00, GBPVR lists it at 21:00.
Here is how it looks in my xml file: "20080728090500 +0000". I selected option to add nothing to published schedule, but anyway GBPVR adds up 2 hours.
if I delete +0000 part from the file (replace through the whole file) my tv listing is ok!
What can I do? I am not ready to make this replace regularly. It should run automatically . I just started using this grabber, since my old one (TVxb) became problematic.
thanks for any suggestion.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#14
2008-07-26, 06:54 PM
There has been no known problems with GB-PVR's handling of xmltv files for several years now, so I can only suggest that either your machine has its timezone set incorrectly, or your xmltv grabber is generating incorrect times in the xml file.

"+0000" is a saying the times are in UTC. From a guess, I'd say Croatia is about 2 hours ahead of UTC, so if it works when you delete the "+0000" then it sounds like your grabber is incorrectly sticking "+0000" on the end of local times.
zvm
Offline

Member

Posts: 70
Threads: 10
Joined: Jan 2007
#15
2008-07-26, 07:21 PM
I assume that the problem is with the grabber. But why GBPVR adds up two hours whether I set "+0000" or "+0200" or "-0200"!?
i have timezone correctly set (CET/CEST)
markbb1
Offline

Member

Posts: 155
Threads: 7
Joined: Jul 2006
#16
2008-07-27, 09:30 AM
zvm Wrote:I assume that the problem is with the grabber. But why GBPVR adds up two hours whether I set "+0000" or "+0200" or "-0200"!?
i have timezone correctly set (CET/CEST)

I had a similar discussion on this board a few weeks ago. Every EPG viewer that I have ever used ignores the UTC offset. Apparently GBPVR does too. It seems to be be determined that the program time is in UTC, and your PC is in CET so it adds two hours. Here's one thing you can do:

Supposedly XMLTVAlter can "Alter Programme Time" - Alters a programme's start and stop times for selected channels.

You would probably have to make it do that for all your channels.

Get XMLTVAlter from here
http://forum.epgstream.net/viewtopic.php?f=36&t=54
Figure out the command sequence that changes all the start and stop times to be two hours earlier.
If you use a batch file to grab your data, incorporate that XMLTVAlter command sequence into your grabber batch file.
With any luck, that will relieve you from having to manually correct the data every time you need to update your guide.
zvm
Offline

Member

Posts: 70
Threads: 10
Joined: Jan 2007
#17
2008-07-27, 06:44 PM
Thanks Mark. I found another solution: http://sourceforge.net/projects/xmltv/

This one also adds two hours (it has "+0200" automatically for every show), but somehow GBPVR do the right thing with its file.
This programme also has additional feature of concatanating several xml files into one (tv_cat). Actually, I use this feature since i don't know how to change or set encoding automatically. I need UTF, and xmltv does it in ISO-8859. Everything is ok with ISO, but I don't see Croatian special characters.
markbb1
Offline

Member

Posts: 155
Threads: 7
Joined: Jul 2006
#18
2008-07-28, 04:24 PM
zvm Wrote:Thanks Mark. I found another solution: http://sourceforge.net/projects/xmltv/

This one also adds two hours (it has "+0200" automatically for every show), but somehow GBPVR do the right thing with its file.
This programme also has additional feature of concatanating several xml files into one (tv_cat). Actually, I use this feature since i don't know how to change or set encoding automatically. I need UTF, and xmltv does it in ISO-8859. Everything is ok with ISO, but I don't see Croatian special characters.

I don't know if this will help, but it wouldn't hurt to look.

http://www.prize.nl/software/pvr/xmltv.h...atin1_UTF8

download from http://www.prize.nl/software/pvr/Convert...1_UTF8.zip

Convert_Latin1_UTF8 converts an XML file from Latin1/ISO/IEC 8859 encoding to UTF-8/Unicode and vice versa.

How to use Convert_Latin1_UTF8
Enter parameters:

Convert_Latin1_UTF8 INPUTFILE --output OUTPUTFILE [--ToFormat UTF-8|Latin1]
zvm
Offline

Member

Posts: 70
Threads: 10
Joined: Jan 2007
#19
2008-07-30, 08:40 AM (This post was last modified: 2008-07-30, 09:16 AM by zvm.)
Mark, thank you again! Unfortunately it didn't solve the problem. It helps if I replace ISO with UTF only in the first line of my xml file. This tool obviously changes some other characters within file (understandable!).

Conclusion: Generated file with ISO encoding is just fine. I only need to change encoding type from ISO to UTF in the first line of generated file. Reencoding do some more unwanted changes.

I need to find solution how to automatically (through script) make find/replace. Or to stick with the current solution which is also ok, but not as much detailed with the programme descriptions and stuff like that.

Edit:
I found solution http://www.bestcode.com/html/findreplace.html.
This is a handy tool for command line find/replace. Just what I need. It might be useful to the others for whatever purposes.
markbb1
Offline

Member

Posts: 155
Threads: 7
Joined: Jul 2006
#20
2008-07-30, 05:48 PM
zvm Wrote:Mark, thank you again! Unfortunately it didn't solve the problem. It helps if I replace ISO with UTF only in the first line of my xml file. This tool obviously changes some other characters within file (understandable!).

Conclusion: Generated file with ISO encoding is just fine. I only need to change encoding type from ISO to UTF in the first line of generated file. Reencoding do some more unwanted changes.

I need to find solution how to automatically (through script) make find/replace. Or to stick with the current solution which is also ok, but not as much detailed with the programme descriptions and stuff like that.

Edit:
I found solution http://www.bestcode.com/html/findreplace.html.
This is a handy tool for command line find/replace. Just what I need. It might be useful to the others for whatever purposes.

Thanks for letting us know you got it solved.
If you were already using xmltv.exe, you might have been able to use tv_cat to fix it. I don't know for sure, but if you created an xmltv file with just the top couple lines of the xmltv file (with the ISO changed to UTF) and one channel, then tv_cat your data file and the small file, the resulting file might have been what you wanted. Might have saved installing another program.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  XMLTV Updates? phillyjim 1 2,727 2011-12-21, 04:46 PM
Last Post: pcostanza
  XMLTV import with UTF encoding fails (also valid for NPVR) miniGranis 4 2,359 2011-01-29, 08:16 PM
Last Post: miniGranis
  Automatic Transcoding Not Working taz 3 2,293 2010-11-22, 09:01 AM
Last Post: goelectric
  Edit channel name when using xmltv as epg source Haggis 10 5,423 2010-10-18, 01:31 PM
Last Post: Haggis
  xmltv update timing problem aneez 3 2,194 2010-09-29, 06:34 AM
Last Post: aneez
  Free XMLTV? carz181 6 4,043 2010-08-30, 04:13 PM
Last Post: johnsonx42
  Can't view channels in config donschjr 8 2,923 2010-08-13, 12:50 AM
Last Post: donschjr
  Easy way to toggle Client/Server without using Config? Dan the man 2 2,145 2010-08-02, 11:53 AM
Last Post: Reddwarf
  Strange database problem -- pvrx2 not seeing updates, EWA and Config.exe are. 86atc250r 5 2,519 2010-07-26, 10:09 AM
Last Post: martint123
  DVB epg to XMLTV fuzzweed 2 1,791 2010-06-25, 10:43 AM
Last Post: fuzzweed

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

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

Linear Mode
Threaded Mode