mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
hlsq: add page (#21466)
* hlsq: add page * hlsq: use long option in curl Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * hlsq: fix curl arg * hlsq: remove erroneous quote * hlsq: descriptive summaries * Update pages/common/hlsq.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# hlsq
|
||||
|
||||
> Anzeige von HLS-Manifesten mit Farbhervorhebung und einfacher Filterung.
|
||||
> Weitere Informationen: <https://github.com/soldiermoth/hlsq/>.
|
||||
|
||||
- Zeige ein HLS-Manifest von einer URL an:
|
||||
|
||||
`{{curl --silent url}} | hlsq`
|
||||
|
||||
- Zeige ein HLS-Manifest aus einer Datei an:
|
||||
|
||||
`{{cat path/to/file.m3u8}} | hlsq`
|
||||
|
||||
- Lade eine URL kontinuierlich neu und aktualisiere die Ausgabe:
|
||||
|
||||
`hlsq -watch -url {{url}}`
|
||||
|
||||
- Filtere eine Multivarianten-Playlist nach einem Attribut (Textwert):
|
||||
|
||||
`{{cat path/to/file.m3u8}} | hlsq -query '{{type = SUBTITLES}}'`
|
||||
|
||||
- Filtere eine Multivarianten-Playlist nach einem Attribut (Zahlenwert):
|
||||
|
||||
`{{cat path/to/file.m3u8}} | hlsq -query '{{bandwidth > 1000000}}'`
|
||||
@@ -0,0 +1,24 @@
|
||||
# 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}}'`
|
||||
Reference in New Issue
Block a user