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 - cedricpah

Pages: [1]
1
Bugs / Re: WeakPtrCallback error on script executing
« on: January 07, 2023, 10:15:21 »
I think it's a kind of timeout. Can you only increase this timeout and make a new release available ?
Regards,

2
Bugs / Re: WeakPtrCallback error on script executing
« on: January 05, 2023, 17:58:16 »
This take too much time :
Code: [Select]
var dups = results.audio.dups;

3
Bugs / WeakPtrCallback error on script executing
« on: January 05, 2023, 17:49:16 »
Hi,

Since I've so much files, my script everytime crash with this error:
Code: [Select]
2023-01-05 17:45:37 [00000093920FD7B0] WeakPtrCallback
2023-01-05 17:45:37 [00000093920FD7B0] Process(scripter) is crashed
2023-01-05 17:45:37 CExtension::Run:569  [false] [109, The pipe has been ended.  ]
2023-01-05 17:46:33 [00000093920FD7B0] Process(scripter) is forcefully shutdown
2023-01-05 17:46:33 CExtension::Run:569  [false] [109, The pipe has been ended.  ]
The script is correct because with less files, it works. And It has worked for a long time before...

4
General / Opencl limitation
« on: October 17, 2022, 10:21:54 »
Hi, I've done some tests and I ask myseld if opencl is not fully used ? I've done this test (song files are already in similarity database) :
Ryzen 5 3600 with GFX1650 "precise" algorithm only (work group size 1024) : 2:49
Ryzen 5 3600 without opencl "precise" algorithm only : 3:23
Ryzen 5 3600 With GT430 "precise" algorithm only (work group size 64 either it failes) : 3:57

So with GT430 opencl the operation is slower, with GFX1650 it gives equivalent of +1.17 core (my CPU is 6 cores). So I can consider 7.17 core.

But with my new Ryzen 7 9750x (16 cores), following this, using GFX1650 will only give equivalent of 0.78 core.
With opencl benchmark : https://browser.geekbench.com/opencl-benchmarks GFX1650 has score 38098. Maybe you could improve this ? By proposing 2048 or more work group size ?

5
Wishlist / Re: PDF support?
« on: August 20, 2022, 07:41:16 »
Hi,

You can try clonespy if pdf files are the same.

6
Wishlist / Make available filter by column in the result tab
« on: August 20, 2022, 07:40:21 »
Hi,

Could you add a filter per column in the result tab to make available filter results by artist - title - fullpath - any possible if easy to implement.

Thanks

7
News / Re: Version 2.5.1 released
« on: November 20, 2021, 16:13:08 »
Thanks for the job !

8
News / Re: Beta version 2.5.0
« on: October 21, 2020, 09:37:06 »
Hello,

I appreciate this new feature. Please, what was old values ? I want to try this release and try to reproduce the same results as in 2.4.2 release.
And then, if you can give details about the new options, I will configure them as I want.

Regards,
Cedric

9
Hi,

Have you try to disable opencl ?

10
Wishlist / Re: Ability To Add Files In A Result Session
« on: May 03, 2020, 14:23:08 »
Maybe by using audio.queue in JavaScript, but I don’t understand how the file will be compared with all other items?

11
Wishlist / Ability To Add Files In A Result Session
« on: April 29, 2020, 18:15:46 »
Hi,

I have a request that could allow me (and maybe others) to save a lot of time !
When not using the "Global Optimisation" option, I need more and more time to complete the process of checking my collection (now more than 2 days) since the collection increases. My request is, when the process has finish, giving the ability to add new files to the current result. Not by restarting the full process (because It would need another 2 days process) but I don't know how (with another caching function for example), by adding this files to an existing collection.
If you could think of that to improve your very usefull product !

Thank you

12
Hi,

More simple this script will prepare delete and mklink command for marked files. But there will be dups so with excel you need to clean the list. That's why I log precise, because I will sort result for each "to deleted" file by precise desc. After, just keep the upper value (for E4 cell just use this formula =SI(NB.SI(C$1:C3;C4)=0;C4;"") (sorry formula in french excel relase). And with this script it can keep the filename with extension of hard linked file.
Code: [Select]
/*
Author: Cedric
Description: prepare mklink for marked files
*/
var dups = results.audio.dups;
for (var idx = 0; idx < dups.length; ++idx) {
if (!(dups[idx].item1.marked == true && dups[idx].item2.marked == false)) continue;
try {
var scores = audio.calculate(dups[idx].item1, dups[idx].item2, 'precise');
log(scores['precise'] + ';delete "'+ dups[idx].item1 + '";mklink /h "' + dups[idx].item1.toString().replace(/\..+$/, '') + dups[idx].item2.toString().split('.').pop()  + '" "' + dups[idx].item2+ '"' );
}
catch (e) {
log('Exception ' + e);
}
}

13
Hi,

I had the same need, and I think you can addapt my script.
After playing the script, look at the log file and just keep what you need in the log file to make a batch command lines. And play that batch file.

For information, this script compare analysis properties of files, and if equals, it logs the needed command line to delete one of them and make a hard link to the second one.
Enjoy.
Code: [Select]
/*
Author: Cedric
Description: Mark all files that have same analysis
*/

// unmark all files
results.audio.unmark();

var dups = results.audio.dups;
for (var idx = 0; idx < dups.length; ++idx) {
    // skip counter-pair (1-2 and 2-1), process pair only once
if (dups[idx].item1.path > dups[idx].item2.path) continue;
try {
    if (dups[idx].item1.analysis.duration  == dups[idx].item2.analysis.duration && dups[idx].item1.analysis.samplerate== dups[idx].item2.analysis.samplerate && dups[idx].item1.analysis.datatype  == dups[idx].item2.analysis.datatype && dups[idx].item1.analysis.channels  == dups[idx].item2.analysis.channels && dups[idx].item1.analysis.format    == dups[idx].item2.analysis.format && dups[idx].item1.analysis.clips     == dups[idx].item2.analysis.clips && dups[idx].item1.analysis.silence   == dups[idx].item2.analysis.silence && dups[idx].item1.analysis.absMean   == dups[idx].item2.analysis.absMean && dups[idx].item1.analysis.minStep   == dups[idx].item2.analysis.minStep && dups[idx].item1.analysis.absMax    == dups[idx].item2.analysis.absMax && dups[idx].item1.analysis.maxFreq   == dups[idx].item2.analysis.maxFreq && dups[idx].item1.analysis.clicks    == dups[idx].item2.analysis.clicks && dups[idx].item1.analysis.rating    == dups[idx].item2.analysis.rating) log('delete "'+ dups[idx].item2 + '" mklink /h "' + dups[idx].item2 + '" "' + dups[idx].item1+ '"' );
}
catch (e) {
log('Exception ' + e);
}
}

Pages: [1]