This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to map tellico entries to the actual files

Tags: None
(comma "," separated)
alkal0id
Registered Member
Posts
2
Karma
0
OS
I'm using tellico to organise video files and PDFs on my harddrive. Is there a way to enter the location of the file into tellico and get tellico to open the file for you? For example lets say I organise my PDF documents with tellico then I use it to find all the PDFs written by a specific author. It would be useful if I could run the PDF from tellico as opposed to having to go into my harddrive and search for it myself.
alkal0id
Registered Member
Posts
2
Karma
0
OS
I figured out how to do it. Tellico lets you add your own fields and you can select "URL" as the field type. You just point the URL to the files on your harddrive and then when you click on the link, the file will be opened up with your default file viewer (i.e. VLC for videos, xpdf for PDFs). Now I need to figure out how to load all my videos and PDFs into the database automatically. Tellico lets you import XML files so I'm thinking of writing a PHP script that will detect all the files in a directory and load the filenames into an XML file.
robbystephenson
KDE Developer
Posts
384
Karma
1
OS
alkal0id wrote:Now I need to figure out how to load all my videos and PDFs into the database automatically. Tellico lets you import XML files so I'm thinking of writing a PHP script that will detect all the files in a directory and load the filenames into an XML file.
Tellico can import a file directory, but that probably won't work for you because you want it to be a video or book collection, and not a file catalog. The Tellico directory import is more for tracking CD archives and the like.

I can take a shot at a quick script to do what you mention, but you would end up with a Tellico collection with nothing but links to video files. I'd have to think about how to extract any metadata. File links without titles would seem hard to work with.

For PDF files, Tellico can import metadata directly, if your version is compiled with support for it. You can try dragging the pdfs directly into the Tellico window, or File->Import->PDF file. That creates a bibliographic collection, which is different from a book collection.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell