2012-08-09, 21:04
(2012-08-07, 05:34)angrycamel Wrote:(2012-08-06, 15:15)angrycamel Wrote: Just found a bug in my patch. The content of the runtime property is not consistently formatted. Some appear to load HH:MM format into it instead of converting first to a count of minutes. I will have to detect this and convert on the fly. I'll get that knocked out tonight.
Fixed this with the following updated patch. http://pastebin.com/keH5BcKE
It will now auto detect the format, parse it out, and convert it to a number of seconds.
If debug logging is turned on you will see something like this:
Code:08/06/2012 11:24:12 PM DEBUG Search:FreeCable Parsed 40:34 to 2434 mins
08/06/2012 11:24:12 PM DEBUG Search:FreeCable Checking runtime filter: GT|1200
08/06/2012 11:24:12 PM DEBUG Search:FreeCable Runtime Filter - operator: GT
08/06/2012 11:24:12 PM DEBUG Search:FreeCable Runtime Filter - runtime: 1200
08/06/2012 11:24:12 PM DEBUG Search:FreeCable Actual Runtime: 2434
(2012-08-06, 17:18)spanktastic2120 Wrote: wow thats extremely useful, i hope it gets added. nice work.
Thanks!
I would really like to get this working but do not know a thing about java programming/compiling, although I am really eager to learn Any chance you could point to me to a good source for compiling the source with your patch or give me some guidance? Thanks for your work upgrading this great tool!