Skip to main content

A Python library for SmoothStreams

Project description

A Python library for working with SmoothStreams services.

Usage

Create a list of channels with metadata – including stream URLs – for a defined service, for a particular server, with a specific quality.

>>> g = Guide(Feed.ALTEPG)
>>> auth = AuthSign(service=Service.LIVE247, auth=('username', 'password'))
'c2VydmVyX3R...'
>>> s = g.generate_streams(Server.NA_EAST_VA, Quality.HD, auth, Protocol.RTMP)
>>> s[0]
{'number': '1', 'name': '01 - ESPNNews', 'icon': 'https://fast-...', 'url': 'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'}
>>> s[0]['url']
'rtmp://dnae2.smoothstreams.tv:3625/view247/ch01q1.stream/playlist.m3u8?wmsAuthSign=c2VydmVyX3R...'

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

pysmoothstreams-0.18.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

pysmoothstreams-0.18-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

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