Hello,

1) Remembering the last used tab is a good idea but it may enter in conflict with the "automatic" positioning based on cursor position in the Expression edit field.
2) The search or filter box looks interesting. Maybe in a dedicated tab of the completion window.
3) A dockable window can be interesting. I'll think about it.
4) I agree with you that adding another help text associated to the variable would be redundant with the full help.

Thanks & Regards

Hello,

An expression like this one might do it :
%b[-1]@%nc@%f;%f[3,"@"]_%f[2,"@"]

Using the name itself looks weird but it works well (for now).
Your idea is very interesting but maybe overkill.

Thanks for all your suggestions

Hello,

It is now of the current development version.

Now, among other things, I am going to try to make the completion window "clearer".
I am thinking to replace the simple very long lists with "trees", each node representing a set : file name, selection number, Exif GPS etc.

Do not hesitate to give me ideas.

Thanks for you help.

Remi

It seems that the selection number reseting variables, %np and %nc, can use this new feature too.

For example for "%np" :

%b_%np{,,,2}.%e

C:\A\a_001.txt
C:\A\b_002.txt
C:\A\c_001.txt => reset due to maximum reached
C:\B\d_001.txt => reset due to directory change
C:\B\e_002.txt

This looks wrong for name collision, %nc, because a reset would generate a collision ...
but why blocking the user if that's what he wants and knows that the final new name won't create any
problem.

Maybe does this need more brain juice.

Hello Stefan,

This is a good idea. I will add it.
The reset associated to the variable (path, name etc.) will take over this new one, right ?

Thanks !

81

(8 replies, posted in Comments)

Hello Stefan,

It's nice to hear from you.
Even if I have not spent as much time on Siren as I would have liked, the work continues (will it ever end ?).
The "Expression filters" feature has been implemented. The only missing element is an explained example.
Many other smaller new things, bug fixes and improvements should be part of the next version.
The tests will require a lot of efforts and I tend to postpone the task by implementing other changes.

The next feature I will maybe add to the release after the next is allowing the user to create its own variables and associate code to them. It would written in a scripting language.
The one that looks interesting is Lua. Please, give me your ideas about this.

I hope that everything goes well for you.

Thanks again for your interest in this little project.

Best regards,

Remi

Hello,

Sorry for my late reply.
To be honest I don't think Siren is the right tool to achieve this.
A renamer integrating a scripting language in the process should fit your needs.
I know that some excellent ones of this kind exist.
You should have a look to them.

Regards.

Siren doesn't have a "search for file" expression function.
What I imagined was that, while in "tree mode", the first selected file of each sub-folder could be the naming source.
This selection would have to be done manually or with other selection options.
This feature is not present yet and would need work to be correctly implemented.

Before going further : isn't there any name pattern for the files in the directories to rename ?
For example :
1\bob01.jpg
1\bob02.jpg
1\bob03.jpg

Can you give a more complete example ? (from and to)

Hello,

This is an interesting question.
I may have an idea to achieve it but it needs some code modifications.
I'll try to add it in a new release.

Thanks

Hi,

Thanks for your answer.
In my development version I have already added an option to enable/disable it and an information on the screen to show its current state. But I don't feel it right to be there and uselessly complicating the things.

I am sorry for the antispam system but there is a huge number of fake users creation attempts every day.
Some pass through the filters and it is a pain to have to keep an eye on that ...
I'll try to have a look at the problems you had.

Hello Stefan,

Thanks a lot for your feedback.

Stefan wrote:

- first I thought, why not dropping the leading "*." part, it is superfluous, and maybe use a space as seperator,
like just [jpg nef png] instead of [*.jpg;*.nef;*.png]
But your origin idea fits better along with the command line "/S" parameter.

I would like to keep the "file filter" notion consistent all accros Siren : command line, filter combobox, search/selection filter ...

Stefan wrote:

- invent filetype groups to use as filter: [Image] = png jpg jpeg bmp, [Video] = avi mpeg , [Audio] = wav mid mp3
[Image]Photo_%f;[Video]Video_%f

Maybe, but not for the first version.

Stefan wrote:

- Will this work: exif date for jpg, creation date for ALL *.* others (but NOT for jpgs)
[*.jpg]%Xdo_%f;[*.*]%dc_%f

No. If a file passes a filter (an empty filter is equivalent to "*.*" or "*") then the sub-expression is applied to it.
This can solved with unperfect workarounds like :
[*.jpg]@%Xdo_%f;[[!@]*]@%dc_%f;%f(2)
or
[*.jpg]%Xdo_%f;[*.[!j]??;*.?[!p]?;*.??[!g]]%dc_%f

Stefan wrote:

Will you expand this filter feature in future?  big_smile

Why not. It depends on the users needs (and I am part of them) and my available work time for it.

Just another relatively important change that I would like to do : the removal of the disk change monitoring feature.
Siren 3.14 tracks the modifications done to its current directory by other programs and reflect the changes in its file list.
This feature can be handy but it is heavy, sometimes not reliable and doesn't work in some cases.
What is your opinion about this step backwards ?

Hello,

I am planning to add a new feature to Siren and I would like your opinion about it.

Here is the problem :
1) I have a folder containing different types of file : music and video
2) I want to rename all the files following different patterns based on their types/names
3) With current Siren version two batch steps are necessary. One for each file type (select the files, choose an expression and rename)   

To limit the work the idea is to be able to make an expression "file filter aware".

As you may know a rename expression can be composed of different sub-expressions separated by ';'.
Prefixing each sub-expression with a file filter could do the job. File filters could be enclosed in "[]".
For example :
[*.jpg]Photo_%f;[*.avi]Video_%f
or more complicated
[*.jpg;*.nef]%Xdo_%f;[[A-M]*.avi;[A-M]*.mpeg]AAA_%dm_%f;[[N-Z]*.avi;[N-Z]*.mpeg]ZZZ_%dm_%f;[*.mp3]%Aa - %At.%e
   
What this last expression will do :
1) %Xdo_%f will be applied only to *.jpg and *.nef selected files
2) AAA_%dm_%f will be applied only to *.avi and *.mpeg selected files with current names starting with a letter between 'A' and 'M'
3) ZZZ_%dm_%f will be applied only to *.avi and *.mpeg selected files with current names starting with a letter between 'N' and 'Z'
3) %Aa - %At.%e will be applied only to *.mp3 selected files

Notes :
- Any file matches an empty filter. This makes this feature backward compatible 
- The sub-expressions are not exclusives. If a file pass a filter the associated sub-expression is applied to it.
  For example, this expression will prefix all names with the modification date : [*.jpg]Photo_%f;[*.avi]Video_%f;%dm_%f
- This feature can be seen too as a simplified "if"
- I know it will only be used by a few power users sad

For now I have not fixed all details and anything can be changed.

Regards

Remi

Hello,

I imagine that you are using the last version of Siren, the 3.14.
This version includes a new feature : the directory monitoring.
This monitoring goes as far that it handles the modifications done by Siren itself : renaming, copying etc.
Unfortunately this version of the monitoring module has issues under Windows. The GNU/Linux one seems ok.
One of the indirect signs of the problem is the one you have noticed : the status bar is not correctly updated.
I don't think the rename/copy operations are affected and a directory refresh should show it.   

Work on Siren 3.15 has already begun and one of the features I have added is an option to disable the directory monitoring falling back to 3.13 behaviors.
I won't release it until the monitoring problems have been solved.

Sorry for the inconvenience.
Thanks for your feedback

Remi

Welcome to this forum vipiish,

You are right variable/modifier can't be embedded in regular expressions.
The "\10" case you report looks like an issue. I'll try to find an answer to it.

For the renaming you are trying to achieve I am not sure that a regular expression is the most appropriate.
Here is an expression that should do it (supposing that the hexa numbers are separated by a '-' and are the last part of the base name) :
%b(s/0x.*$//)0x%b[-2]("x","x0000000")(-8)-0x%b[-1]("x","x0000000")(-8).%e

Lets have a look at its different parts :
%b(s/0x.*$//) : extracts the text before the first hexadecimal number
0x%b[-2]("x","x0000000")(-8) : pads the first hexadecimal number to height digits
0x%b[-1]("x","x0000000")(-8) : pads the second hexadecimal number to height digits
.%e : adds the dot and the extension of the file

The "tricky" part is the padding. Lets detail the first one using the file name : File0xa0800-0x110000.dat

%b[-2] : will extract the last but one string supposing they are separated by '-'. In this case : File0xa0800
%b[-2]("x","x0000000") : will insert seven '0' just after the 'x'. In this case : File0x0000000a0800
%b[-2]("x","x0000000")(-8) : will extract the last height characters (the hexa number left paded). In this case : 000a0800
0x%b[-2]("x","x0000000")(-8) : will recreate the expected hexa number. In this case : 0x000a0800

I hope this will help,

Regards,

Remi

Welcome to this forum Maarten,

As Siren uses high level functions to rename, copy etc. files I don't think this problem is linked to GPT.
My first ideas bring me to think to two possible root causes :
1) Maybe is it a privilege problem. Have you tried to execute Siren as Administrator ?
2) Maybe is it due to the fact that the partition you are working on is bigger than 2 TiB. I have never tested Siren in this configuration.

To investigate further can you tell us the operations you tried to achieve and the resulting error messages ?

Thanks for your feedback.

Regards

Remi

Hello,

This issue seems to be related to the "2 or 3 toolbars layout" (accessible from the the "View" menu) rather than anything else.
I think I've been able to reproduce it under Windows too.
You are right this bug is not present in Siren 3.13.
I'll try to fix it in a next release.

All Siren versions can be downloaded from this site.
Here is the link to the 3.13 GNU/Linux 32 bits version : http://scarabee-software.net/download/S … 386.tar.gz

Thanks and regards.

Hello,

I know there are some small and various display issues with different desktop environment and themes.
These problems are difficult to fix.
Thanks for reporting it.

Can you please tell :
- What is the distribution you are using ?
- What is the desktop environment ?
- Do you use any theme ?
- Did you make any modification to the theme you use ?

About the forum and the double quotes : I have made some tests and all looks fine.
I have changed the title of this topic by surrounding 3.14 with ".
Maybe didn't I understand what you meant.

Regards.

94

(0 replies, posted in Announcements)

You can download it here and check what's new here.

95

(7 replies, posted in Comments)

I join you to wish to everybody a happy new year 2014.

Stefan, once again, thanks a lot for your support.

Hello,

During the development of the 3.00 version I've looked at the "ISO" file format and finally decided to extract only the basic information. ISO9660 is a filesystem and would need much more effort and code to extract the video data from it.
For now I have not planned to work on this feature.

97

(2 replies, posted in How to ...)

Thanks !

Your command line looks incomplete/malformed. It should end with "-r -q", right ? (without the space between "-" and "r").
I wouldn't want the other users to be misinformed.

Hello,

Siren 3.14 beta 1 should fix these issues.

Regards

Welcome to this forum MrPete,

To investigate it would be easier to work on some of the files on which the different issues appear.
If needed you can send them to me by mail at the address you'll find in Siren's "?/About ..." window.

Thanks a lot for this bug report.

100

(0 replies, posted in Announcements)

You can download it here and check what's new here.

Thanks to eegee for his feedbacks.