Connexion rapide:  

Forum: Old versions

Sujet Script for folder

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

bogartPRO InfinityMember since 2004
If you have a folder of tunes you are expecting in an evening,
and just want to find compatible songs within that folder only.
Anyone know if this is possible and what the script would be?
 

Posté Sun 10 May 15 @ 11:41 am
PachNPRO InfinityMember since 2009
You could easily create filter folder that is nested inside the folder your are currently using.

If a filter folder is nested, the editing window for the filter folder will show an additional drop down field named "scope".
Set the scrop to "folder" and use this action:

bpmdiff<=2 and keydiff=0
 

Posté Mon 11 May 15 @ 3:44 am
bogartPRO InfinityMember since 2004
Thank you. However, it still show all files in database when you click on compatible.
 

Posté Mon 11 May 15 @ 8:46 am
PachNPRO InfinityMember since 2009
Edit:

Ok, it seems like there is a bug with the scope.

I created a new filter folder with: bpmdiff<=4 and keydiff=0
set scope to Folder, but the filter folder doesn't filter anything...
 

Posté Tue 12 May 15 @ 7:27 am
bogartPRO InfinityMember since 2004
Correct it does not do anything.
THanks
 

Posté Tue 12 May 15 @ 7:56 am
PachNPRO InfinityMember since 2009
Ah now I see...

The filter and the scope is working correct.
But we both maybe did the same error while trying.

The compatible filter folder, and especially the actions bpmdiff and keydiff, is only working if there is a track loaded on a deck.
Makes sense... Otherwise the bpmdiff action won't know what it should compare...

So I loaded a track on a deck and all was working well.
 

Posté Tue 12 May 15 @ 10:41 am
bogartPRO InfinityMember since 2004
I know a track has to be loaded on the deck; but
mine did not work. Track played over 1/4 through and
it did not match anything.
Maybe I did something wrong.
 

Posté Tue 12 May 15 @ 11:48 am
PachNPRO InfinityMember since 2009
So you created a new filter folder and nested it into the folder you want to filter?

Should look like this

 

Posté Tue 12 May 15 @ 11:58 am
bogartPRO InfinityMember since 2004
Yep.
I have 50 songs in a folder and did the filter folder just like you show.
When I go to the folder it shows 50 songs.
When I load a song then click on the filter folder it only shows the
song that is playing as being compatible. Sometimes it will
show one other song, which should be more as the BPM are pretty close.
 

Posté Tue 12 May 15 @ 12:34 pm
PachNPRO InfinityMember since 2009
Maybe the keys are different then?
 

Posté Wed 13 May 15 @ 3:14 am
locoDogPRO InfinityModeratorMember since 2013
Try this, it'll give you = key or 3rds, which usually work.

bpm difference <=2 and Key Difference = 0 or Key Difference =-3 or Key Difference = +3
 

Posté Wed 13 May 15 @ 4:08 am
locodog wrote :
Try this, it'll give you = key or 3rds, which usually work.

bpm difference <=2 and Key Difference = 0 or Key Difference =-3 or Key Difference = +3


bpm difference <=2 and (Key Difference = 0 or Key Difference =-3 or Key Difference = +3)
 

Posté Wed 13 May 15 @ 5:53 am
locoDogPRO InfinityModeratorMember since 2013
Are you sure?, It doesn't look like brackets are needed here, in fact there isn't an option to insert brackets.
 

Posté Wed 13 May 15 @ 6:13 am
bogartPRO InfinityMember since 2004
I will give these a try and see if it works better.
Thanks
 

Posté Wed 13 May 15 @ 7:12 am
Brackets CAN be used on queries (for filter folders) and sometimes they are necessary in order to provide the correct results.
Especially when you need to mix AND with more than one OR
 

Posté Wed 13 May 15 @ 9:22 am
bogartPRO InfinityMember since 2004
I purposely put tracks with same BPM in folder.
Here is what I finally got to work;
Bpm Difference <4 and Key Difference <4 and exists = 1
All others only gave me the song playing, and on a few occasions
one that matched.
Thanks to all
 

Posté Fri 15 May 15 @ 7:53 am
AdionPRO InfinityCTOMember since 2006
You might as well remove the rule about key difference completely then. A key difference of 1 will not be any better than a key difference of 6
 

Posté Mon 18 May 15 @ 1:50 am
I am using a filter folder with the filter: "top 300 first seen sort by first seen" but I want to reverse the sort order - how is this done please?

(Sorry this was supposed to be a new topic - but I posted here by mistake - at least it's related!)
 

Posté Wed 08 Jul 15 @ 12:34 pm
PachNPRO InfinityMember since 2009
There is no option to descending or ascending the sort order.
But you could just click on the "first seen" column to reorder it.
If you do not see this column, do a rightlick on the browser's header and choose "first seen" as additional column.
 

Posté Thu 09 Jul 15 @ 3:07 pm


(Les anciens sujets et forums sont automatiquement fermés)