Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - icqtoni

Pages: [1]
1
Wishlist / wishes are free
« on: December 31, 2021, 15:30:39 »
Hi there,

Christmas is over, but I would like the following scripting "Table of Contents":

clear.ignores.list();
FileItem.ignore.marked(); // ... (item);
FileItem.move.marked(path);
FileItem.mark.folder(path);

best regards
icqtoni

2
Hi there,

I have a problem with a script ... extended by "scan-with-restrictions.js"
It runs unstably, but also completely if you assign a few audio files.
In the event of a crash, the console shows the error; after closing it, the app crashes.
Unfortunately, the error also occurs if the same file scan was previously successful.

What can be the reason?

Exclusion:
The error also occurs on other computers (virtual machines).

Appendix:
JPG  - image with runtime states and settings
JS    - modified script scan-with-restrictions.js
DMP - Crashdump
LOG - Logging Similarity

Kind regards
icqtoni

3
General / Question about the speech comparison algorithm
« on: December 09, 2021, 16:41:15 »
Hi there,

how can I use the output from the speech algorithm in a script?

var dups = results.audio.dups;
dups[idx].speech -> it does not work

Kind regards
icqtoni

4
General / Question about the tag version when customizing existing tags
« on: September 18, 2019, 18:11:05 »
Hi,

I manage all tags in my collection with version ID3v2.3.
If I adapt a tag using a script, the version of the tag changes to ID3v2.4 (see Appendix).
Is that what you want and / or do I have the ability to do?

Here is my script:
function checkEmpty (value) {
     return! value || /^\s*$/.test(value);
}

var files = results.analysis.files;
for (var idx = 0; idx <files.length; ++ idx) {
     if (checkEmpty (files [idx] .tags.comment)) {
          log ("->" + Math.round (files [idx] .analysis.rating * 100));
          files [idx] .tags.comment = Math.round (files [idx] .analysis.rating * 100);
     }
}

Kind regards
icqtoni

5
General / Re: Search Filename as String of results.analysis.files [0]
« on: September 18, 2019, 17:53:53 »
Hello Admin,

i had meanwhile recognized my mistake myself, nevertheless many thanks for your reference.
Great program that allows a real comparison of the files.

Best regards
icqtoni

6
General / Search Filename as String of results.analysis.files [0]
« on: August 21, 2019, 14:43:26 »
Hi, I'm new here.
I know something about javascript ... but here i just can not get any further. I would like to export the quality analysis of my collection. Here I fail at this point:

var files = results.analysis.files;
for (var idx = 0; idx < files.length; ++idx) {

   //var filename = "D:\\path\\file.mp3";
   var filename = files[idx]; // Filename as String ???

   var tmp = filename.lastIndexOf("\\");

If I manually set a string this will work.
Now it fails at lastIndexOf.

I hope I can still be helped.

Thanks in advance
icqtoni

Pages: [1]