« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2019-10-17Don't include non-tracks in total track countFlorrie
2019-10-17Import tui-lib with npm instead of as a submoduleFlorrie
2019-10-17New todo.txt shenanigansFlorrie
(These have been collected from the last few days of working on mtui.)
2019-10-16Skip non-playables when determening next/prev itemFlorrie
...to play. This is useful when you have non-playables interweaved with tracks, e.g. a file for each track's art.
2019-10-15Rename paneLeft/paneRight to tabberPane/queuePaneFlorrie
2019-10-15Don't process metadata of non-tracksFlorrie
This fixes mtui crashing whenever you process the metadata of any group including a non-track too.
2019-10-15Dim selected non-playable when not focusedFlorrie
2019-10-15Make BasicGrouplikeItems respond to menu keyFlorrie
So you can press f/m/etc to open the menu on those options, just like on interactive grouplike items.
2019-10-15Make next/previous tab controls wrap aroundFlorrie
2019-10-15Open JSON playlist files in new tabFlorrie
2019-10-15(o) to open through system; show non-music filesFlorrie
2019-10-14Fix crash when clearing the queueFlorrie
Specifically, when the scroll view is far enough down that the currently playing track (which does not disappear when you clear the queue) is not visible.
2019-09-30Make menubar select first item, like context menusFlorrie
This also tidies up the logic for changing the selected element from context menus to the menubar, fixing a bug where the menubar forgets which element was selected before it, and not re-introducing the bug which the complex logic fixed in the first place (which was the menubar seeing the context menu as the previously selected element, when the menu will be destroyed by the time the menubar restores its selection).
2019-09-26Make menubar easter-egg color/attribute draw depsFlorrie
So pressing a/c (:33) in the menubar will now cause a rerender.
2019-09-25Stop players from playing after they're removed!Florrie
2019-09-23Multiple player UI interaction shenanigansFlorrie
Please don't ever let me stay up until 29:57 again. Future me will thank you in advance.
2019-09-23Re-add download function to fix process metadataFlorrie
The download code doesn't actually really depend on state, besides having access to the record for the track, which we can pass in from anywhere.
2019-09-22Basic multiple player UIFlorrie
Currently uses meta+(c, x, n, p, up, down) keys as the only interaction method, but that'll change soon!
2019-09-20Jump to menubar options with keyboardFlorrie
I _love_ the KeyboardSelector tool.
2019-09-20WIP - support multiple players at onceFlorrie
Currently bug-free and doesn't change anything about existing mtui behavior! Meta N to create a new player, meta up/down to switch between which one you're interacting with. Each player has its own queue. Eventually (soon(TM)) there'll be much better UI to go with all this!
2019-09-18Don't reload the listing if it's unnecessaryFlorrie
...in reveal(). This fixes the bug where the revealed track would always be positioned at the bottom of the screen, which happened because reloading the listing reset the scroll index back to the top.
2019-09-18Default to 'after selected song' in context menuFlorrie
2019-09-18Update tui-lib with label.text draw dependencyFlorrie
The progress label that shows when mtui is processing metadata will update the screen now.
2019-09-17Fix toggling pause not updating screenFlorrie
This makes the pause indicator (next to the time remaining in the queue) work again.
2019-09-17Keep selected track/group visible when resizingFlorrie
2019-09-17Fix select-el keys not working w/ context menusFlorrie
2019-09-16Update tui-lib with basic Element classFlorrie
2019-09-15Reformat keybindings documentationFlorrie
No more <kbd> formatting, which is arguably more accessible but a pain to read and edit in plain text.
2019-09-15Add Home/End support to scroll to top/bottomFlorrie
2019-09-15Jump to top/bottom in context menusFlorrie
Although we don't have any context menu options which start with the letter G yet, if we did, the keyboard selector would (intentionally) take priority and focus that element instead of doing jump to start/ bottom behavior. However, pressing Home/End will always work (once it's implemented).
2019-09-15Make InlineListPickerElement update screenFlorrie
2019-09-15Only render when stuff on-screen actually changes!Florrie
This means we can basically guarantee 0% CPU usage when nothing on the screen is changing! There may still be some kinks to work out, but I've tested most features and fixed any apparent bugs (including an unrelated bug in the suspend feature which made it crash when resuming the process).
2019-09-11Make Q key queue after selected trackFlorrie
Also make it caseless: q = Q. See todo.txt (which also has a large new note regarding duplicates in the selection system).
2019-09-10'Clear past / up to this track' queue menu optionsFlorrie
2019-09-06Fix songs from before insert index queuing wronglyFlorrie
Now /that/ was hard to fit in the commit line length. (:
2019-09-04Fix reprocess metadata option not workingFlorrie
I'd forgotten to pass the reprocess flag through!
2019-08-27Keep selected item in view (wrt shift selecting)Florrie
2019-08-25Remove dead 'defaultIndex' argumentFlorrie
I didn't end up using this.
2019-08-25Select already selected option from dropdown menuFlorrie
...by default.
2019-08-25Submenu support, add inline list picker dropdownFlorrie
2019-08-25Fix menuLayer capturing all mouse events!Florrie
2019-08-25Dynamically create context menu instead of reusingFlorrie
...a single one. This is working towards letting multiple context menus be open at once.
2019-08-25Make shift-up/down still move on non-item inputsFlorrie
2019-08-25Avoid conflict in isToggleLoop/isFocusLabels keysFlorrie
Maybe there'll be a better key than L for isFocusLabels later. We'll see!
2019-08-25Shift+up/down to select multiple items at onceFlorrie
Dragging works too, as implemented earlier.
2019-08-25Use control+up/down to play next/previous tracksFlorrie
...instead of shift+up/down, which I'm going to make select items in listings (ala graphical file browsers).
2019-08-24Fix skipIfCurrent causing a crashFlorrie
I.e, fix a reference to the now nonexistant playNextTrack. This fixes a crash that happens when "Play later" is selected on the currently playing track (since doing so is meant to skip to the next song in queue before moving the play-later'd track).
2019-08-22Basic label interactionFlorrie
2019-08-22Label (tag) drawing systemFlorrie
2019-08-22Tidy computeText function for grouplike itemsFlorrie