Please head over to the INSTALLATION document for step by step instructions on how to get DiscoDOS running on your machine.
Importing your Discogs collection
To let DiscoDOS know about our Discogs record collection we have to import a subset of the available information to the local database (the so-called DiscoBASE).
Before you move on with the Basic Usage Tutorial have a look at the following picture. It shows how
disco - The DiscoDOS’ main command - is working. Usually a
disco command is built from multiple words and options (-x, –something). The top half of the chart describes how the put those components together to create a working command. The bottom half shows some common usage examples.
Basic Usage Tutorial
When importing is through, create a new mix:
disco mix my_mix -c
View your (empty) mix:
disco mix my_mix
Try adding one of your collection’s tracks to the “mix” you just created.
disco mix my_mix -a "Amon Tobin Killer Vanilla"
If DiscoDOS realizes you are offline it will search in the local database only. Only online search understands track names, offline search doesn’t, it needs artists and/or release names. Learn why, further below.
Be precise when asked for the track number on the record: A1 is not the same as A.
View your mix again, your track should be there. verbose view (-v) shows that track and artist names are still missing because DiscoDOS by default is minimalistic - the initial import command did not fetch this data yet:
disco mix my_mix -v
Add some more tracks!
Now get track artist/titles for all the tracks in the mix. If track numbers are not precise (eg A vs A1) data won’t be found!
disco mix my_mix -u
Use the verbose mode to see all the details pulled from Discogs:
disco mix my_mix -v
Ask what more you could do with your mix and its tracks (short option would be -h):
disco mix my_mix --help
Edit details of the third track in your mix:
disco mix my_mix -e 3
There is also a bulk-edit option to edit specific fields of all tracks in the mix. Read about it in the command reference section of The mix command
Get additional data about your mix’s tracks from MusicBrainz and AcousticBrainz (key, BPM, links):
disco mix my_mix -zz
Read more about the *Brainz update process here: The import command
This section guides you through typical DiscoDOS workflows. If you would rather like to read an in-detail explanation of what each command does, go to the DiscoDOS User’s Manual.
What’s the quickest way to document a mix?
DiscoDOS can best help you when it’s feeded with as much of your DJ’ing habits as possible. Writing down a mix is done in a matter of minutes. Best you listen through a mix recording while having your records near you. Certainly a mix does not have to be a complete DJ set, it could just be some track combinations you like to play recently. Let’s get started by creating a new mix:
disco mix my_mix -c
The easiest command to remember for adding tracks to the mix is this one:
disco mix my_mix -a "artist title album"
If you hold the record in your hand and know exactly what track it is you played, the quickest way would be using the search subcommand, because the tracknumber on the record (A, B, A1, A2, etc.) can be given directly in the command. This spares you the question of which track on the record you’d like to add:
disco search "artist title album" -m my_mix -t A2
Note: Your search terms don’t have to include artist, title and album. Also label names and catalog numbers are valid.
While listening through an older recording it happens that you don’t remember what it was exactly you played. Just skip over an unknown track and move on with writing down the rest of the mix. When you’ve later figured out what it was you played, squeeze in tracks at the right position in the mix with:
disco search "artist title album" -m my_mix -t A2 -p 12
The -p option works in combination with the mix subcommands well:
disco mix my_mix -a "artist title album" -p 12
Note if you are new to command line tools: Make use of your shells command history and re-use and edit your commands. Usually this is done using cursor keys up and down.
I’m stuck in a mix
You’re in the process of compiling a mix for a gig. You just played this one tune that was really fitting well, but now you’re stuck and don’t know how to move on. You try out different records, nothing seems to work.
DiscoDOS can tell you in what combinations you ever played this tune in the past:
disco suggest "search terms to find the tune"
Another option would be to let it show you a pool of tracks sharing similiar key and BPM:
disco suggest -k Am -b 123
Note: If your tune(s) do not have key and BPM data yet, let them “match” with MusicBrainz first, by using the update from *Brainz search action
I’d like to quickly rate my transitions
You are listening to a recording of a mix you have already documented into DiscoDOS and now would like to quickly rate your transitions, so you and DiscoDOS can learn from it.
Use the bulk-edit function to change specific fields of your mix’s tracks:
disco mix "the mix name" -b trans_rating,trans_notes
Learn more about this function in the mix command section.
Note: Currently DiscoDOS rating analysis system is not finished. This will be coming in future version. As a preparations for this feature, you only are allowed to put these character combinations into the trans_rating field: ++, +, ~, -, –
I got a new record and want to quickly use it in DiscoDOS without re-importing everything
Search for the record on discogs.com. Get the ID from the release pages URL (eg. https://discogs.com/release/123456) and import it:
disco import 123456
Get artist/title for each track
disco search 123456 -u
Get key and BPM from MusicBrainz/AcousticBrainz:
disco search 123456 -zz
Note: Certainly you can always find a tune in your collection by using search terms. You don’t have to use the release ID. We use it here because we have it at hand already
A regular search command and starting *Brainz matching:
disco search "new release new tune" -zz
There is another convenient way when you are in the process of writing down a mix, and realize you can’t find the release because you didn’t add it to the collection yet: Use the -a option of the mix subcommand. Then, instead of searching for a text-term, we hand over a Discogs release ID. DiscoDOS will look for this exact release ID and add it to your Discogs collection as well as to the local DiscoBASE. As expected with the
mix -a commmand, the interactively selected track will be added to your mix too:
disco mix fat_mix -a 123456
I’d like to get as much information about my music as possible - in one go!
As you’ve probably learned already, DiscoDOS doesn’t import all information about a record collection at once but rather “on user request”. Eg. single tracks or whole mixes can be asked to be filled in with additional data from Discogs or AcousticBrainz. When dealing with record collections containing hundreds or even thousands of records, obviously working through all of them via the APIs of online information services takes a lot of time, but certainly DiscoDOS can be asked to do it:
To make a full import of your whole record collection from Discogs (all releases INCLUDING all tracks on them) execute:
disco import --tracks
Note: This command can also be used for an initial import (you just started using DiscoDOS - DiscoBASE is still empty).
1000 records including a total of 3000 tracks complete in about 20 minutes
To get additional data from MusicBrainz and AcousticBrainz (key, BPM, weblinks to release- and recordingpages), execute:
disco import --zz
Note: This command requires the import-tracks command above, being completed already.
This process will take hours and hours, depending on the size of your collection
Read more on “*Brainz matching and importing” and it’s performance in the the import command chapter. You will also learn how the process could be resumed if for some reason the computer had to be switched off or the connection broke away.
Here’s a trick to execute both commands one after the other. We use the “command concatination” features of our shell:
On Windows, do:
disco import --tracks & disco import -zz
on macOS or Linux it’s:
disco import --tracks && disco import -zz
Leave this running “overnight” - You will see a final summary after each of the commands completes, telling you the exact time it was running and how much information was processed and imported. If you’d like to help improve this manual, copy/paste your stats into a Github issue, it would help me a lot to state more accurate estimates here.
I’d like to use my DiscoBASE on multiple computers
DiscoDOS includes a built-in backup and restore feature that can also be used to sync a DiscoBASE between multiple computers.
We need a place to store our discobase.db file online. Currently there are two options:
A folder on a webserver
This section will describe how to use Dropbox only, find the webserver option documented here: FIXME
To allow DiscoDOS access to your Dropbox account you need an access token. To obtain it follow the steps in chapter Configure Dropbox Access for discosync, then come back here.
To backup your DiscoBASE, execute:
discosync --backup or in short
To restore it on another computer, execute:
discosync --restore or in short
Note: Certainly you can use this feature to backup and restore your DiscoBASE on one computer only. The commands are the same
Even more details on what DiscoDOS can do is found in the User’s Manual. This quickstart guide should have given you a first impression on how things work, now consult the User’s Manual for advanced usage concepts. You will also find some background info on how things work and why.