return to tranceaddict tranceaddict Forums Archive > Other > Frequently Asked Questions / Tutorials / How do I?
 
CueSheet scripts i.e. Generation, Tweaking, Splitting, Searching
 
timscarfe
'Lo fine people

I thought I would share with you some of the scripts I have been developing to make my life easier dealing with DJ Sets (specifically cuesheet metadata). I have written a bunch of powershell scripts and came up with the technique of adding a registry entry so that I could launch the script from the context of a .CUE or .MP3 file in explorer.

I hope this provokes some discussion and debate about DJSet management.

The scripts I want to share/discuss:

1: Automatic generation of a cuesheet for a DJ Set in ".\Cuesheets" (parsing a playlist from clipboard). If time indexes are unavailable it will divide track length/no tracks and average it out.
2: Export of cuesheet into tracklist format to clipboard with time indexes (for time index tweaking)
3: Search script to look in all cue files for specific tracks matching a regex pattern
4: Automatic splitting of a .CUE file into individual MP3 files for burning (car usage)
5: Automatic splitting of an .MP3 file into 5 minute chunks (when no cuesheet available)
6: Quickly associating a downloaded .CUE with your .MP3 (in explorer)
7: Automatically downloading cuesheets from external web sites and associating them

An example of how I get options into my explorer context menu:

PHP:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT*shellcue_tweak_get]
@=
"(.CUE) GET Adjustment Matrix"

[HKEY_CLASSES_ROOT*shellcue_tweak_getCommand]
@=
"powershell -command F:\MP3\!DJMixes\Ripped\!Scripts\tweak_cue.ps1 '%1' 'get_matrix'"



The scripts require .NET 2.0, Powershell, Powershell Community Extensions and probably some tweaking as they refer to physical paths on my machine. The scripts reference third party command line tools: wget, mp3splt, id3, mp3info, grep. Don't mess unless you know what you are doing!

What are you guys scripting?

If enough interest is sparked, I might talk about how I have combined Powershell with Task Manager v2.0 :)

http://uat.dotnetsolutions.ltd.uk/cue_scripts.zip

Tim
timscarfe
BTW: Just to elaborate on Script #1 (which is my favourite script).

Someone posted this tracklist in another thread:

PHP:

[00:00] 08 BL - Hamilton
[06:10] 09 Chris Fortier - Deviated Septum (Joey Beltram & BL Remix)
[
07:00] 10 ID
[12:00] 11 ID
[17:00] 12 Pole Folder feat Shelley Harland - Radio 101 (Stuart McKeown Frequency Hack Remix)
[
19:45] 13 Ryan Davis - Clouds Passing By
[22:00] 14 Spirit Catcher - High Control
[26:30] 15 Gui Boratto & Martin Eyerer - The Island
[27:00] 16 Sei A - March Of The Midi
[31:00] 17 King Unique - Hinode (Fergie Mix)
[
36:00] 18 ID
[42:00] 19 ID
[46:00] 20 Stephan Bodzin - Leuchtkraft
[50:30] 21 Radio Slave - K-Maze
[52:30] 22 Daso & Pawas - Det (Schatrax Remix)
[
57:30] 23 Gianluca Motta feat Molly - Not Alone (Tiger Stripes Dub Instrumental)
[
64:00] 24 Chaim & James Blonde - Roxy Feeling



I simply copy that into my clipboard with CTRL-C, then right click the DJ Set MP3 file and select "Generate Cue Sheet". Then the cuesheet is generated in an instant:

PHP:

PERFORMER
"Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
TITLE "[GN]Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
FILE "..Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008.mp3" MP3
    TRACK 01 AUDIO
        PERFORMER
"BL"
        
TITLE "Hamilton"
        
INDEX 01 00:00:00
    TRACK 02 AUDIO
        PERFORMER
"Chris Fortier"
        
TITLE "Deviated Septum (Joey Beltram & BL Remix)"
        
INDEX 01 06:10:00
    TRACK 03 AUDIO
        PERFORMER
"Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
        
TITLE "ID"
        
INDEX 01 07:00:00
    TRACK 04 AUDIO
        PERFORMER
"Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
        
TITLE "ID"
        
INDEX 01 12:00:00
    TRACK 05 AUDIO
        PERFORMER
"Pole Folder feat Shelley Harland"
        
TITLE "Radio1 (Stuart McKeown Frequency Hack Remix)"
        
INDEX 01 17:00:00
    TRACK 06 AUDIO
        PERFORMER
"Ryan Davis"
        
TITLE "Clouds Passing By"
        
INDEX 01 19:45:00
    TRACK 07 AUDIO
        PERFORMER
"Spirit Catcher"
        
TITLE "High Control"
        
INDEX 01 22:00:00
    TRACK 08 AUDIO
        PERFORMER
"Gui Boratto & Martin Eyerer"
        
TITLE "The Island"
        
INDEX 01 26:30:00
    TRACK 09 AUDIO
        PERFORMER
"Sei A"
        
TITLE "March Of The Midi"
        
INDEX 01 27:00:00
    TRACK 10 AUDIO
        PERFORMER
"King Unique"
        
TITLE "Hinode (Fergie Mix)"
        
INDEX 01 31:00:00
    TRACK 11 AUDIO
        PERFORMER
"Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
        
TITLE "ID"
        
INDEX 01 36:00:00
    TRACK 12 AUDIO
        PERFORMER
"Sasha Recorded Live @ Tripod Dublin, Ireland 30 May 2008"
        
TITLE "ID"
        
INDEX 01 42:00:00
    TRACK 13 AUDIO
        PERFORMER
"Stephan Bodzin"
        
TITLE "Leuchtkraft"
        
INDEX 01 46:00:00
    TRACK 14 AUDIO
        PERFORMER
"Radio Slave"
        
TITLE "K-Maze"
        
INDEX 01 50:30:00
    TRACK 15 AUDIO
        PERFORMER
"Daso & Pawas"
        
TITLE "Det (Schatrax Remix)"
        
INDEX 01 52:30:00
    TRACK 16 AUDIO
        PERFORMER
"Gianluca Motta feat Molly"
        
TITLE "Not Alone (Tiger Stripes Dub Instrumental)"
        
INDEX 01 57:30:00
    TRACK 17 AUDIO
        PERFORMER
"Chaim & James Blonde"
        
TITLE "Roxy Feeling"
        
INDEX 01 64:00:00



I think this would make life much easier for you guys trying to ID tracks to use something like this

CLICK TO RETURN TO TOP OF PAGE
tranceaddict Forums Archive > Other > Frequently Asked Questions / Tutorials / How do I?

Powered by: vB
Copyright © Jelsoft Enterprises Limited
Privacy Statement