« 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/loop-play.js
AgeCommit message (Collapse)Author
2018-04-14Status line switcherFlorrie
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-04-08Add %esc% and %name%Florrie
%esc% is for fancy ANSI formatting (e.g. %esc%[2m%timeLeft%). %name% is just an alias for %trackName%.
2018-04-08Add %trackName% template replacementFlorrie
2018-04-08Add %timeLeft% template replacementFlorrie
2018-04-08Fix referencing groupTrackIndex when it doesn't existFlorrie
2018-04-08Internal support for custom status linesFlorrie
2018-04-08Improve duration accuracy in SoX playerFlorrie
2018-04-08Fix skip not working with sox playerFlorrie
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-03-03Be more specific about loop-play errorsFlorrie
2018-02-23Don't count intentionally .kill()ing a process as it crashingFlorrie
2018-02-23Handle player process crashing gracefullyFlorrie
E.g. try pulseaudio -k, then run http-music.
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-24Revert "Add paused indicator for mpv player"Florrie
This reverts commit a22688a0f04920c73a06a7c1be09037c4de8f0ce. I still have to think through this feature a fair bit more - currently if you skip to the next track while paused, or pause before MPV actually starts playing, the paused indicator shows while MPV isn't actually paused.
2018-01-24Add paused indicator for mpv playerFlorrie
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-10-30Actually clear status line properlyFlorrie
2017-10-30Never show two identical track indexesFlorrie
2017-10-30Add missing percent symbol to mpv status lineFlorrie
2017-10-30Clear old status line when printing a new oneFlorrie
2017-10-29Add track number to status line and make status line more consistentFlorrie
This does two big things - there's a few changes in pickers.js to support track numbers (and a new supporting function in playlist-utils.js), and some changes in loop-play.js to make the status line formatting consistent regardless of the active player.
2017-10-12Add --start-at option and 'track version' conceptFlorrie
2017-09-20Show path to track's parent in track info - not including the track, which ↵Florrie
is redundant
2017-09-19Fix critical bug; http-music now halts if 5 tracks fail to download in a rowFlorrie
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-07Rename pickers2.js to pickers.jsFlorrie
2017-09-02Skip back/forwardsFlorrie
2017-09-02Because adding an explanation totally makes it alrightFlorrie
2017-09-02Do something that works(?) when a track download failsFlorrie
2017-09-02Sane-ify all the things, but maybe break things when downloads failFlorrie
2017-09-02Re-implement logTrackInfo; now shows previous/next tracksFlorrie
2017-09-02Tie in delete-up-next a little nicerFlorrie
2017-09-02Substitute pickers2 in place of pickersFlorrie
2017-08-25Hide playback statusFlorrie
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-08Fix SoX playerFlorrie
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-04Aaaaaaaaaa (fix up-next, maybe?)Florrie
2017-08-04Ah, progressFlorrie
2017-08-04Handle failed downloads in loop-playFlorrie
2017-07-26Let downloader be specified manually, per-track (e.g. use youtube-dl for ↵liam4
non-YT links)
2017-07-24Support SoX again; make 'converter' meta-downloader (converts to wav)liam4
2017-07-21Make some error handling for YouTube downloadsliam4
2017-07-20Update JS to have one main http-music commandliam4
2017-07-19Change the way playlist updating works, and show track paths when I is pressedliam4