Skip to main content

Control a JLIP device such as a VCR.

Project description

vcrtool

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy uv pytest Ruff Downloads Stargazers pre-commit Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

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.
  • send-command CMD ARG ...: Send a custom command to the device.
  • set-channel CHAN: Set the channel.
  • set-input N NN: Set the input.
  • set-jlip-id ID: Set the JLIP ID.
  • set-record-mode MODE: Set the record mode.
  • set-record-speed SPEED: Set the record speed.
  • slow-play-backward: Slow rewind the video.
  • slow-play-forward: Slow forward the video.
  • stop: Stop the video.
  • turn-off: Turn off the device.
  • turn-on: Turn on the device.

Example Usage

# Check if device is connected.
jlip /dev/ttyUSB0 presence-check

# Eject the video but do not block.
jlip /dev/ttyUSB0 eject

# Eject the video and block until the video is ejected.
jlip /dev/ttyUSB0 eject-wait

# Fast forward the video.
jlip /dev/ttyUSB0 fast-forward

# Rewind the video.
jlip /dev/ttyUSB0 rewind

# No operation.
jlip /dev/ttyUSB0 nop

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcrtool-0.0.3.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vcrtool-0.0.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file vcrtool-0.0.3.tar.gz.

File metadata

  • Download URL: vcrtool-0.0.3.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vcrtool-0.0.3.tar.gz
Algorithm Hash digest
SHA256 83da2aad2d7d648dd43d060ca22523446f887b20520dac273b4693b740c5b9b9
MD5 44124ee17ddc121e50b9fcdb2ce8253e
BLAKE2b-256 a4b069485e06e9e39994849fcdb62bb64b4b6fbc7cd2bb2429f91fba602cf147

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcrtool-0.0.3.tar.gz:

Publisher: publish.yml on Tatsh/vcrtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcrtool-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: vcrtool-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vcrtool-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 81825829f4106029e18c8ee3b5965bb1e0ed02af982c449e6c060790bc6c28fc
MD5 17d11e790dfce5b4256ead31e066428c
BLAKE2b-256 a59af944931f538bee808f4c7d4cf61bf4c58cbfe311b72d31e1e9bb4646f1c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcrtool-0.0.3-py3-none-any.whl:

Publisher: publish.yml on Tatsh/vcrtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page