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) v
« Previous 1 … 8 9 10 11 12 … 125 Next »
EPG Utility: YApi2XML (discontinued)

Thread Closed 
 
  • 0 Vote(s) - 0 Average
EPG Utility: YApi2XML (discontinued)
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#351
2008-01-06, 04:03 AM
As far as I know, all XMLTv grabbers output the start and stop times in GMT format. The application using the data then converts it to local time. I'm surprised that that application does not.

You can try changing the offset in the files. I don't believe that Oz has anything implemented that will do that but you can open the file in something like Notepad++ and run a search/replace on all " +0000" and adjust it to your timezone. If you are on Eastern Standard Time, you would change it to " -0500". You may have to use the opposite +/- symbol from your timezone. I can't remember offhand.
bryanbelt
Offline

Junior Member

Posts: 5
Threads: 0
Joined: Nov 2007
#352
2008-01-06, 05:41 AM
I know that the program uses XMLTV to do the grabbing and the offset is set in that configuration. The problem is, I don't know how to force Yapi2XML to do the same. . .I took your advice about editing the offset in the XML itself, all to know avail. . .still off by 6 hours. . .any ideas?

Bryan
bryanbelt
Offline

Junior Member

Posts: 5
Threads: 0
Joined: Nov 2007
#353
2008-01-09, 06:26 AM
Okay. Here's what I've found. . .changing the information in the UTC offset does nothing to correct the issue. I HAVE located what is causing my dilemma, however. The issue's not so much in the chosen time zone as much as it's in the start and stop times. The start and stop times are formatted this way in a sample SchedulesDirect XML, which works fine for me:

20080108030000

You'll note that this start time is for January 8, 2008 beginning at 3AM.

20080108033000

The end time is for January 8, 2008 ending at 3:30AM.

Conversely, the XML output from Yapi2XML looks identical to the SchedulesDirect, except that the same program start time looks like this:

20080108090000

Likewise, the end time is as follows:

20080108093000

Herein lies my challenge. I suppose what I will ultimately need is a "custom" Yapi2XML formatted for my timezone or at least directions on what I would need to change using a VB6 disassembler.

Any thoughts?
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#354
2008-01-09, 08:15 AM
If you can wait a few days on this, the code that I am working on will read and write xmltv files. With some minor additions, I can put together an app that will read the file, adjust the dates and then spit out a new file with the corrected dates. Once I have the code that I'm already working on done, it would probably take me about an hour to do a customized app for what you need.
bryanbelt
Offline

Junior Member

Posts: 5
Threads: 0
Joined: Nov 2007
#355
2008-01-09, 04:36 PM
whurlston Wrote:If you can wait a few days on this, the code that I am working on will read and write xmltv files. With some minor additions, I can put together an app that will read the file, adjust the dates and then spit out a new file with the corrected dates. Once I have the code that I'm already working on done, it would probably take me about an hour to do a customized app for what you need.
Whurlston,
I would be DELIGHTED to wait! I would be ecstatic to wait! Smile One thing you may bear in mind in making the "customized" app is daylight savings time. If you're going to hard-code the time zone in, you may want to make one for daylight savings time and another for standard time. I don't know as much about coding as I would like, so I'm not sure what kind of effort would need to be put in to do a "drop-down" where you could choose your timezone or a radio button to switch between daylight savings time and standard time. I will gladly be your guinea pig in this endeavor, however. Let me know and keep me posted on the progress. . .

Bryan
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#356
2008-01-09, 10:03 PM
bryanbelt Wrote:Whurlston,
to be put in to do a "drop-down" where you could choose your timezone or a Bryan

HAHA. Whurlston don't do 'dropdowns'. If you want a dropdown, talk to me!

Actually, My own enhancer would also be a candidate for changing the info you want changed, and it has a GUI with lots of dropdowns. But, I'd like to see what whurlston is doing.

My tool is working well, but it is slow. I wanna see how fast whurlston can get a wad of info processed...
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
#357
2008-01-09, 10:20 PM
zehd Wrote:I wanna see how fast whurlston can get a wad of info processed...
I'm converting the MCE guide with pretty much everything but the video and audio tags in under a minute now. Wink

That includes the import from MCE, conversion and writing the file.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#358
2008-01-09, 10:23 PM
whurlston Wrote:I'm converting the MCE guide with pretty much everything but the video and audio tags in under a minute now. Wink

That includes the import from MCE, conversion and writing the file.

But are you shuffling data around?
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
#359
2008-01-09, 10:24 PM
bryanbelt Wrote:Whurlston,
I would be DELIGHTED to wait! I would be ecstatic to wait! Smile One thing you may bear in mind in making the "customized" app is daylight savings time. If you're going to hard-code the time zone in, you may want to make one for daylight savings time and another for standard time. I don't know as much about coding as I would like, so I'm not sure what kind of effort would need to be put in to do a "drop-down" where you could choose your timezone or a radio button to switch between daylight savings time and standard time. I will gladly be your guinea pig in this endeavor, however. Let me know and keep me posted on the progress. . .

Bryan

Here is what you want...

Double click on it and it shows the command line switches...
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
#360
2008-01-09, 10:24 PM (This post was last modified: 2008-01-09, 10:29 PM by whurlston.)
The app I'm proposing for Bryan will only change the start/stop times though. The new MCE converter will not include any data enhancements like the new show marker in the titles. You've already done a solid app to do that so I don't see the point in me doing it too. You should be able to use my dlls to import and export the xmltv files quickly though. You can handle all the enhancements inbetween.

Edit: I just saw the "TimeOffset" attachment. That should do it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (51): « Previous 1 … 34 35 36 37 38 … 51 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  vidImport utility support carpeVideo 73 54,110 2012-05-27, 06:27 AM
Last Post: jksmurf
  YApi2XML - Run-time Error 13: Type Mismatch nobody481 11 5,406 2008-12-15, 11:48 PM
Last Post: Base
  File Renaming Utility: AddEpisode turkey 185 52,738 2008-12-14, 05:30 PM
Last Post: heath11
  Extended program information utility? SLR_65 10 5,469 2008-10-29, 02:33 AM
Last Post: UncleJohnsBand
  Yapi2Xml Errors - Possible Solution sjwaste 3 2,228 2008-07-23, 05:18 PM
Last Post: khaver
  YApi2XML Error: Schedule file corrupted or not found jschill 8 4,360 2008-06-17, 11:39 PM
Last Post: zehd
  Yapi2xml run-time errror '76': Path not found van helsing 1 1,575 2008-03-16, 05:25 AM
Last Post: -Oz-
  yapi2xml problems mnbryant2001 3 2,172 2008-02-29, 11:07 PM
Last Post: zehd
  Any rename utility that renames before recording? linfor 37 8,908 2008-01-04, 05:08 AM
Last Post: linfor
  yapi2xml - error downloading providers spillerm 5 2,685 2007-10-15, 10:07 PM
Last Post: -Oz-

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

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

Linear Mode
Threaded Mode