Personal Video Database

English => Support => Topic started by: Roy22 on July 12, 2015, 04:04:24 pm

Title: Linking to a local folder/files?
Post by: Roy22 on July 12, 2015, 04:04:24 pm
Can anyone tell me whether there's a simple way to embed a hyperlink in one of the displayed fields, so I can click on this and open a related file or folder of files on my hard drive?
Title: Re: Linking to a local folder/files?
Post by: CAD on July 16, 2015, 12:36:51 pm
Hi,

yes:
<link url="file path">Name of link</link>

eg.
<link url="F:\Movie007\Age of Kill (2015)\">Age of Kill</link>

You will need to see which fields support this.
Comments field supports it.
Features field supports it

I don't know if this can be embedded automatically.
There is a %path% variable, but I don't know how to insert/automate this.
Perhaps a question for Nostra or Ivek23, if you want it done automatically
Title: Re: Linking to a local folder/files?
Post by: Kariput on July 16, 2015, 08:37:48 pm
Many thanks for the tip, CAD.  It works just fine for me in one of the custom fields I created.
Title: Re: Linking to a local folder/files?
Post by: Roy22 on July 19, 2015, 02:14:16 pm
CAD,

Cheers mate, worked a treat for me too!  Fine within Comment field, but not within URL field oddly in case that helps anyone.
Title: Re: Linking to a local folder/files?
Post by: CAD on July 21, 2015, 04:41:10 am
This could be somewhat automated by doing an export/import.
Export with %filepath% then import back into custom field. PVD has the capabilities to replace text etc so it can be fully configurable.
I'll have a go at writing a script if I get time.

Also this works for network drives (handy  :) )
eg.
<link url="\\qnapi\movies">Age of Kill</link>