Author Topic: Scripting support.  (Read 6932 times)

0 Members and 1 Guest are viewing this topic.

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Scripting support.
« 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??
three fingered salutation

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Scripting support.
« Reply #1 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
Gentlemen, you can’t fight in here! This is the War Room!

Offline CAD

  • Older Power User
  • *****
  • Posts: 168
  • I've got my eye on you!
    • View Profile
Re: Scripting support.
« Reply #2 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
three fingered salutation