Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ovos-ocp-files-plugin

This plugin lets OVOS Common Play (OCP) read local audio and video files. It reads file metadata, such as title, and reports the playback type so OCP can play the file.

It bundles a fork of audio-metadata, adds MP4 support, and publishes it to PyPI as an updated dependency. There is no active development in this repository beyond packaging.

Install

pip install ovos-ocp-files-plugin

Usage

OCP loads this plugin through its extractor entry point. It handles a stream URI in the form file//<path> or a local file path, and returns metadata such as title and playback type:

from ovos_ocp_files_plugin.plugin import OCPFilesMetadataExtractor

extractor = OCPFilesMetadataExtractor()
extractor.validate_uri("/home/user/music/song.mp3")  # True
meta = extractor.extract_metadata("/home/user/music/song.mp3")

Related projects

License

MIT

Download files

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

Source Distribution

ovos_ocp_files_plugin-0.13.2a3.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

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

ovos_ocp_files_plugin-0.13.2a3-py3-none-any.whl (54.6 kB view details)

Uploaded Python 3

File details

Details for the file ovos_ocp_files_plugin-0.13.2a3.tar.gz.

File metadata

  • Download URL: ovos_ocp_files_plugin-0.13.2a3.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ovos_ocp_files_plugin-0.13.2a3.tar.gz
Algorithm Hash digest
SHA256 edcd0350dc807e3f9337f3813a6d831e4d4c48e93644a4b1192ca3457a8df46e
MD5 9b8e08de84fa6c2ac945b52c05132ca8
BLAKE2b-256 941115d94801e554cbfe803ccb3af60b8a921057759c4138f740b6814f138fea

See more details on using hashes here.

File details

Details for the file ovos_ocp_files_plugin-0.13.2a3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_ocp_files_plugin-0.13.2a3-py3-none-any.whl
Algorithm Hash digest
SHA256 4fd95035774f909f68260e17c9feb2959ec4ff3b5103ce083d91a94f94929a8d
MD5 1aa6c0e4621f76563ca3d22c411d5491
BLAKE2b-256 68b9c5001788add39f6c72c015ee311d12d6246d31dbf55c2223f4897b7f43d5

See more details on using hashes here.

Supported by

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