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: Desktop Feature Requests Page: 1  Previous   Next
XML export change
Author Message
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
There is an anomaly in the XML export function. Perhaps it falls under the category "it's not a bug, it's a feature", but it still bugs me.

If a title has boxset children, but I haven't downloaded them, their UPCs is still listed under Boxset/Contents in the XML file. This screws up statistics for me, and causes problems in ProfilerQuery.

This is mostly a problem with TV series, where I don't download disc level profiles.

I'm not asking for the normal export function to be changed. It's entirely possible that someone else needs this information. But I would ask that a new command line option is added that excludes child profiles that are not part of my collection.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Superior Rating
Germany Posts: 2,217
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
If a title has boxset children, but I haven't downloaded them, their UPCs is still listed under Boxset/Contents in the XML file.

Feature. The information is part of the parent profile independent from the existing of the linked child profiles.

Quote:
This screws up statistics for me, and causes problems in ProfilerQuery.

On import make a list of all <ID> and compare all <BoxSet/Contents/Content> against this list and delete those that aren't in the <ID> list.
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Yeah, I had a feeling someone would say "Feature".

I would prefer that the export mirrored my actual collection, but you outline a good workaround. Thanks for that. Hopefully I can implement something like that without screwing something else up.

It means an extra pass through all titles after loading the XML, but hopefully it won't slow things down too much.

That may actually solve another problem for me personally, although it won't help some other ProfilerQuery users. I hate the way Profiler handles combo sets. For normal boxsets the parent is just a wrapper around a bunch of child profiles, but it doesn't really contain much useful data. For combo sets the parent is a movie. Big difference. But since I don't download the DVD profile, with the DVD data removed from the XML it will no longer appear to be a boxset. Instead it will look like a normal BD profile.
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,461
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Sometimes I have trouble following stuff, so forgive me if I misunderstand, but here are two things that I thought of that might help.

(1) Before Export, you can Collections/Flag/Flag Box Sets (BulkEdit) - you get only the parent profiles flagged. Not sure if this could help in any way, to have them separated out before Import.

(2) On Import, perhaps a fancy XPath statement could squeeze out the <BoxSet/Contents> nodes and eliminate the need for a second pass? This would eliminate getting any Profile IDs from anywhere but an included base profile, or a Parent with or without an included movie(?).
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited RegistrantStar Contributorgreyghost
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 1,438
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
You could always "cleanup" the profiles by editing them and doing an add/remove of any profile in box-set contents.
Registered: February 10, 2002
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
No, mediadogg and greyghost, I don't think you understand.

The (parent) profiles in question do not have any child profiles in my collection. That's the rub. But they do have child profiles in the online database. And when I export my collection, the XML file contains the IDs of those child profiles that are not in my collection, thus making them look like boxsets, when in my collection they are actually not.

I'm no XPath expert, but I don't think that I could eliminate just the child profiles that are not in the collection. Obviously I don't want to exclude child profiles that are in the collection.

I have, however, followed Mithis advice, doing a second pass through the profiles, eliminating the child IDs that are not in the collection. Thus a new release of ProfilerQuery is imminent.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar Contributorgreyghost
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 1,438
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
If you preview changes, do box-set contents show as a difference? If not, the your local profile still contains the box-set contents, they're just not displaying. What I suggested actually removes the box-set contents in the local profile and a preview changes will show that.
Registered: February 10, 2002
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,461
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting GSyren:
Quote:
No, mediadogg and greyghost, I don't think you understand.

The (parent) profiles in question do not have any child profiles in my collection. That's the rub. But they do have child profiles in the online database. And when I export my collection, the XML file contains the IDs of those child profiles that are not in my collection, thus making them look like boxsets, when in my collection they are actually not.

I'm no XPath expert, but I don't think that I could eliminate just the child profiles that are not in the collection. Obviously I don't want to exclude child profiles that are in the collection.

I have, however, followed Mithis advice, doing a second pass through the profiles, eliminating the child IDs that are not in the collection. Thus a new release of ProfilerQuery is imminent.

Actually I think I did understand, based on what you just said. Anyway, you have a good workaround, so its all good. When you get a chance, take a look at XPath. Eliminating the Boxset node does not delete any actual profiles, just the list of Profile IDs included in the Box Set - that list could include Profiles that are not actually in your database. But those profile IDs that are actually in your collection will still remain as Child Profiles who have been temporarily abandoned by the Parent.  I think that is what you wanted.
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,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting greyghost:
Quote:
If you preview changes, do box-set contents show as a difference? If not, the your local profile still contains the box-set contents, they're just not displaying. What I suggested actually removes the box-set contents in the local profile and a preview changes will show that.

How can I remove boxset content that isn't there?
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,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
To answer my own question (after testing):

- Add the child profiles to the parent
- Remove the child profiles from the boxset contents
- Delete the child profiles

But with a collection of 7000+ profiles, finding and fixing all profiles that need fixing is just not practical. And it shouldn't be necessary anyway. If it's not a bug, it's a misfeatures, IMHO.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantStar Contributorgreyghost
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 1,438
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
It's easier than you outlined.

Filter for Blu-ray and DVD.
Edit each profile, in box-set contents, click Assign, then click Remove (it doesn't matter what profile you add).

TV seasons may be a little harder to filter, but do the same.


I prefer the program not automatically update my profiles for any reason.
Registered: February 10, 2002
 Last edited: by greyghost
DVD Profiler Unlimited RegistrantStar Contributorgreyghost
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 1,438
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Or use the Database Query plugin and query Box-set Contents: Missing Child profiles.

Although for me this flags more than it should. Doesn't handle variants, so if your box-sets contain alternate ids, they are flagged as missing.
Registered: February 10, 2002
 Last edited: by greyghost
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,678
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Well, even if it may be easy to identify them, it's still a lot of work that one shouldn't have to go through. But since I fixed it in ProfilerQuery, it's not really necessary. I still think these child IDs shouldn't be there to begin with.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting greyghost:
Quote:
Although for me this flags more than it should. Doesn't handle variants, so if your box-sets contain alternate ids, they are flagged as missing.


Good to know.  I didn't know it was having issues there.
Get the CSVExport and Database Query plug-ins here.
Create fake parent profiles to organize your collection.
DVD Profiler Unlimited RegistrantStar Contributor69samael69
Registered: April 1, 2007
Canada Posts: 185
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting GSyren:
Quote:
Well, even if it may be easy to identify them, it's still a lot of work that one shouldn't have to go through. But since I fixed it in ProfilerQuery, it's not really necessary. I still think these child IDs shouldn't be there to begin with.


What I do is I don't assign a collection number to things I want to ignore. i.e. TV Season disks, Extra disks for combo DVD/BD packs, special features, things like that. Then I can ignore based on the lack of collection number.
    Invelos Forums->DVD Profiler: Desktop Feature Requests Page: 1  Previous   Next