Here is a trick for Antorbanen DJ did by Muka from Don’t Expect Less Group
https://www.twitch.tv/antornbanen
https://dontexpectless.com/
Is a simple MacOs terminal command to read last line(s) of VirtualDJ History tracklist.txt, write in a new file called obs-tracks.txt and added to OBS as a simple text using Freetype 2 font you can modify the style! 😀
- THE TERMINAL COMMAND
while true; do tail -n 1 /Users//Documents/VirtualDJ/History/tracklist.txt | cut -c 9- > /Users//Documents/VirtualDJ/History/obs-tracks.txt; sleep 1; done
**IMPORTANT – modify with your user name /user folder name
**COMMAND EXPLICATION on bottom
- EXECUTE COMAND
- Open Terminal – «cmd+space» and write terminal
- Copy and paste the command and pulse RETURN
- FIRST CHECK
- Open VirtualDJ and play a track with the fader at top min 45sec
- Check file /Users//Documents/VirtualDJ/History/tracklist.txt and see if the current track is on the bottom
- Check file /Users//Documents/VirtualDJ/History/obs-tracks.txt and see only the actual track
- SECOND CHECK
- Play a second track for min 45sec
- Check file /Users//Documents/VirtualDJ/History/obs-tracks.txt and see ONLY THE SECOND TRACk
- SHOW TRACK IN OBS
- Add new Text FreeType 2 font
- Selectec option READ FROM FILE
- Scroll down and in TEXT FILE select obs-tracks.txt (remember, located in /Users//Documents/VirtualDJ/History/obs-tracks.txt)
VIRTUALDJ tracklist.txt EDIT INFO
- Go to VirtualDj Config
- Go to OPTIONS TAB located on left
- Write TRACKLIST in Search box located at top
- You will see 3 parameters under BROWSER
historyDelay – Witing time in seconds before write the playing track in tracklist.txt (change to 3 or whatever for testing)
tracklistFormat – The TAGs will write from the track
You can see a list of parameters here http://www.virtualdj.com/wiki/Skin%20SDK%20Textzone.html
EXTRA OPTION – INFO IN 2 LINES
We did a litle second mod to show more info from the track in 2 lines beacuase a lot of time the text is too long.
Here is how to proceed
- Modify the command changing the «-n 1» to «-n 2». This change will read the 2 last lines from tracklist.txt
- Modify the parameter «tracklistFormat» in VirtualDJ config to write the TAGs of the track in 2 lines using «\n» to print a new line feed
**IMPORTANT – Remember to add 8 characters after «\n» beacuse will be ignored by the command
Exmaple: %author – %title \n 12345678%bpm – %album – Year %year
- Will show:
FJAAK – Don’t Leave Me
130BPM – Don’t Leave Me / Plan A – Year 2014