← 全部工具

Tatsh/vcrtool

热度 65 更新于 开发与构建

Control a JLIP device such as a VCR.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

vcrtool

Control a JLIP device such as a VCR.

Installation

Poetry

poetry add vcrtool

Pip

pip install vcrtool

Usage

Usage: jlip [OPTIONS] SERIAL_DEVICE [ARGS]...

  Run JLIP commands.

Options:
  -d, --debug  Enable debug logging.
  -h, --help   Show this message and exit.

The output is always JSON formatted.

Valid JLIP Commands

All arguments to the commands are integers. Refer to JLIP documentation for valid values.

Most of these commands are specific to VCRs but many apply to other devices such as DVD players.

  • eject-wait: Eject the video and block until the video is ejected.
  • eject: Eject the video.
  • fast-forward: Fast forward the video.
  • fast-play-backward: Fast rewind the video and play.
  • fast-play-forward: Fast forward the video and play.
  • frame-step-back: Step the video one frame backward.
  • frame-step: Step the video one frame forward.
  • get-baud-rate-supported: Get the baud rate supported by the device.
  • get-device-code: Get the device code.
  • get-device-name: Get the device name.
  • get-input: Get the input.
  • get-machine-code: Get the machine code.
  • get-play-speed: Get the play speed.
  • get-power-state: Get the power state.
  • get-tuner-mode: Get the tuner mode.
  • get-vtr: Get the VTR.
  • nop: No operation.
  • pause-recording: Pause the recording.
  • pause: Pause the video.
  • play: Play the video.
  • presence-check: Check if the device is connected.
  • preset-channel-down: Navigate one channel down in preset channels.
  • preset-channel-up: Navigate one channel up in preset channels.
  • real-channel-down: Navigate one channel down.
  • real-channel-up: Navigate one channel up.
  • record: Record to the media.
  • rewind: Rewind the video.
  • select-band BAND: Select the band.
  • select-preset-channel CHAN: Select the preset channel.
  • select-real-channel CHAN: Select the channel.