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
Export UPC codes only?
Author Message
DVD Profiler Desktop and Mobile Registranttjubb
Geaux Cajuns!
Registered: March 24, 2007
Posts: 16
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Is it possible to export only the upc codes to a csv file?  I've installed the "export to csv" plugin but I don't see any option for selecting on the upc.  Lots of other data options to export but no upc.
Is this possible?

Thanks,
Tom
DVD Profiler Desktop and Mobile Registrantkahless
TaH pagh taHbe'!
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 17,804
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Maybe a workaround if you own excel:

Goto menu/export profiler database. this one creates an *.xml file. This one can be opened in MS Excel. One of the column contains the UPC. You could edit this sheet and save this in *.csv format! I tested this with M/S Excel 2002.
Thorsten
DVD Profiler Desktop and Mobile Registranttjubb
Geaux Cajuns!
Registered: March 24, 2007
Posts: 16
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
After a bit more playing around with the CSV plugin, I learned that PROFILE ID is indeed the UPC code.
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,917
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
That is correct.
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Ummm, I thought that the profile ID was the UPC/EAN code followed by a period then followed by the locality code, except for US locality, whiere it is just UPC code.

Of course that distinction may not be important if your collection is exclusively US locality, but us canajans wind up with lotsa xxx.3's and the European profilers, whoo!

I haven't used the CSV plugin, so I may be mistaken ...
-fred
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 FredLooks:
Quote:
Of course that distinction may not be important if your collection is exclusively US locality, but us canajans wind up with lotsa xxx.3's and the European profilers, whoo!

Sure, but gettin rid of to much data is always easier than working with too little data.

In this special case I would simply search&replace the "." with a LF/CR and "." converting
1234567890.3
1234567891.4
to
1234567890
.3
1234567891
.4
Then sort and kill all lines beginning with "."

cya, Mithi

PS Under unix it would be
sed 's/\./\n\./g'|grep -v '\.'
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
 Last edited: by Mithi
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
well of course using sed, one could simply:
    sed 's/\..*//'

or alternatively construct a similar little scriptlet to extract the UPCs from an XML export ...

but i take your point 
-fred
DVD Profiler Desktop and Mobile RegistrantAgrare
Registered: May 22, 2007
Reputation: High Rating
United States Posts: 1,033
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
or just bring the csv file into textpad or another similar text editor with more functionality than notepad and you can do find/replace using regular expressions.

in text pad it would be

Find:  \..+\n
Replace:  \n

just make sure you have the Regular Expressions checkbox ticked

last one might get skipped if there isn't a blank line, but its easy enough to just do the one manually, or add the line before running the Find/Replace

-Agrare
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
It's Profile ID because that's what the SDK called it.  Looking back on it, I should had named it UPC instead on Profile ID.  But I didn't.
Get the CSVExport and Database Query plug-ins here.
Create fake parent profiles to organize your collection.
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1  Previous   Next