这是一个可以连接到minio服务器并在chromecast设备上重新存储组件的项目。
nima-cast的Python项目详细描述
nima_cast cli
用法
$ 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
命令
输入?:
(nima.cast) ? Documented commands (typehelp <topic>): ======================================== EOF exithelp play search select stream device goto list quit seek stop Undocumented commands: ====================== pause resume
输入help CMD:
(nima.cast)help play play [num] starts playing the file specified by the number in results of list
安装
使用pip安装:
$ pip install nima_cast
升级:
pip install nima_cast --upgrade
迷你配置
在Windows上:
setACCESS_KEY=XXXXXXXXXXXXXXXXX setSECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX setMINIO_SERVER=YOUR_MINIO_SERVER:9000
在ubuntu上:
exportACCESS_KEY=XXXXXXXXXXXXXXXXX exportSECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX exportMINIO_SERVER=YOUR_MINIO_SERVER:9000
运行应用程序
$ nima_cast
选项
- 使用--no-minio进行流式处理(不需要连接到 米尼奥)。
- 使用--show-debug查看来自转换的调试消息。