« 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
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
2017-07-24Fix --player not workingliam4
2017-07-24Support SoX again; make 'converter' meta-downloader (converts to wav)liam4
2017-07-20Update JS to have one main http-music commandliam4
2017-06-11Rename play.js -> http-music.jsliam4
I'm not sure if it should maybe be index.js or main.js, though..?
2017-06-08Help messageliam4
2017-06-04curPlaylist -> activePlaylistliam4
2017-06-04Make things work even without a playlist.jsonliam4
2017-06-04Local file downloaderliam4
2017-06-01YouTube downloaderliam4
2017-06-01--play-optsliam4
2017-05-31Generally improve how scripts and running worksliam4
2017-05-31General improvementsliam4
2017-05-31ProgressLiam
2017-05-31Modularize it allLiam