Here's my first idea for implementing djserver-like playlists in Mixxx.
I think the right metaphor is to allow crates to be added to auto-DJ. There
would be a sub-item under the "Auto DJ" tree-view item, called "Crates".
There, you would see all the crates that have been loaded into auto-DJ. In the
existing "Crates" view, you could right-click on a crate and select "Add to
Auto-DJ". In the Auto-DJ Crates view, you could right-click on a crate and
select "Remove from Auto-DJ". If auto-DJ needs a new track, and none are in
the list, it'll pick a random track from the totality of loaded crates, using
the djserver-like rules I outlined earlier.
This seems like a simple idea...but I've already run into an unexpected
roadblock. I can't figure out how to add a "Crates" sub-item under the "Auto
DJ" item in the tree view! I thought I could search the code for QTreeView and
QTreeWidget and find the relevant code, but that came up empty! I thought I
could look at the skin documentation and use that to understand an existing
skin, but the documentation seems to be out of date, and looking at QTreeView
in a skin.xml file doesn't show how those items (Library, Auto DJ, Playlists,
Crates, etc.) get added to the tree-view! Can someone please point out where
this code/UI lives?
Steven Boswell
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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