Personal Video Database

English => Feature Suggestions => Topic started by: CAD on October 03, 2009, 05:31:18 am

Title: Scripting support.
Post by: CAD on October 03, 2009, 05:31:18 am
Hi Nostra

i know this is a big ask ;D but would it be possible to add some scripting support to templates.
i would be great to have some basic script functions available like.
" if " statement
" else " statement

this would be great to automate functions in scripts.
like:
Code: [Select]
if %path% exist {
nearfiles=".nfo"}
else {nearfiles="c:\somepath\%t%.nfo"}

it would have wide range to automate many things in templates.

what do you think??
Title: Re: Scripting support.
Post by: nostra on October 07, 2009, 12:53:05 am
The whole thing is getting to complex, so I do not think I will implement a fully functional scripting language here.

Have you already took a look at new functions: http://www.videodb.info/forum_en/index.php?topic=1358.msg5678#msg5678
Title: Re: Scripting support.
Post by: CAD on October 07, 2009, 02:29:34 am
i totally understand. It was always going to be a big ask. but hey - it never hurts to ask   ;D

ill try and get my head around http://www.videodb.info/forum_en/index.php?topic=1358.msg5678#msg5678  ;D