Pocket Plane Group

Friends and Neighbors => Weimer Republic (WeiDU.org) => WeiDU => Topic started by: K4thos on February 08, 2016, 12:43:42 PM

Title: [ignore it] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
Post by: K4thos 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.
Title: Re: [request] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
Post by: White Agnus 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
Title: Re: [request] HANDLE_AUDIO output_dir, MAKE_BIFF multiple dirs
Post by: K4thos 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