« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/backend.js
AgeCommit message (Collapse)Author
2020-05-06clear timeData when a new track startsFlorrie
this makes it so that the value of timeData at any point will always be associated with the track which is currently playing. i thought this was already how timeData worked -- that assumption is what makes a lot of the math in updateQueueLengthLabel work!
2020-05-03show queue length in collapsed progress infoFlorrie
2020-04-06Auto-DJFlorrie
2020-02-15whoopsFlorrie
2020-02-15cli args (bass boost ur music)Florrie
$ mtui --player sox --player-options bass +25 \;
2020-02-04more os.homedir()Florrie
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-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-15(o) to open through system; show non-music filesFlorrie
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-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-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-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-08Separate remaining duration calculationFlorrie
...into its own function. To be used to get the total duration string of a grouplike. (This is stored on the backend instead of a more general playlist-utils function because it requires access to the metadata code specific to mtui.)
2019-07-30"Pause when this track ends" optionFlorrie
2019-07-06Experimental telnet serverFlorrie
2019-07-05Separate backend from UIFlorrie