Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next
Tool: DpUpdateCheck
Author Message
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I got the idea for this tool when I read about mediadogg creating the HTTPJolie plugin. I had sometimes found that there were profiles that had been updated online that I had, for some reason, missed. I wanted to be able to compare my local profiles to their online counterparts in order to find those differences. So I created DpUpdateCheck to compare the unlocked sections of my profiles to the online. I figured that if I locked a section, then I wouldn't want to update it anyway. But ...

While testing I realized that most of the differences that I found were actually corrections that I had made to my local profiles, but that I had never contributed. So that changed the focus a bit, and I made the program more customizable.

Anyway, what it does is to compare the profiles that is in a DVD Profiler export file to the same profiles online, and create a flag file of the profiles that differ. This flag file is then saved in Profilers flag file directory, and you can load it in DVD Profiler. Then you can examine the differences (Online / Refresh DVD from Invelos / Preview Changes), or Alt-orc.

Since the checking can take some time you may want to work on something else while it is running, and therefore I have kept the main window very small:


The General Settings look like this:


And the Section Settings look like this:

The default is actually If not locked for all sections.

Download DpUpdateCheck version 1.0. Please read the help file, it contains important information!

And remember, you must have HTTPJolie installed in order to use DpUpdateCheck!
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantTraunStaa
Registered: June 2, 2009
Reputation: Highest Rating
Austria Posts: 305
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Thanks, Gunnar! Greenie 
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Please note that you don't have to run DVD Profiler/HTTPJolie elevated (as administrator) in order to use this integration!
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorRander
I hate mondays...
Registered: March 13, 2007
Denmark Posts: 670
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I'm obviously doing something wrong here...

Got this installed, exported my collection to an .xml-file and opened it with DpUpdateCheck.

My collection is just over 1000 titles, yet it runs thorugh the entire file in less than a second, saying there are no updates? In the sections, I have set everything to "Always", except Discinformation.
The future is here. It's just not widely distributed yet. (William Gibson)
 Last edited: by Rander
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Rander:
Quote:
My collection is just over 1000 titles, yet it runs thorugh the entire file in less than a second, saying there are no updates? In the sections, I have set everything to "Always", except Discinformation.

When you load the xml file, does DpUpdateCheck say that it has 1000 something profiles loaded?
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorRander
I hate mondays...
Registered: March 13, 2007
Denmark Posts: 670
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
Quoting Rander:
Quote:
My collection is just over 1000 titles, yet it runs thorugh the entire file in less than a second, saying there are no updates? In the sections, I have set everything to "Always", except Discinformation.

When you load the xml file, does DpUpdateCheck say that it has 1000 something profiles loaded?

Yes, it does.

My xml-file is here, if you would want to see it. :-)
The future is here. It's just not widely distributed yet. (William Gibson)
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Your xml file looks OK, at least at a quick check. And it sure runs through quick, so I really have to do some debugging to see what's going on. Sure looks like it's a bug. But I'll get back to you.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Sure was a bug! I bypassed the check if the entire DVD was locked - which all yours were. 

DpUpdateCheck 1.1
will fix that! Many thanks for reporting this problem so I could fix it!
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorRander
I hate mondays...
Registered: March 13, 2007
Denmark Posts: 670
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
Sure was a bug! I bypassed the check if the entire DVD was locked - which all yours were. 

ROTFLMAO! Honestly, for some reason, this made me laugh out loud, even though I'm home alone. In the past, I have done some programming myself, and this is the sort of thing that makes sense, until you remember the odd ways of users... :-)
Quote:

DpUpdateCheck 1.1
will fix that! Many thanks for reporting this problem so I could fix it!

Thank you very much, kind Sir! 
The future is here. It's just not widely distributed yet. (William Gibson)
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
A little background in case anyone is interested.

When you lock an entire DVD, that does not set the locks for each individual section. Rather it sets a separate lock.

In the first, unreleased, development version of DbUpdateCheck I only checked unlocked sections, since my idea was that if you locked it you didn't want it changed. So I had an initial test for Entire DVD Locked, and only if that lock wasn't set I would proceed and test the individual sections.

During testing I realized that the program could be much more useful if one could decide per section how it should be tested. But when adding that functionality I forgot that the "Entire DVD" logic had to be changed. And since I rarely lock entire DVDs myself I didn't notice this. 

So thank you, Rander! Without you this bug could have gone undetected for a very long time!
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Hey Gunnar. Seems like much fun being had here.

I think you tested this, but have you found it faster or somehow better to do the Invelos XML export and reload from your tool, rather than getting the XML collection directly via HTTPJolie?
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Well, it started as a personal project, so I took the easy way - I already had the code for loading and traversing the XML file, and I always had an up-to-date export file (runs automatically each night), so it made sense. At the time I don't think I even considered getting the local data via HTTPJolie.

However, now that you mention it, it makes sense to use HTTPJolie for  that as well. It'll most likely be a bit slower, but that's probably not a big concern. Certainly easier for those who don't always have an updated export file. I think I'll give it a go and  see how it does. Thanks for putting ideas into my head! 
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
DpUpdateCheck 2.0

I couldn't resist taking on mediadogg's "challenge", getting local data from HTTPJolie instead of from an export file. Not surprisingly it's a bit slower. Reading from a file is faster that getting the same data via HTTPJolie. But you don't really have to wait for it, just let it run while you do something else.

On the plus side it offers greater flexibility in selecting which profiles to test.

You can check any standard or custom collection, or Flagged.


Or you can select Open flag set and use any saved flag set in DVD Profiler as input.

If you abort a run, you now get this message:


As stated in that message, when you save the result to an already existing file you get the option of either appending to that file or overwriting it.

And, as always, at least glance through the help file!

PS You can, if you wish, install version 1.1 and 2.0 side by side by unzipping in different folders. In case you want to compare them.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,463
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Holy smokes. I plant a small seed and this genius grows a tree overnight!!!
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Holy smokes. I plant a small seed and this genius grows a tree overnight!!!

He he, not quite overnight. Changing the processing from reading an xml file to getting the data from HTTPJolie was easy. Selecting the input and handling the output took a little more thinking. But the ”boringest” part was updating the help file. Does any developer think documentation is fun?

The real genius is the guy who invented HTTPJolie. Without it the tree would have remained a seed.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,679
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Gee, I wish you hadn't called me a genius, mediadogg, because I just realized that I had made a mother of a mistake, and I cannot believe I didn't catch it during testing.

If you saved the result and ovewrote (or appended to) an older file, that worked OK. But if you saved as a new file, it looked like it was saved, but it wasn't! It was just lost!!!  

Fixed now in DpUpdateCheck 2.1.0
My freeware tools for DVD Profiler users.
Gunnar
 Last edited: by GSyren
    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next