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](https://developer.apple.com/resources/http-streaming/). 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.8.tar.gz (8.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hlsclient-0.1.8.tar.gz
Algorithm Hash digest
SHA256 823f8aff19ac29c595a960e4d19304f30f8803910d2f03dc52317775b4759552
MD5 08c0da9897a988cf9d69b531e885437c
BLAKE2b-256 e12fdbcd0f3a7a4ff0e33ea29cf8a0dae7c1f1ecc03e803242886bc700ac3af3

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