mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 08:01:46 +00:00
30 lines
707 B
Plaintext
30 lines
707 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# hlsq
|
|
|
|
> Display HLS manifests with color and basic filtering.
|
|
> More information: <https://github.com/soldiermoth/hlsq/>.
|
|
|
|
- View an HLS manifest from a URL:
|
|
|
|
`{{curl --silent url}} | hlsq`
|
|
|
|
- View an HLS manifest from a file:
|
|
|
|
`{{cat path/to/file.m3u8}} | hlsq`
|
|
|
|
- Continuously refetch a URL and update the output:
|
|
|
|
`hlsq -watch -url {{url}}`
|
|
|
|
- Filter a multivariant playlist by an attribute's string value:
|
|
|
|
`{{cat path/to/file.m3u8}} | hlsq -query '{{type = SUBTITLES}}'`
|
|
|
|
- Filter a multivariant playlist by an attribute's numeric value:
|
|
|
|
`{{cat path/to/file.m3u8}} | hlsq -query '{{bandwidth > 1000000}}'`
|