Skip to main content

nima_cast CLI

Usage

$ nima_cast
Welcome! Type ? to list commands. options: --no-minio and --show-debug

(nima.cast) select
INFO:pychromecast:Querying device status
INFO:pychromecast:Querying device status
[0] - Bedroom speaker
[1] - Living Room TV
Please choose an index: 1

(nima.cast) list
[ 0]-   example_video.mp4

(nima.cast) play 0
INFO:pychromecast.controllers:Receiver:Launching app CC1AD845

(nima.cast) pause

(nima.cast) goto 0:10:0

(nima.cast) pause

(nima.cast) stop

(nima.cast) quit
INFO:pychromecast:Quiting current app
INFO:pychromecast.controllers:Receiver:Stopping current app 'CC1AD845'

(nima.cast) exit

Commands

You can get a list of commands by enterring ?:

(nima.cast) ?

Documented commands (type help <topic>):
========================================
EOF     exit  help  play  search  select  stream
device  goto  list  quit  seek    stop

Undocumented commands:
======================
pause  resume

Look at the documentation for each of them by entering help CMD:

(nima.cast) help play
play [num] starts playing the file specified by the number in results of list

Installation

Install using pip:

$ pip install nima_cast

Upgrading:

pip install nima_cast --upgrade

Minio Configuration

On windows:

set ACCESS_KEY=XXXXXXXXXXXXXXXXX
set SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
set MINIO_SERVER=YOUR_MINIO_SERVER:9000

On ubuntu:

export ACCESS_KEY=XXXXXXXXXXXXXXXXX
export SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export MINIO_SERVER=YOUR_MINIO_SERVER:9000

Running the app

$ nima_cast

Options

  • use --no-minio for streaming purposes (no need to connect to minio).

  • use --show-debug to see debug messages from the cast.

Metadata

Release files for nima-cast 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nima-cast 0.1.12
File Size Uploaded
nima_cast-0.1.12.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nima-cast 0.1.12
File Interpreter ABI Platform
nima_cast-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / nima_cast-0.1.12.tar.gz

Download URL nima_cast-0.1.12.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b9359d268d6085ef1adfda15aa4f1360670bf65994d78e394d93f61d58096eed
BLAKE2b-256 checksum
How to use checksums
c3b2590e409978deb3db650a8ad207df436fe02337570e3149959cfd431dae62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

Release files / nima_cast-0.1.12-py3-none-any.whl

Download URL nima_cast-0.1.12-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a7d7b7a88dfa6f68af1ea751ce3475ac1167aacd6c7c30bd9c0b7f0f8429e1c
BLAKE2b-256 checksum
How to use checksums
1908683c16ea0a732f4f2b5106dbcfe043091f943a360fac90b29c9e5301b78d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page