I'm modifying a Printing Template (PrintingSmallCovers duplicated as PrintingMySmallCovers) to include information about linked files for each movie. Here's my current code:
I can't seem to produce any output about the links. In my code, I piggy-back on the "director" class for formatting. During my testing, I've inserted characters to determine how the code is being interpreted and it appears that I can't get into the "IFlinks" block of code.
Your links are must likely local links (to files on your drive) that are not included during the whole export process (that the printing relies on). To include local links add the following to the top of your template:
You can find more info about template meta setting on a companion page to the tags page. If they are still not being exported after that change let us know.
Yep, my files are stored on a couple of local servers. I tried the changes you suggested without realizing the full impact of what you said. That is that copies of the linked files were being created (after waiting for quite a while for the template to print).
My goal in creating a new printing template is a printed list of files contained within a collection, with some indication as to which ones have links to video files, and which ones don't.
Maybe there's a better way to deal with this and I'm barking up the wrong tree... Any further ideas?
I forgot to mention the copy, as that command is meant to be used for export templates it creates the folder with the files for upload as well. The printing function does delete the entire temp folder after it's done, but that would mean a very long time to wait and a lot of information copied and deleted, depending on the size of your collection. If your only interested in knowing if a DVD has a movie file linked you can use the following key.
This will print out the word "Yes" for all the movies that have at least one movie link. This is actually not listed on our possible tags page since it is an internal value that DVDpedia uses to cache that information in order not to have to process the possible type of links when display that the QuickTime icon in the status column.