Skip to main content

Client to download all files from HLS streams

Project description

hls-client
==========

This is a simple Python HTTP Live Streaming Client. It consumes a list of remote
playlists, and saves all needed files to serve the playlist
locally: the key, segments, and a modified `m3u8` with
paths normalized.

It also supports backups, i.e., if the same playlist is available
on more than one server, it will track each server status and will
switch to the backup if needed.

Through the `config.ini` it's possible to customize where the files
will be saved and what is the URL that provides servers info via JSON.

The JSON must be something like:

{
actives: [
{
m3u8: "/msfc/Edge.m3u8",
servers: [
"liveips.nasa.gov.edgesuite.net"
],
bitrates: [],
needs_index: false
}
]
}


Running
--------

To run the client, simply run:

python -m hlsclient

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hlsclient-0.1.4.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file hlsclient-0.1.4.tar.gz.

File metadata

  • Download URL: hlsclient-0.1.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hlsclient-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e661cd2de5e170b634381b7d10997b0404e2dd550139954fc4282ece28bb50f7
MD5 9b37b7cf166d192f8301bbffe52f04b2
BLAKE2b-256 dc8107cab59751f4e207fc0c81c33eb26a338462438fd37bfb9aa39594075616

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page