Hello ,

Is the id field in library table in the database same as the track_id used
by autoDj , specifically AutoDJCratesDAO::getRandomTrackId(void) here
<https://github.com/metastableBarrett/mixxx/blob/b1394928/src/library/dao/autodjcratesdao.cpp#L498>
.

If so then I can use a simillar query as the one above to get a track from
the library to add to the autoDJ play list .

If not can you tell me how id / track_id are set and exactly which part of
the code does this.

I want to extend the 'addRandom' button in the auto DJ to be able to add
random tracks from the library even if the crates are empty.
-- 
Don Dennis
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to