-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixxx status files + settings #13157
base: main
Are you sure you want to change the base?
Conversation
Creating a JavaScript file with fixed artist/song title, which is automatically reloaded during a DJ session when it's changed is not the proper way to implement this. |
Thank you, Joerg, for your reaction , I've made quiet a progression in the Mixxx-world. When I started about getting the status-info in the decks (artist - title) to get it in my controller (#12823 I got the hint/tip: "I think parsing the log is a okayish but brittle hack, a more robust / easier solution would be to write the state changes to individual files (per deck)." and the link to a PR #3483 (expose current track metadata to external APIs). That is why I made my status-files solution, and I'm quiet proud on it, for being a Mixxx/C++ nitwit 2 months ago I achieved a working solution. There are many parts / features / possible improvements in Mixxx that need a good and definitive solution or rewriting, but they get only attention when someone puts his/hers teeth in it. It's a persons motivation to have a certain feature that makes evolution and progression. The trackdata-route has been chosen and abandoned many times. This is a next step, as you mentioned it it's a feature that is wanted by DJ's but also by people making radio-shows, podcast, lighting engineers... because they can use it to share information. When the information should come from the control object the info cannot be used in websites or send to lightingcontrollers (adapted light show for that song) or as information for the public. It is defenitively not an 'OR' (control object or statusfiles) , it should be an 'AND', and that is way this should be seen as a
I don't see it as a closed chapter, so I hope you want to explain me how and help me with obtaining the control objects for [ChannelX],song_title and [ChannelX],artist. Kind regards. |
Statusfile:
If checked, a Statusfile will be created in map with the custom controllermappings.
A statusfile is a javascriptfile that contains
The Artist and Title can be used for display on the controller-screen.
The time-field can be used in case you want to control 4 decks with a 2 deck-
controller. Mixxx reloads the controller mapping each time something changes.
When a new track is loaded and statusfiles are written, the decks switch to 1 and 2.
With the time field you can set the focus on the last manipulated decjk (1-2 and 3-4).
So if you ejected a track in deck 4, the focus can stay on deck 4 to load another track.
The statusfiles need to be included in the header of the xml-file.
Statusfiles are named:
Status[ChannelX].js, Status[ChannelY].js ...
Status[SamplerX].js, Status[SamplerY].js ...
The contents:
var TrackDeckX = {
Artist : "trackartist",
Title : "tracktitle",
Time : "12:52:44",
};
In the beginning of the controller.js file you can load the contents of the Statusfiles
in arrays to use them for displaying.