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
==========
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
Release history Release notifications | RSS feed
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.6.tar.gz
(7.3 kB
view details)
File details
Details for the file hlsclient-0.1.6.tar.gz
.
File metadata
- Download URL: hlsclient-0.1.6.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b6948935ec6c3cd34b802905f2173c3c8c5b4cd75bea7e9025ae80e8560966c |
|
MD5 | 769165464dcf02150ca6b4e9d595b64a |
|
BLAKE2b-256 | c2ff01d86fa4c04d297b2b5f044c2556261df089a1999b37462550a340d659e7 |