dev-radio
dev-radio is simple command line tool to listen to radio and developer podcasts.
NOTE: This package requires vlc to be installed on your system.
Listen to radio.
Listen to podcasts.
Contents
Installation
Just run pip install dev-radio
use pip3 if you are on Linux.
Usage
Help menu
Shows the help menu about dradio and it's subcommands.
$ dradio --help
Radio
Play radio streams.
radio help
$ dradio radio --help
# Using alias.
$ dradio rad --help
Listing all the radio stations.
$ dradio radio --list
# Using alias.
$ dradio radio -L
# or
$ dradio rad -L
Playing a radio station named jpop.
$ dradio radio --play jpop
# Using alias
$ dradio radio -P jpop
# or
$ dradio rad -P jpop
Adding new radio station.
# adds a new station with name hip-hop0
$ dradio radio --add-station hip-hop0 https://stream.laut.fm/1000hiphop
# Using alias
$ dradio radio -A hip-hop0 https://stream.laut.fm/1000hiphop
# or
$ dradio rad -A hip-hop0 https://stream.laut.fm/1000hiphop
Deleting a radio station.
$ dradio radio --del-station hip-hop0
# Using alias
$ dradio radio -D hip-hop0
# or
$ dradio rad -D hip-hop0
Renaming a radio station.
$ dradio radio --rename-station hip-hop0 hip-hop
# Using alias
$ dradio radio -R hip-hop0 hip-hop
# or
$ dradio rad -R hip-hop0 hip-hop
Resetting all the stations to default ones.
This deletes any newly added stations, renamed stations and restores the default radio stations.
$ dradio radio --reset
# No alias for reset option.
$ dradio rad --reset
Check which stations are working.
$ dradio radio --check
# Using alias
$ dradio radio -C
# or
$ dradio rad -C
Podcast
Play podcasts.
podcast help
$ dradio podcast --help
# Using alias
$ dradio pod --help
List all the podcasts.
This prints list of all currently available podcasts.
$ dradio podcast --list
# Using alias
$ dradio pod --list
# or
$ dradio pod -L
Show all the episodes of a podcast.
$ dradio podcast --all-eps stackoverflow
# Using alias
$ dradio podcast -A stackoverflow
# or
$ dradio pod -A stackoverflow
Play an episode of a podcast.
# 0 is the episode ID NOT episode number.
# Passing episode ID as 0 plays the latest episode of the podcast.
$ dradio podcast --play stackoverflow 0
# Using alias
$ dradio podcast -P stackoverflow 0
# or
$ dradio pod -P stackoverflow 0
Setting up development environment.
git clone https://github.com/Legion-God/dev-radio.gitcd dev-radiothen create your virtual environmentvirtualenv venv- Activate your venv by entering
source venv/bin/activate, if you are on Windows use.\venv\Scripts\activate pip install -r requirements.txt- To install package locally, run
pip install -e . - And you are done !
Metadata
Release files for dev-radio 1.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dev-radio-1.0.10.tar.gz | 14.4 kB | Without provenance | Details for dev-radio-1.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dev_radio-1.0.10-py3-none-any.whl | Python 3 | none | any | Details for dev_radio-1.0.10-py3-none-any.whl |
Total release size: 140.7 kB
Release files / dev-radio-1.0.10.tar.gz
| Download URL | dev-radio-1.0.10.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adb9546d6ae448aed9e45540660a6cdef80803d3da80a5a90a134d0a07875cc8
|
|
BLAKE2b-256 checksum How to use checksums |
ea9a36170e07dc964fec54cfa57e666cf5a6ce0eb0cef369724a220f206b1715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Release files / dev_radio-1.0.10-py3-none-any.whl
| Download URL | dev_radio-1.0.10-py3-none-any.whl |
|---|---|
| Size | 126.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a235fb87bcf75ff1edda04a1aae8cfe9f4e724bcc165eb23f8170c1987af108b
|
|
BLAKE2b-256 checksum How to use checksums |
7f68dcdcb0c8089d9158f5474d66bce4c090baf4a5bb33db26f4cc73711133a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Security for dev-radio 1.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.