mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.5k stars 1.28k forks source link

Controls to jump to sidebar item by index #6212

Open mixxxbot opened 2 years ago

mixxxbot commented 2 years ago

Reported by: hile Date: 2011-12-28T15:10:32Z Status: Confirmed Importance: Wishlist Launchpad Issue: lp909392 Tags: easy, library, midi, polish


I think it would be nice to have a controller mapping commands to jump to playlist or crate given by index, or get current value, for example

engine.setValue(['Playlist'],'select_library'],true);
engine.setValue(['Playlist'],'select_playlist_index'],1);
engine.setValue(['Playlist'],'select_crate_index'],2);

Also, engine.getValue(['Playlist'],'selected') could return for example 'library', 'playlist_1','crate_1' or similar: needs more planning but it might be useful in scripts.

This would allow mapping a button controller to select your favorite playlists and crates directly without scrolling, and to return to the library as well. It would then be up to the user to order playlists so that these buttons make sense.

With OSC or HID it might be even possible to pass the playlist name to jump to, so maybe these might be needed as well:

engine.setValue(['Playlist'],'select_playlist_name','Chillout');
mixxxbot commented 2 years ago

Commented by: rryan Date: 2014-03-24T22:22:50Z


Until we get string controls this will be hard.

For now, we can provide basic ones for things there are one of:

[Playlist],sidebar_select_library [Playlist],sidebar_select_autodj [Playlist],sidebar_select_browse [Playlist],sidebar_select_analyze [Playlist],sidebar_select_itunes [Playlist],sidebar_select_rhythmbox [Playlist],sidebar_select_banshee

And we could also provide a playlist_selector, playlist_next, playlist_prev control (same for crates).

mixxxbot commented 2 years ago

Commented by: rryan Date: 2014-03-24T22:23:51Z


BTW for anyone looking to pick this up, go to src/library/librarycontrol.cpp that's where we keep these library controls