NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 25 26 27 28 29 … 93 Next »
INI, Text File Reader...

 
  • 0 Vote(s) - 0 Average
INI, Text File Reader...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#61
2009-02-20, 08:04 AM
OK. A few PMs and we're flying. Thanks whurlston!!
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
#62
2009-02-23, 07:34 AM
As I was searching for the reason why my new Ultra would not run all the way through while NOT interacting with Desktop, I discovered that this bit of code was the culprit

Code:
xmltv.DateString = Now().ToShortDateString
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
#63
2009-02-23, 07:40 AM
zehd Wrote:As I was searching for the reason why my new Ultra would not run all the way through while NOT interacting with Desktop, I discovered that this bit of code was the culprit

Code:
xmltv.DateString = Now().ToShortDateString
Any particular reason you are using that instead of "xmltv.Date = Now()" ?

The DateString in the build you have should be in the format of "YYYY-MM-DD". I'm adding more formats for the next build (part of that overall date/time issue). I'll have a new build for you in a couple of days but I'm swamped cleaning viruses in the other world at the moment.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#64
2009-02-23, 06:34 PM
whurlston Wrote:Any particular reason you are using that instead of "xmltv.Date = Now()" ?

Reason?

Quote:The DateString in the build you have should be in the format of "YYYY-MM-DD". I'm adding more formats for the next build (part of that overall date/time issue). I'll have a new build for you in a couple of days but I'm swamped cleaning viruses in the other world at the moment.

I must have written that code when the date was looking wrong and that fixed it. Your suggestion works (of course)

For myself, I like the current format. It's like Metric. It makes sense.

Speaking of metric, let's also have the new metric time format. 10 months a year, 100 days in a month, 10 hours in a day, 100 minutes in an hour...

(I'll bet we'll still want our days to be 11 hours long...)
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
#65
2009-02-23, 08:19 PM
zehd Wrote:Reason?



I must have written that code when the date was looking wrong and that fixed it. Your suggestion works (of course)

For myself, I like the current format. It's like Metric. It makes sense.

Speaking of metric, let's also have the new metric time format. 10 months a year, 100 days in a month, 10 hours in a day, 100 minutes in an hour...

(I'll bet we'll still want our days to be 11 hours long...)
I used the format produce by xmltv's na_dd grabber as a template. They use "YYYY-MM-DD" format so that's what I went with.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#66
2009-02-24, 06:53 PM
whurlston Wrote:I used the format produce by xmltv's na_dd grabber as a template. They use "YYYY-MM-DD" format so that's what I went with.

I'm thinking that I could deal with the date display formats. Originally I was just having trouble comparing date values, but that was just me on the learning curve...

The New Ultra has a tab dealing with Dates and their formats, superseding one over the other, etc...

---

On a slightly different note though, I've been working with different New Show detections, especially the code you provided...

Where your dll already 'tries' to detect IsNew, but then checks by dates against actual airdate...

How are you detecting the IsNew? Maybe there are other tells that we can fortify the check....

Within Ultra I have it checking for your IsNew, Previously-Shown dates and Date compare

(I've already got some other techniques used for around the world...)
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
#67
2009-02-24, 10:43 PM
I'm not currently doing any checks on the IsNew field. If the file contains the <new /> tag, then IsNew is set to true, if not, it's set to false. I plan to add some methods to assist in this though.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#68
2009-02-25, 02:03 AM
whurlston Wrote:I'm not currently doing any checks on the IsNew field. If the file contains the <new /> tag, then IsNew is set to true, if not, it's set to false. I plan to add some methods to assist in this though.

Well considering that I will be dealing with other detcteion methods, why don't I send you some samples, and techiques I used in Ultra 1... By implementing the checks in your DLL, it should be faster and more unified...
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
#69
2009-02-25, 05:12 AM
zehd Wrote:Well considering that I will be dealing with other detcteion methods, why don't I send you some samples, and techiques I used in Ultra 1... By implementing the checks in your DLL, it should be faster and more unified...
Sure. Go ahead and email it to me. My PM box is pretty full.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How Does "Use S01E01 File naming format if possible" work puck64 7 5,342 2015-08-25, 10:21 AM
Last Post: puck64
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,811 2014-01-02, 06:36 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,776 2013-10-08, 02:25 AM
Last Post: sub
  Accessing music file metadata in C# bgowland 6 3,310 2013-01-26, 05:14 AM
Last Post: bgowland
  RSS Reader tmrt 51 18,215 2011-02-21, 07:22 AM
Last Post: tmrt
  File browsing - a big ask imilne 3 1,999 2010-11-04, 09:03 PM
Last Post: imilne
  Run Multiple File Conversions On Your 4 Core -Burn Your Processor luttrell1962 12 4,582 2010-03-25, 07:33 AM
Last Post: luttrell1962
  Determining text size and available space Ommina 2 1,667 2010-03-15, 05:34 AM
Last Post: sub
  Using Windows file system shortcuts ACTCMS 0 1,808 2010-01-26, 11:45 PM
Last Post: ACTCMS
  Not looking in correct location for skin file scb147 4 2,219 2009-07-29, 06:26 PM
Last Post: scb147

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

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

Linear Mode
Threaded Mode