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
Exporting cover art
Author Message
DVD Profiler Unlimited Registranttamvegas
Registered: May 30, 2007
Posts: 4
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Is ther a plugin or option to export the cover art from a collection (preferably with the title as the file name) to a directory?
I have about 1200 movies in my collection and want to export the cover art so I can resize and convert them to png files. I use a Philips TSU9600 remote to control my rig and am using the cover art as buttons to trigger automatic setup and playback.
I did this all manually several years ago with my old remote, but I have to redo the whole collection to bring the size and resolution up to the present capabilities (130x155 pixels at 96dpi versus 70x100 pixels at 72 dpi ).
Thanks
DVD Profiler Unlimited RegistrantStar ContributorVirusPil
uncredited
Registered: January 1, 2009
Reputation: Highest Rating
Germany Posts: 3,087
Posted:
PM this userDirect link to this postReply with quote
You can find the cover pictures in your DVDProfiler folder at "My Documents". I think with the EAN/UPC as file name.

Edited for Addition:
This is where the cover art should be:
C:\Users\xxxx\Documents\DVD Profiler\Databases\Default\Images
xxxx = windows username
Default = naming of database
Of course if you started your database in a different folder, you have to look there.
You can find the folder in File -> Open database
 Last edited: by VirusPil
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
And if you want a handy place to grab the full path, "view source" on any HTML section, and you will see something like:

var DP_ProgramPathThumbnails = "C:\\Users\\MediaDogg\\Documents\\DVD Profiler\\Databases\\CollTest\\Images\\Thumbnails\\";

(The full size images are in the \images folder also)

I remember somebody wrote a conversion script that they used with my plugin DVDProfileLoop, but if you are handy with VB Script or similar, you can cobble something up yourself pretty quickly when you know where to find stuff. Maybe share it when you're done? 
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
Hey, new product!!! BDPFrog.
 Last edited: by mediadogg
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 tamvegas:
Quote:
Is ther a plugin or option to export the cover art from a collection (preferably with the title as the file name) to a directory?

Would also be possible with a XSLT that extract the information from the XML-Export, give me a few minutes to overhaul some old Stylesheet that almost did what you want.

cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
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
Tada! Covermover.xsl
- get a XSLT-Processor (e.g. Saxon-HE) and install/unzip it to a directory of your liking
- save the Covermover.xsl to the same directory and open the file in a text editor to change the two directory entries according to your setup
- in DVD Profiler goto File - Export Profile Database and put this file the same directory
- open a command-line and change into the Saxon-Directory
- start the processing with:
java -jar saxon9he.jar -novw collection.xml covermover.xsl > covermover.bat

Now just execute the Batchfile and of you go.

cya, Mithi

PS I only used <Title> for naming the covers, if you have two discs by the same name this will cause trouble, but it would be easy to insert additional fields, like <DistTrait>, <ProductionYear> or even <Released>
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
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
@Mithi - now that's what I'm talkin' about ... 
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 RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Mithi, does this works with colons and other invalid filename characters?
Karsten
DVD Collectors Online

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 DJ Doena:
Quote:
Mithi, does this works with colons and other invalid filename characters?

So, you think I should have tested the actual copying on more than one title, and that being "Akira"? 

Now it does, "translate" weeds out the most notorious culprits, especially the asterisks in M*A*S*H would have been slightly problematic.

cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
You might want to add
Quote:
\ / < > |
as Windows frowns upon them, too.

But thx for the fix.
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantMuckl
That's my common name.
Registered: April 9, 2009
Reputation: Great Rating
Germany Posts: 858
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Great solution, Mithi!   
 
1.0.1, iPhone 3GS, iOS 4.1.0

Trivia v0.3.1
My HSDB v5 additions, HTML windows and other stuff
DVD Profiler Unlimited Registrantsk_shadow
Registered: September 6, 2012
Posts: 5
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Hi Mithi,

appreciate your help as i'm getting a cmd error

'java' is not recognized as an internal or external command,
operable program or batch file.

Thanks,
SK_Shadow
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 sk_shadow:
Quote:
'java' is not recognized as an internal or external command,
operable program or batch file.

Looks like you don't have Java installed?

Either install Java or simply use msxsl.exe, a small command-line tool from Microsoft. Put it in the same directory as the XML and the XSL and type

msxsl.exe collection.xml covermover.xsl > covermover.bat

cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
DVD Profiler Unlimited Registrantsk_shadow
Registered: September 6, 2012
Posts: 5
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Another error is showing

Error occurred while parsing document.

Code:    0xc00ce508
URL:      file:///C:/msx/collection.xml
Line:      733858
Column:  42

any clue idea why this error is occurring ?
DVD Profiler Unlimited RegistrantStar ContributorDedcap
Registered: March 14, 2007
France Posts: 159
Posted:
PM this userDirect link to this postReply with quote
this error tell me something
It's link to the data contains in the file
For this you have to take care of the charset define in the beginning of the xml file and the one of your computer

To by pass those issue I was oblige to put the first line like follow in the xsl file
<xsl:output encoding="UTF-8"/>

But if you output some text with specific character it becomes ugly
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Normally the encoding of the exported collection.xml is Windows-1252, not UTF-8
Karsten
DVD Collectors Online

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 sk_shadow:
Quote:
URL:      file:///C:/msx/collection.xml
Line:      733858
Column:  42

Sounds like there is some illegal character, although I don't think we had any problems with that in recent years.

First step: export only a dozen or so profiles by flagging them and see what happens there.

Second step: full export, try to run it and then open the collection.xml in an editor to see what exactly stands at the mentioned position.

cya, Mithi
Mithi's little XSLT tinkering - the power of XML --- DVD-Profiler Mini-Wiki
 Last edited: by Mithi
    Invelos Forums->DVD Profiler: Plugins Page: 1 2  Previous   Next