Author Topic: [ignore it] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs  (Read 1081 times)

Offline K4thos

  • Planewalker
  • *****
  • Posts: 110
[ignore it] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
« on: February 08, 2016, 12:43:42 PM »
1. Currently HANDLE_AUDIO weidu command always moves files into override. When we want to biff files during installation override is not a folder that we want files to land in. Additional optional output_dir STR_VAR will solve the issue.

2. Unless I missed something currently MAKE_BIFF only accepts 1 directory, so we need to move files around if they are grouped in separate folders. It would be nice thing to have if the command would accept multiple dirs at once.

Thanks in advance.
« Last Edit: February 08, 2016, 01:30:01 PM by K4thos »

Offline White Agnus

  • Planewalker
  • *****
  • Posts: 18
Re: [request] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
« Reply #1 on: February 08, 2016, 01:15:54 PM »
1. HANDLE_AUDIO already got the output_path STR_VAR: https://github.com/WeiDUorg/weidu/blob/master/src/tph/include/fl_functions.tpa#L97 (I think it's not documented, but implemented... ;))

Edit:
2. MAKE_BIFF could biff files from multiple folders, like this:
MAKE_BIFF ~test1234~ BEGIN
      ~folder1~ ~^.*$~
      ~folder2~ ~^.*$~
END
« Last Edit: February 08, 2016, 01:21:47 PM by White Agnus »

Offline K4thos

  • Planewalker
  • *****
  • Posts: 110
Re: [request] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
« Reply #2 on: February 08, 2016, 01:28:36 PM »
thanks for quick answer. In fact output_path is documented. I've been looking through older documentation where it's not mentioned, so this must be relatively new addition.

As for the MAKE_BIFF - awesome. Worth mentioning it in documentation.

I'm locking this topic since this request can be ignored.

edit: as Mike1072 noticed, MAKE_BIFF multiple folder support is also sort of mentioned in the documentation:
Quote
MAKE_BIFF name-of-biff BEGIN directory-file-regexp list END

So yep, please ignore this topic  :P
« Last Edit: February 08, 2016, 06:57:51 PM by K4thos »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: