【文件属性】:
文件名称:pyps4-2ndscreen:Asyncio Python库,用于控制Sony PlayStation 4控制台
文件大小:82KB
文件格式:ZIP
更新时间:2021-05-24 11:13:25
Python
PyPS4-2ndScreen
描述
基于Node.js包ps4-waker的完整Python实现,这是PS4 2nd Screen App的非官方API。
尽管该模块确实包含基本的CLI,但该模块主要面向开发人员。
免责声明:我与该项目/模块不隶属于Sony Interactive Entertainment LLC。 因此,该项目可能会随时中断。
特征
该模块几乎可以执行PS4 Second Screen App中发现的所有功能。
PS4电源和播放媒体状态/状态报告
遥控
开机和待机控制
开始特定的游戏/媒体
从Playstation商店检索媒体信息
兼容性
经过测试:
环境:Python 3.6 / 3.7 / 3.8
操作系统:Debian
安装
软件包可以通过pip或从源安装。
建议将模块安装在虚拟环境中。
首先创建虚拟环境:
python -m venv .
s
【文件预览】:
pyps4-2ndscreen-dev
----MANIFEST.in(60B)
----README.rst(4KB)
----pylintrc(626B)
----.github()
--------ISSUE_TEMPLATE()
----EXAMPLE()
--------client.py(4KB)
----.media_art_test_results.txt(15KB)
----script()
--------test_art(297B)
--------release(2KB)
--------update_docs(97B)
----.circleci()
--------config.yml(4KB)
----requirements.txt(115B)
----requirements_test.txt(117B)
----.travis.yml(976B)
----LICENSE(34KB)
----setup.py(2KB)
----pyps4_2ndscreen()
--------helpers.py(6KB)
--------oauth.py(5KB)
--------media_art.py(6KB)
--------credential.py(5KB)
--------errors.py(521B)
--------__init__.py(89B)
--------__main__.py(17KB)
--------connection.py(25KB)
--------__version__.py(327B)
--------ps4.py(21KB)
--------ddp.py(12KB)
----docs()
--------source()
--------make.bat(799B)
--------requirements.txt(31B)
--------Makefile(638B)
----tests()
--------test_ddp.py(18KB)
--------.test_media_art_real.py(6KB)
--------__init__.py(43B)
--------test_connection.py(24KB)
--------test_ps4.py(27KB)
--------test_credential.py(4KB)
--------test_media_art.py(11KB)
--------test_helpers.py(8KB)
----.gitignore(1KB)
----.coveragerc(171B)
----.readthedocs.yaml(576B)