diff options
| author | Florrie <towerofnix@gmail.com> | 2017-10-24 17:33:22 -0300 |
|---|---|---|
| committer | Florrie <towerofnix@gmail.com> | 2017-10-24 17:34:52 -0300 |
| commit | e447c564e9823a32c25aa1c9309c9b13d5225933 (patch) | |
| tree | a57eeb790830a6ca632bb73718a3d5d4ddbd9356 /src/process-argv.js | |
| parent | 85ecc1b72bd01cb9da684a56126bb9239679d513 (diff) | |
Add --open-playlist-string option
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.
Diffstat (limited to 'src/process-argv.js')
0 files changed, 0 insertions, 0 deletions