Beatport.com WSS by stevehero [Release, Single Track & Artwork tagging]

Thanks stevehero, Key and Bpm are working great! :smiley:

Uploaded now is the latest version of 'beatport by stevehero v1.2' scripts (see first post here for full details)

Its includes the BPM and INITIALKEY fields all you you wanted. Along with an action to change the key to the Camelot notation found in the Mixed In Key application. e.g. 'A♭ Minor' would be '1A'. This makes it much easier visually to see what tracks go with what. For all you DJs check the website on how to use this method of mixing.

Incredible update :slight_smile:

Registered to say thank you!

are you planning on eventually integrating the Camelot scale into the Main source script? I was trying to figure it out all day but couldn't figure out how to output the formated Key (A Minor) as a temporary value so that I could then run a couple replace actions (replace "A Minor" "8A") and then set that to the InitialKey

Any help would be appreciated!

Damn stevehero, this last update made my favorite Script even better....

I purchased mixed in key around a year ago and very quickly learned the importance of harmonic mixing. I stuck the Camelot wheel to the top of my controllers flight-case and after a few mixing sessions harmonic mixing was as natural as beat-matching. If there are any other DJ types here give it a shot, stevehero already did the hard part for you :smiley:

One Issue I'm having with the action script - the Camelot scale doesn't have a number for G# Minor, A# Minor, or C# Minor, like it does on the Circle of Fifths, so when I use the action script on say, this song it doesn't change.

The correct way to label these on a Camelot wheel is:
A-sharp Minor = B-flat Minor (3A)
G-sharp Minor = A-flat Minor (1A)
C-sharp Minor = D-flat Minor (12A)

I had a look at the Action Script and it looks like I was able to fix it by adding these to it.

[#25]
T=2
F=INITIALKEY
1=A\u266f Minor
2=3A
3=0|0

[#26]
T=2
F=INITIALKEY
1=C\u266f Minor
2=12A
3=0|0


[#27]
T=5
F=COMMENT
1=%initialkey% - %comment%

[#28]
T=4
F=COMMENT
1=^\\\\s+-\\\\s+$|\\\\s+-\\\\s+$|\\\\s+-\\\\s+\\\\d{1,2}[A-B]\\\\s+-\\\\s+$|\\\\s+-\\\\s+\\\\d{1,2}[A-B]$|^(\\\\d{1,2}[A-B]\\\\s+-\\\\s+)\\\\d{1,2}[A-B]\\\\s+-\\\\s+(\\\\d{1})
2=$1$2
3=0

I attached my fixed action script as well.

Again, thanks a ton for this awesome script!

Key_to_Camelot_Notation.zip (558 Bytes)

Thank you 'pinknoise'. I am in the process of doing so. :]

But I need a little help first.

What I have is a list of replaces below in the test script.

# INITIAL KEY TO CAMELOT NOTATION # DO NOT CHANGE VALUES OR DELETE BETWEEN THESE LINES IF NOT NEEDED #
    replace "A♭ Minor" "1A"
    replace "E♭ Minor" "2A"
    replace "B♭ Minor" "3A"
    replace "F Minor" "4A"
    replace "C Minor" "5A"
    replace "G Minor" "6A"
    replace "D Minor" "7A"
    replace "A Minor" "8A"
    replace "E Minor" "9A"
    replace "B Minor" "10A"
    replace "F# Minor" "11A"
    replace "D♭ Minor" "12A"
    replace "B Major" "1B"
    replace "F# Major" "2B"
    replace "D♭ Major" "3B"
    replace "A♭ Major" "4B"
    replace "E♭ Major" "5B"
    replace "B♭ Major" "6B"
    replace "F Major" "7B"
    replace "C Major" "8B"
    replace "G Major" "9B"
    replace "D Major" "10B"
    replace "A Major" "11B"
    replace "E Major" "12B"
### MISSING CAMELOT SCALES ###
    replace "G# Minor" "1A"
    replace "A# Minor" "3A"
    replace "C# Minor" "12A"
# INITIAL KEY TO CAMELOT NOTATION # DO NOT CHANGE VALUES OR DELETE BETWEEN THESE LINES IF NOT NEEDED #

What I need is all the remaining Camelot notations to match the missing scales. So.....

Thanks 'chriswike' for pointing that out. I had already noticed that but not gotten round to modifying the action which will no longer be needed once I have the script finished. I have everything working.

I just need to find out:

How you came about these values? The other values I have noticed missing such as 'D# Minor'? Are there other values that I should be aware of that are missing?

It sounds that You have to learn some basics of musical theory.
There are many sources to hear and read about, e. g. school lessons and ... wikipedia.

The sharp version ...
http://de.wikipedia.org/wiki/Quintenzirkel
http://en.wikipedia.org/wiki/Circle_of_fifths
Especially understand "Relation with chromatic scale" and "Enharmonics".

The flat version ...
http://www.musicians-place.de/harmonielehr...ntenzirkel.html
http://www.musicians-place.com/harmonics/c...-of-fifths.html

DD.20120201.0535.CET

Major 
1B      B/H        
2B      F#       
3B      D♭/C#     
4B      A♭/G#       
5B      E♭/D#     
6B      B♭/A#    
7B      F           
8B      C              
9B      G           
10B     D           
11B     A           
12B     E       

Minor
1A      a♭/g#
2A      e♭/d#  
3A      b♭/a# 
4A      f 
5A      c     
6A      g 
7A      d   
8A      a
9A      e   
10A     b/h 
11A     f#  
12A     d♭/c#

Basically, notes that sound the same are written differently because they have a different function beyond just sound.

http://en.wikipedia.org/wiki/Enharmonic_change

That should explain some

Please ask any questions you have about

Thanks DetlevD, I have studied music production, only for a 13 weeks on a 1 week basis. Maybe I was asleep during the Music Theory class :] only joking. I got it now its basically the fact that there not listed on the Mixedinkey wheel which threw me slightly.

An example of a beatport lists a track as been in the key
D♯ Minor (Harmonic Scale) = E♭ Minor (Harmonic Scale) = 2A (Camelot Notation)

Its the same root key. Different function. Different name. Its all coming back to me now.

Here is the list I have below in the script (Should be finished tonight 01.02.2012):
replace "A♭ Minor" "1A"
replace "G♯ Minor" "1A" # SAME KEY #
replace "E♭ Minor" "2A"
replace "D♯ Minor" "2A" # SAME KEY #
replace "B♭ Minor" "3A"
replace "A♯ Minor" "3A" # SAME KEY #
replace "F Minor" "4A"
replace "C Minor" "5A"
replace "G Minor" "6A"
replace "D Minor" "7A"
replace "A Minor" "8A"
replace "E Minor" "9A"
replace "B Minor" "10A"
replace "F♯ Minor" "11A"
replace "D♭ Minor" "12A"
replace "C♯ Minor" "12A" # SAME KEY #
replace "B Major" "1B"
replace "F♯ Major" "2B"
replace "D♭ Major" "3B"
replace "C♯ Major" "3B" # SAME KEY #
replace "A♭ Major" "4B"
replace "G♯ Major" "4B" # SAME KEY #
replace "E♭ Major" "5B"
replace "D♯ Major" "5B" # SAME KEY #
replace "B♭ Major" "6B"
replace "A♯ Major" "6B" # SAME KEY #
replace "F Major" "7B"
replace "C Major" "8B"
replace "G Major" "9B"
replace "D Major" "10B"
replace "A Major" "11B"
replace "E Major" "12B"

I think my mind had brain freeze. I have studied Electronic music Production. Problem solved. Thanks for your help.

Great job, thank you! :w00t:
But i dont see download link...

Thank you. Link is now available in the starting post here.

Wow, amazing script!

many thanks stevehero :w00t:

v2.0 NOW HERE >>>> Click here for starting post

Single track parsing of beatport.com

It will grab info much the same as my previous version for releases. See example track page here:
www.beatport.com/track/funky-vodka-original-mix/3289193

It will enable single track parsing with:
- SINGLE TRACK Direct by BEATPORT_TRACK_ID

  • SINGLE TRACK Direct by WWW(URL)
  • SINGLE TRACK Search by (Album)Artist + Title
  • SINGLE TRACK Search by Title

Download 'beatport_by_stevehero_v2.0' at starting post here.

thank you for the excellent script! I've been using a couple other ones but nothing works as well for my d&b collection :slight_smile:

I've been trying to remove the total tracks after the track number and can't seem to figure it out...so I am getting:

Track:
01/04
02/04
03/04
04/04

where I am trying to remove the 04 from each track number, but I have tried adding the # in front of the totaltrack's output and also removing the # at the bottom of the script from the totaltracks, but can't seem to get rid of it without removing the 0's from the front of the number of the single tracks, so the best i can get is

1
2
3
4

but I want to keep the 0's in front of the single tracks...

Hope this makes since...
You've made it so much easier to catalog my music :slight_smile: Thank you

If you want TRACK to be 01, 02, 03 etc

See code after # TOTALTRACKS (Delete the lines that are strikedthrough) # TOTALTRACKS
  outputto "totaltracks"
  sayregexp "(\d+)$"

# TRACK / TOTALTRACKS

  outputto "beatport stevehero track / totaltracks temp"
  sayuntil "|"
  say "/"
      sayregexp "(\d+)$"
  if "|"
       do
           say "|"
           movechar 1
           sayuntil "|"
           say "/"
           sayregexp "(\d+)$"
       while "|"
  endif
  unspace
      sayregexp "(\d+)$"
      say "|"</strike>

TRACK

outputto "beatport stevehero track temp"
sayrest
say "|"

TRACK FIX: TRACK

  outputto "Title"
  sayoutput "Tracks"
  outputto "Track"
  sayoutput "beatport stevehero track temp"
  set "beatport stevehero track temp"<!--fontc--></span><!--/fontc--><!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->
If you want to remove the
TOTALTRACKS output simply block out the lines here like: # TOTALTRACKS
# outputto "totaltracks"
# sayregexp "(\d+)$"<!--fontc--></span><!--/fontc-->

New version up. Problem with release below where there was no track key. Thanks to Pone for spotting it.

V2.1
FIXED: Releases with missing keys (see example www.beatport.com/release/you-know-what-its-like/892120).

SEE STARTING POST HERE

Hello stevehero, thanks again for excellent add on. I have suggestion: can you make the settings like R E M O V E F I E L D S will be global to all scripts (ie. in external file)?

You mean like Pones External settings?

My knowledge of doing such a task isn't quite there yet and I think I probably won't end up doing such settings because I think the script works fine without them.

The best I can do is point you in the direction of a very usefull freeware app notepad++. It's like notedpad, but better.

Steps in changing settings quick:
  1. Download & Install notepad++ HERE
  2. Open all my scripts at the same time.
  3. Highlight the line for example '# set "catalog #"'
  4. Hit Ctrl+H
  5. Type in the 'Replace box' ' set "catalog #"'
  6. Click 'Replace All in All Opened Documents'

This will deactivate ALL the CATALOG # fields if you want.

That is okay for me, thanks for tip.

Also, I found a little problem: if genre consist of two words it is stored in tag inversely (ie. "Tech House" becomes "House Tech".