Wiki Home : How To Use BallroomDJ : Command Line
(Updated 2020-8; BallroomDJ version 3.29.24)
The bin\bdjcli.tcl script is used to send remote control commands to BallroomDJ. This script has an advantage over using the Special Keys in that the cursor does not need to be in the BallroomDJ window when the command is sent.
The commands that can be sent with bin\bdjcli.tcl are documented in the doc\remote.txt file.
For BallroomDJ version 3.x on a 64-bit Windows machine, use
%USERPROFILE%\Desktop\BallroomDJ\windows\64\tclsh.exe
.
The bin\fmbackup.tcl script is used to create a backup of the startup and data folders.
Usage: tclsh bin\fmbackup.tcl -- <backup-folder>
The startup and data folders will be copied to backup-folder.
The bin\fmrestore.tcl script is used to restore a backup of the startup and data folders.
Usage: tclsh bin\fmrestore.tcl -- <backup-folder> <target-folder> <music-folder>
The startup and data folders will be copied from the backup-folder to the target-folder. The database, song lists and game songs lists will be updated with the music-folder.
The bin\bdjmkmlist.tcl script is used to update the BallroomDJ database. It can be used to check for new files, update from tags, rebuild and reorganize.
Usage: tclsh bin\bdjmkmlist.tcl -- {-checknew|{-logging|-rebuild} [-clean]|-reorg|-updmodtime|-update} [-v] [-showsummary] <music-folder-path>
music-folder-path must be the fully qualified pathname to the music folder. Make sure it is identical to the music folder path configured in BallroomDJ.
Usage: tclsh bin\updatetags.tcl
If the Write Tags option is not None, the audio file tags will be updated with the information in the BallroomDJ database.