Hi Daniel, Thanks for some great feedback - I've been re-thinking hooking up to the start button as I generally use the cue button to tap the beat, then once its playing where I want I hit the start button - I only have one sound card and no midi controller so I might use it differently to other people. Anyway point is, I'm hitting the start button way too many times to be querying the database - and its not really a great time to be using resources running a search anyway. I figure when a track is loaded - that's the best time to display the "other tracks that go with this one" list.
I do like your idea about "current playing deck" - I'll look into that and see how it feels. How does it decide which is the "current"? I'm also thinking if this feature works and is useful it really ought to be integrated into the "library", and the "crates" - might be nice if it was a "show/hide" feature kind of like the way you can show/hide the samplers. I'm getting ahead of myself, I'll try your suggestion and go from there. thanks Keith 2012/3/20 "Daniel Schürmann" <dasch...@gmx.de>: > Hi Keith, > > it is great, you are working on that feature! > > In my opinion b) is better than a) because Mixxx don't know how long the DJ > will play the track actually. An additional option might be c) Library > displays track suitable for mix to the current playing deck. > > connect(&PlayerInfo::Instance(), SIGNAL(currentPlayingDeckChanged(int)), > this, SLOT(slotPlayingDeckChanged(int))); > > A future option might be to take the "set log" tracks into account. Something > like current track 70%, last track 30% > > The current set log play-list ID is stored in SetlogFrature::m_playlistId > > Hooking int start/stop of a track works like this (taken from dlgautodj.cpp) > > m_pCOPlay1 = new ControlObjectThreadMain( > ControlObject::getControl(ConfigKey("[Channel1]", "play"))); > m_pCOPlay2 = new ControlObjectThreadMain( > ControlObject::getControl(ConfigKey("[Channel2]", "play"))); > > > But please keep in mind, that Mixxx 1.11 will be n-deck capable. > > > Kind regards, > > Daniel > > > > -------- Original-Nachricht -------- > Betreff: [Mixxx-devel] Active Library Filter > Datum: Tue, 20 Mar 2012 15:41:44 -0800 > Von: keithsalisb...@gmail.com <keithsalisb...@gmail.com> > An: mixxx-devel@lists.sourceforge.net > > > So my "active library filter" is coming along quite nicely. > > For those who don't know, the idea is pretty simple. > > I've created another "library view" with check boxes "Genre" and "Bpm" > which when checked filter the library view to the track loaded in deck > 1. So if you're playing a trance track with 130bpm, you library will > filter to down to all trance tracks with bpm of 130. > > Now I have a fork in the road I want to get some input before moving > forwards: > > > Firstly, multiple decks playing: > > There's two solutions I can think of here - > > a) check all decks and find the one with the least amount of time left > (and thereby surmise it will be the next deck to be loaded. > b) just concatenate the "genre" and "bpm" for all decks that are playing. > > I quite like the idea of b) it means the library will display tracks > suitable to mix into either deck. If I can hook into the "deck > stopped" signal then I can force an update when one of the decks > stops. > > Anyone have any thoughts? Also anyone know if there is a signal for > deck start/stop events I can hook into? > > thanks > Keith > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > <a href="http://mixxx.org">Get Mixxx, the #1 Free MP3 DJ software Today</a> > http://mixxx.org > > > Mixxx-devel mailing list > Mixxx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > -- > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir > belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de -- keithsalisb...@gmail.com ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ 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