« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
path: root/src/play.js
AgeCommit message (Collapse)Author
2018-04-10Add --title-line option, for fancy tmux windowsFlorrie
Also, "title" and "name" and "trackTitle" and "trackName" are all aliases for the same thing now.
2018-04-08--status-line + man for custom status linesFlorrie
2018-03-19Separate common CLI options into their own fileFlorrie
2018-03-14(play) Add -S as alias --sort-modeFlorrie
2018-03-14Add alphabetic sortFlorrie
This automatically flattens the playlist, so you don't need to pass --flatten-tracks if you also pass --sort a-z. Unfortunately this means there's no particularly convenient way to sort groups alphabetically.
2018-03-07Make (t) key only show information about one trackFlorrie
The showTrackInfo keybinding command can now take a number of next/ previous tracks to show.
2018-02-26Add fancy duration graph utilityFlorrie
2018-02-22Add comment explaining what hasOpenedPlaylist doesFlorrie
I can totally see myself forgetting what on earth the variable exists for without this documentation.
2018-02-22Only open default playlist when neededFlorrie
That is, only when no playlist has already been loaded, and the action requires a playilst. Also a todo.txt note.
2018-02-18Make completely new filter systemFlorrie
See the man page for how it works now.
2018-02-18Move downloadPlaylistFromOptionValue into general-utilFlorrie
2018-02-16Make --track-display-file show SOURCE path to trackFlorrie
This also means we're keeping track of the source item of items, which is sure to be useful more later.
2018-02-12Add --track-display-file option for meme OBS livestreamsFlorrie
2018-01-24Add --playlist-string alias, update man pageFlorrie
2018-01-24MAKE DEFAULT KEYBINDINGS WORK WITH CAPS LOCKFlorrie
2017-11-27Publish smart-playlist command properlyFlorrie
2017-11-24Gracefully exit if the active playlist has no itemsFlorrie
2017-11-12Add --show-keybindings and make a string dynamicFlorrie
"(Press I for track info!)" now displays the appropriate keybinding, rather than always showing "I". Also made the keybinder handler function async; it now waits for its given commands to finish. This doesn't particularly change anything but it Makes Sense.
2017-11-09Merge branch 'master' of https://github.com/towerofnix/http-musicFlorrie
2017-11-09Let keybindings run shell commands, if --trust option is givenFlorrie
Keybinding action format: [[..combo..], 'runShellCommand', ..command name.., [..arguments..]] (--trust is an alias for --trust-shell-commands. When --trust appears in an "options" property of a playlist (or anywhere besides the `http-music play` invocation on the command line, shell command permisisons are *revoked* - they cannot be enabled, even by directly passing --trust to the command line.) Also adds a note to todo.txt.
2017-11-08Only run 'top' keybinding for a specific comboFlorrie
This lets custom keybinding files partially overwrite pre- existing ketbindings.
2017-10-27Add simple setup wizard (http-music setup)Florrie
..and create/update related man pages. Try it!
2017-10-25Make -k and -x fail when the passed group path is not perfectly foundFlorrie
2017-10-24Add --open-playlist-string optionFlorrie
Lets playlists be passed to `play` by an actual string argument; e.g. --playlist-string '{"tracks": [...]}'. Could work well with http-music's own crawler utilities (e.g. --playlist-string '{"source": ["crawl-local", "."]}' or with external ones (e.g. --playlist-string "$(cool-crawler-utilith.sh)". At the moment the only workaround is to use a temporary file to store the playlist in, or to pipe the output of the crawler command (which might be `echo`!) to http-music and use /dev/stdin as the --playlist-file value.. which obviously isn't cross-platform or practical! I'd like to have some aliases in the future since --open-playlist-string isn't really easy to type.
2017-10-12Add --start-at option and 'track version' conceptFlorrie
2017-09-28Add --filterFlorrie
2017-09-26Add --collapse-groups optionFlorrie
2017-09-23Fix a bug where you couldn't --exclude groups added by a smart playlistFlorrie
2017-09-18Track-specific converter optionsFlorrie
See todo.txt, changes in the man page, and this example: https://gist.github.com/towerofnix/9b1853ee74d30357e1b59d22c59aba2f
2017-09-05Shuffle seedsFlorrie
2017-09-03Let users import keybindings from filesFlorrie
Example: https://gist.github.com/towerofnix/381c813f4b231ded5ae416f040134261
2017-09-03Remove a finished todoFlorrie
2017-09-03Move keybinder code into its own fileFlorrie
2017-09-03Begin commandable keybindingsFlorrie
2017-09-02Skip back/forwardsFlorrie
2017-09-02Substitute pickers2 in place of pickersFlorrie
2017-08-25Hide playback statusFlorrie
2017-08-14Use mpv-nofifo if `mkfifo` command is not foundFlorrie
2017-08-11Update man pages to reflect new picker changesFlorrie
2017-08-11Completely re-implement pickersFlorrie
2017-08-10Make pickers slightly more self-contained; add new pickers and change old ↵Florrie
ones, which now support just about any spelling variant
2017-08-09Show track up next when delete-up-next is pressedFlorrie
2017-08-08Only create one converter per instance of DownloadControllerFlorrie
This also makes the message "using (ffmpeg|avconv) converter" appear once (upon startup).
2017-08-08Make keyboard controls work with caps-lock pressedFlorrie
2017-08-07Windows support!towerofnix
(Hopefully this didn't break macOS/Linux.)
2017-08-07Delete temporary files when done with themFlorrie
(safeUnlink isn't really tested)
2017-08-07Desmartify playlists in play.jsFlorrie
2017-08-04Aaaaaaaaaa (fix up-next, maybe?)Florrie
2017-08-04Ah, progressFlorrie
2017-07-24Make commandExists actually work when a command doesn't existliam4