Skip to main content

A simple npr streaming cli

Project description

npr-cli

A simple cli for streaming your favorite npr stations.

Installation

pip install npr-cli

Installation requires VLC, homebrew instructions can be found here.

Usage

npr

npr up # start the npr daemon
npr down  # stop the npr daemon

npr search # search stations by name, call or zip code.
npr search -q <your search> # search stations directly.

npr play # play your latest stream.
npr stop # stop streaming

npr favorites # select a stream from your favorites.

TODO:

  • Better handling of daemon, launchd/systemd
  • Run daemon behind gunicorn/uvicorn
  • Allow over writing of last line in terminal, a giant stack of commands is ugly.
  • Create a "Now Playing" page to display known metadata about a stream
  • npr report to report errors as issues in GH.
    • report streams that wont play
      • acceptance criteria:
        • should read .npr/log/error.log and send content as part of issue
        • should send stream object.
        • should not create issues for open issues with the same stream
    • report recent errors, this is long term

Issues

Please report any bugs you encounter as issues to this repository.

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

npr-cli-0.1.3.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npr_cli-0.1.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file npr-cli-0.1.3.tar.gz.

File metadata

  • Download URL: npr-cli-0.1.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for npr-cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 58b5cf4aafbc0dec44cd27866f43bd39d2b76fd061b3b84319a02733522e4df1
MD5 0ef7bd67de2b25e7c629fbf72a632f21
BLAKE2b-256 eefca6940f052a7c79016da8658c512b385a26d47f0c1d76cec9064ec3fdc199

See more details on using hashes here.

File details

Details for the file npr_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: npr_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for npr_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d314d7bbd3ede54842fdbcf0951ab06afa57c20eea517da4db677ef703731edd
MD5 51c7a670694e31464be0dbdf4ea0912e
BLAKE2b-256 460f615fabf91073d2f57d8d0a666b17fcbd047ba889262165724ca4e6722d0d

See more details on using hashes here.

Supported by

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