Author |
Message |
Registered: May 30, 2007 | Posts: 4 |
| Posted: | | | | 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 |
|
Registered: January 1, 2009 | Reputation: | Posts: 3,087 |
| Posted: | | | | 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 |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | 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 |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | 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 |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | 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 |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | @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 |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,745 |
| Posted: | | | | Mithi, does this works with colons and other invalid filename characters? | | | Karsten DVD Collectors Online
|
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | 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 |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,745 |
| Posted: | | | | 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 |
|
| Muckl | That's my common name. |
Registered: April 9, 2009 | Reputation: | Posts: 858 |
| |
Registered: September 6, 2012 | Posts: 5 |
| Posted: | | | | 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 |
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | 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 |
|
Registered: September 6, 2012 | Posts: 5 |
| Posted: | | | | 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 ? |
|
Registered: March 14, 2007 | Posts: 159 |
| Posted: | | | | 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 |
|
Registered: March 14, 2007 | Reputation: | Posts: 6,745 |
| Posted: | | | | Normally the encoding of the exported collection.xml is Windows-1252, not UTF-8 | | | Karsten DVD Collectors Online
|
|
Registered: March 13, 2007 | Reputation: | Posts: 2,217 |
| Posted: | | | | 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 |
|