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) ZTools and UltraXMLTV v
« Previous 1 2 3 4 5 … 12 Next »
Can I Pre-Process the xml Files?

 
  • 0 Vote(s) - 0 Average
Can I Pre-Process the xml Files?
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#11
2009-03-08, 07:41 PM
zehd Wrote:I've had a eureka moment, and I know how I can add Individual Channel time Offsets. I should have that for you by tomorrow...
Ultra is turning out to be a real Jack of All Trades. Did you plan for it to get this sophisticated when you began writing Ultra2?
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#12
2009-03-08, 08:03 PM
A little more than a year ago, -Oz- and I were thinking of working on something that would make the whole EPG easier for people. We had envisioned it to work for more than just GB-PVR EPGs too. I wanted to find a name that would be big. (I ended up with something quite pretentious)

Then -Oz- went off to serve his country and I was sort of left to do the imagining. So I started attempting to mimic I-xmltv in final output. It just sort of bloomed after that.

There aren't too many innovations in Version 2 just now, but I have learned a heckuva lot in the last year, and I've designed version 2 to be much more flexible to allow for expansion.

I've already added a couple of features I first introduced in Ultra Manager (which I don't really recommend any more (did I ever?)). I'll be adding more, including an ability to actually configure your EPG per Capture source, and work with multiple Capture Sources/EPGs...

I really want it to be easy, so step by step, I need guys like you to test it...

Thanks for your help
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]
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#13
2009-03-08, 08:07 PM
zehd Wrote:I really want it to be easy, so step by step, I need guys like you to test it...
Don't forget the "break it" part... Big Grin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#14
2009-03-08, 10:10 PM
Released 2.0.3354.26707

Copy only the main file and overwrite.

DELETE THE EXISTING _AllChannels.blahblah.text

You can start the program, press go (commit or not) and when the records start moving click 'Stop'

Then in notepad (hahah and you though I was going to write a tidy GUI for this) edit the hour offsets for each channel you want, plus or minus. Please watch for trailing spaces... I haven't added checking for this yet...

Next you can enhance with Commit, update the EPG and your listings should still be fine...

Now in order to do this, I've disabled the 'auto-fix channels'. Both auto-fix and timeoffset will use the same mechanism and I haven't fixed the fix yet

I'm committed to Auto-Fix Channels. It's one of those things that would be used only a couple of times a years, but when it happens, left unchecked, can mess with you for a couple of days, till you figure its time to Fix the Channels...

Just like auto fixing the channel logos. which is coming next...
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]
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#15
2009-03-09, 02:49 AM (This post was last modified: 2009-03-09, 03:40 AM by LewE.)
zehd Wrote:Released 2.0.3354.26707

Copy only the main file and overwrite.

DELETE THE EXISTING _AllChannels.blahblah.text

You can start the program, press go (commit or not) and when the records start moving click 'Stop'

Then in notepad (hahah and you though I was going to write a tidy GUI for this) edit the hour offsets for each channel you want, plus or minus. Please watch for trailing spaces... I haven't added checking for this yet...
I tried this but I must be doing something wrong.

First I tried with lines like this: I10240.labs.zap2it.com||37.HBO.12==-300
to indicate -3 hours. After doing the UpdateEPG there were no listings for that channel so I figured that you wanted the entry to be like this:
I10240.labs.zap2it.com||37.HBO.12==-3
That got me the same results of nothing for those stations in the listings.

Did I misunderstand how to indicate the hour offset?


Some observations:
1. Make sure you can handle 30 minute offsets. Being a Canadian I'm sure you are aware of your brethren at the very Eastern part of your country. Although I live in California now, I grew up in New England. My first job after college, I got to work on a project in Halifax. I was surprised to find that there was a time zone in North America that was 1 hour ahead of the Eastern Time zone. Then I found that that there was one more that was even 30 minutes earlier.

2. The Stop Update EPG button has the same tooltip as the GB-PVR Update EPG button. I assume you just copied it and pointed to different logic for the On Click event but forgot the Hint property.

3. Edit Update EPG.bat and Enable Update EPG.bat buttons don't have tooltips.

4. The Update EPG.bat is Enabled message should be highlited in a different color, especially in the "abnormal" state. At this point, I've lost track of whether you want it updated or not. :o
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#16
2009-03-09, 04:28 AM
LewE Wrote:Did I misunderstand how to indicate the hour offset?

Sorry, it was supposed to be single hours

Quote:Some observations:
1. Make sure you can handle 30 minute offsets. Being a Canadian I'm sure you are aware of your brethren at the very Eastern part of your country. Although I live in California now, I grew up in New England. My first job after college, I got to work on a project in Halifax. I was surprised to find that there was a time zone in North America that was 1 hour ahead of the Eastern Time zone. Then I found that that there was one more that was even 30 minutes earlier.

#$%^%*(&^$. Yes. I know. I didn't care. Now you drew attention to it. Great! Unless I want to change my 'location', to another part of the world that doesn't care about anything other then their own matters (did they catch that?) I now have to build this in.

(More expletives...)

This means that the units will be in minutes not hours. I'd be interested to see 23 minutes or -74 minutes...

#%*^%$(&^(. Whew!
Quote:3. Edit Update EPG.bat and Enable Update EPG.bat buttons don't have tooltips.

Not everything is going to have tooltips unless the explanation goes beyond the very obvious

Quote:4. The Update EPG.bat is Enabled message should be highlited in a different color, especially in the "abnormal" state. At this point, I've lost track of whether you want it updated or not. :o

It really doesn't matter. Leave enabled (if you normally use the UpdateEPG.bat - some people don't) As long as you Update the EPG from this app, it will always disable the batch IF IT WAS PREVIOUSLY enabled


I was going to tell you that there was a new version available, but now I have some work to do...
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]
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#17
2009-03-09, 04:40 AM
zehd Wrote:Sorry, it was supposed to be single hours
Serious face on. :confused:

I tried putting it in "single hours", e.g. -3.

Did I put the number in the wrong place?


Quote:#$%^%*(&^$. Yes. I know. I didn't care. Now you drew attention to it. Great! Unless I want to change my 'location', to another part of the world that doesn't care about anything other then their own matters (did they catch that?) I now have to build this in.

(More expletives...)

This means that the units will be in minutes not hours. I'd be interested to see 23 minutes or -74 minutes...

#%*^%$(&^(. Whew!
Well, you could just forgo the unimaginably large population of Newfoundlanders who are potential users. Big Grin

I can't believe that there are that many other time zones that are fractions of an hour different from the adjacent one.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#18
2009-03-09, 04:54 AM
LewE Wrote:Serious face on. :confused:

I tried putting it in "single hours", e.g. -3.

Did I put the number in the wrong place?


Well, you could just forgo the unimaginably large population of Newfoundlanders who are potential users. Big Grin

I can't believe that there are that many other time zones that are fractions of an hour different from the adjacent one.

Apparently, that half time zone is part of being a proud Canadian. And so I went one better...

Release: 2.0.3354.38747

Delete any txt file or ini file with the word channel in the filename... We're starting over again...

Start Ultra, 'Go'. When the records start flying, stop.

Two new text files will have been created. One is a Channel Replacement table and one is a TimeOffset replacement table (I really tried keeping them in on e file but I had to do this because of this:

First, the ChannelReplace file, lets Ultra know when there is a change in listings so it can Auto-Fix Channels. This list is based on the channel order including it's order as indexed by the listing source. One small change, and there's a fix channel... That's a good thing.

But if you have spent hours tweaking the second file, setting specific offset times per channel, the work would be lost if there was a listings change.

So the second file is a list of Time Offsets in MINUTES (60 min = 1 hour forward, -120 is two hours back) that is associated with station Call signs. That means that if there is a listing change, and the station changes it's index, the callsign to TimeOffset index will still be valid.

Caveat. with this method, if your TV provider adds channels, you will have to add the callsign yourself. (I'm not going any further with this part)

I have also made it compatible with parts of the world where there are separate displaynames with and without channel numbers or callsigns

And YES it works with 23 minutes and -73 minutes offset...
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]
LewE
Offline

Posting Freak

Posts: 771
Threads: 115
Joined: Oct 2007
#19
2009-03-09, 06:08 AM
zehd Wrote:Apparently, that half time zone is part of being a proud Canadian. And so I went one better...

Release: 2.0.3354.38747
I had trouble getting good results.

I wanted to let you know now rather than keep you waiting tonight. I will experiment further tomorrow and let you know exactly what I am seeing.

By the Way, the Restore XMLTV File has become one of my favorite features of Ultra. With all my testing I use this a whole lot. I imagine you use it even more.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#20
2009-03-09, 06:16 AM
LewE Wrote:I had trouble getting good results.

I wanted to let you know now rather than keep you waiting tonight. I will experiment further tomorrow and let you know exactly what I am seeing.

By the Way, the Restore XMLTV File has become one of my favorite features of Ultra. With all my testing I use this a whole lot. I imagine you use it even more.

I suspect the main reason is that SD does things differently than mc2xml. I can already see a huge problem with that.

Give me a bit...
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]
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Beta: UltraXMLTV Post-Process Renamer zehd 25 21,970 2011-11-14, 06:18 AM
Last Post: Ski098
  Error process cannot access cache because it is in use by another process dennit 5 3,745 2009-07-22, 04:18 AM
Last Post: zehd
  Transcoding TS files without mediaMVP Sunken 5 4,417 2009-02-27, 06:32 AM
Last Post: stustunz
  ZProcess2 - The case of the killed process... hockeyrink 3 2,342 2008-08-24, 05:27 AM
Last Post: hockeyrink
  ZProcess dvr-ms files Caseyjones 3 2,511 2008-05-06, 02:15 AM
Last Post: zehd
  ZProcess: MOV Files pbb 2 1,928 2008-04-30, 02:21 PM
Last Post: pbb
  ZProcess2 not creating files and crashing MVP punchdrunk717 12 4,280 2008-03-23, 04:53 PM
Last Post: zehd
  Zprocess2 and dvr-ms files Rapper 1 1,799 2007-10-29, 02:35 AM
Last Post: zehd
  Will ZRENAME rename all files associated with the mpeg? dvasco 2 1,945 2007-10-17, 02:16 AM
Last Post: dvasco
  ZProcess for standard mpg files? FlatEarth 8 2,853 2007-09-07, 02:31 AM
Last Post: zehd

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

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

Linear Mode
Threaded Mode