Export Cover & File-Path to csv

Any trouble you encounter with the Pedias, here's the place to ask for help.
Post Reply
bateman23
Junior Member
Junior Member
Posts: 4
Joined: Sun Mar 13, 2011 1:46 pm

Export Cover & File-Path to csv

Post by bateman23 »

Hi there,
i try to export my data into csv-Format (using DVDpedia). This works quiet nice, except two things:
- Is there any way to export the path to the cover-files as well?
- Is there any way to export to path to attached files?

Thanks in advance,
Daniel
User avatar
Conor
Top Dog
Posts: 5346
Joined: Sat Jul 03, 2004 12:58 pm
Contact:

Re: Export Cover & File-Path to csv

Post by Conor »

Hi Daniel,

Since CSV does not lend itself for multiple items for a single column, you will have to create a text template for the import. This way you define what you would like the delimiter to be between links (in this example a semi-colon). This will also allow you to export links to the images and decouples the export from having to worry about the current displayed columns in your list view.

To create a template file, simple create a text file in ~/Library/Application Support/DVDpedia/Templates/yourexport.txt. Use a TextEdit or any other editor and the file would look like this:

Code: Select all

Title   Director   Image Path   Links
<!--BeginRepeat-->[key:title]   [key:director]   /Users/[UserName]/Library/Application Support/DVDpedia/Covers/[key:uid].jpg   [linksBegin][link:url];[linksEnd]
<!--EndRepeat-->
That would be the basic sample. Update [UserName] to match your user name (actually depending on what your using the export for, you might only need the [key:uid] as you can copy the entire "Covers" folder from the data folder as the images folder). Add all the other fields you would be interested in, the full list of tags is here.

This export will be available under Export -> Text (tab) -> Templates and the name you gave the file.
bateman23
Junior Member
Junior Member
Posts: 4
Joined: Sun Mar 13, 2011 1:46 pm

Re: Export Cover & File-Path to csv

Post by bateman23 »

Works great, thanks a lot.
Daniel
Post Reply