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 Technical Support Page: 1  Previous   Next
Exporting to CSV
Author Message
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,762
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Now and then people ask if it is possible to export their collection to CSV format. Usually the answer refers to a plugin called CsvExport that Mark Harrison wrote a long time ago. It works, but it is a rather blunt tool.

You can also export to CSV using ProfilerQuery. This allows you to select which fields to export, and in which order.
- Export your collection to an XML file.
- Start ProfilerQuery and load your XML export.
- Leave Main Selection empty (but make sure "All of" is selected).
- Enter the desired fields in the Presentation tab and click RUN.
If the result looks like what you want to export, select File/Save result to file. Voila! CSV file created.
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,762
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
It was just pointed out to me that Mark’s CsvExport can indeed be configured the same way that ProfilerQuery can. I had missed that when I tested it. So the advantage with ProfilerQuery isn’t that big when it comes to just export to CSV.

That said, ProfilerQuery is so much more than just exporting to CSV. It’s a very advanced query tool that can also produce simple text-only reports. And it offers statistics and other useful functions. So if you have ProfilerQuery there is no need for a separate CSV export program.

And, for what it’s worth, Mark has stopped developing for DvdProfiler, but I’m still here supporting and improving my programs.
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Unlimited Registrantnanoron
Registered: June 20, 2015
Reputation: High Rating
Posts: 192
Posted:
PM this userDirect link to this postReply with quote
Can I use either of these plugins to export my entire database as a CSV file in order to import it into another app? Some apps I'm interested in moving to will only accept CSV. I thought this wouldn't work.
 Last edited: by nanoron
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,488
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Parsing CSV can be very tricky for a database schema as complex as used in DVD Profiler. You have to be sure that the Export and Import formats match, or you will get garbage and / or errors.

I would suggest doing a test export from both plugins, using the most complex filter you need, and compare results. See which one most closely matches the specifications for the application you are using for import.

When I wrote the CSV tools within BulkEdit, I modelled my Export on Mark's plugin. BulkEdit Import can be tailored somewhat. So far as I know, BulkEdit is the only tool that can build a DVD Profiler database from scratch, using CSV or XML. You might not need that, just FYI as awareness of the complexity.

Microsoft Excel can import CSV, and has the ability to create a corresponding schema. This might be a good way to compare the results of different export tools. One big caveat when using excel, is to make sure that you protect numeric fields such as profile ID. Excel will treat the text as a number, and if you save it, you will have a mess of large numbers in scientific format. You need to either format the column as text or perfex a "'" before each number to force Excel to treat as text. I believe BuilkEdit CSV export does this automatically. Not sure.

If I were you, I would lean towards ProfilerQuery becuase you are more likely to get a tweak or additional feature or bug fix more quickly from Gunnar than anybody else.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,488
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
The safest method of all, is to use a double conversion. First export to XML, using the built-in one, or any plugin that supports that feature. Then you get a well-defined, easy to parse and repeatable output.

Next, there are various tools that allow you to make a script to parse the XML and create the CSV output of choice. Again, FYI for awareness of your options.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Unlimited Registrantnanoron
Registered: June 20, 2015
Reputation: High Rating
Posts: 192
Posted:
PM this userDirect link to this postReply with quote
For what  it's worth, I've tried a number of XML to CSV conversion apps with only limited success. My best results came from working directly with the MyMovies developer on importing the XML file. They seem responsive.
 Last edited: by nanoron
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,762
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I agree with mediadogg. Exporting everything to CSV is iffy. Cast and crew especially, but also Overview and Other Features. Not ideal for transferring to another program. XML is better for that purpose, but I haven’t seen any program that can import everything.

There are some programs that import just a subset of data - like UPC and personal info - and fetches the rest from IMDb or other sources. They may import from CSV.

That said, I don’t think people ought to abandon DVD Profiler unless they have a very compelling reason!
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,488
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting nanoron:
Quote:
For what  it's worth, I've tried a number of XML to CSV conversion apps with only limited success. My best results came from working directly with the MyMovies developer on importing the XML file. They seem responsive.

Agreed. And if needed, you can also manually edit the xml and try to meet the other guy in the middle, as they say.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 6,488
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting GSyren:
Quote:
I agree with mediadogg. Exporting everything to CSV is iffy. Cast and crew especially, but also Overview and Other Features. Not ideal for transferring to another program. XML is better for that purpose, but I haven’t seen any program that can import everything.


Ummm ... unless it has been broken, BulkEdit can import everything. Hundreds of hours of work, it should be able to import Mark-style CSV and official DVD Profiler XML exports. But I haven't tested for awhile. And the CSV import has a mapping function to allow for non Profiler headers.
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,762
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Ummm ... unless it has been broken, BulkEdit can import everything. Hundreds of hours of work, it should be able to import Mark-style CSV and official DVD Profiler XML exports. But I haven't tested for awhile. And the CSV import has a mapping function to allow for non Profiler headers.

Yeah, but Mark's CSV Export doesn't include cast and crew. It does export Directors, but only full name and no birth year. Not sure how one would export full cast and crew to CSV. So I stand by my statement that it's iffy.
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,488
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Quoting GSyren:
Quote:
Quoting mediadogg:
Quote:
Ummm ... unless it has been broken, BulkEdit can import everything. Hundreds of hours of work, it should be able to import Mark-style CSV and official DVD Profiler XML exports. But I haven't tested for awhile. And the CSV import has a mapping function to allow for non Profiler headers.

Yeah, but Mark's CSV Export doesn't include cast and crew. It does export Directors, but only full name and no birth year. Not sure how one would export full cast and crew to CSV. So I stand by my statement that it's iffy.

Oh, we have both called it iffy. I didn't remember that Mark's does not include cast and crew. I wonder if that same limitation is in the BulkEdit version. I'll check just for grins.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next