Skip to main content
Pre-release

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

ovos-media-plugin-chromecast

This plugin adds Chromecast support to ovos-audio and ovos-media.

Install

pip install ovos-media-plugin-chromecast

MPRIS

This plugin can start playback on a Chromecast. It cannot control a Chromecast when another device starts the playback.

To control a Chromecast in that case, install cast_control on your system. It provides an MPRIS interface.

cast_control MPRIS interface

With cast_control running, ovos-media integrates with your Chromecast at all times.

Configuration

Run the ovos-chromecast-autoconfigure command to configure your Chromecast devices automatically.

$ ovos-chromecast-autoconfigure
This script will auto configure chromecast devices under your mycroft.conf
Make sure your devices are turned on and connected to the same Wifi as you, otherwise discovery will fail

Scanning...
    - Found Chromecast: Bedroom TV - 192.168.1.17:8009

Found devices: ['Bedroom TV']

mycroft.conf updated!

# Legacy Audio Service:
{'backends': {'chromecast-bedroom-tv': {'active': True,
                                        'identifier': 'Bedroom TV',
                                        'type': 'ovos_chromecast'}}}

# ovos-media Service:
{'audio_players': {'chromecast-bedroom-tv': {'active': True,
                                             'aliases': ['Bedroom TV'],
                                             'identifier': 'Bedroom TV',
                                             'module': 'ovos-media-audio-plugin-chromecast'}}},
 'video_players': {'chromecast-bedroom-tv': {'active': True,
                                             'aliases': ['Bedroom TV'],
                                             'identifier': 'Bedroom TV',
                                             'module': 'ovos-media-video-plugin-chromecast'}}}

You can also configure the plugin by hand.

ovos-audio

{
  "Audio": {
    "backends": {
      "my_chromecast": {
        "type": "ovos_chromecast",
        "identifier": "device_name_in_chromecast",
        "active": true
      }
    }
  }
}

ovos-media

WARNING: ovos-media has not released yet. This section is a work in progress.

{
 "media": {

    // PlaybackType.AUDIO handlers
    "audio_players": {
        // the chromecast player uses a headless chromecast instance to handle uris
        "kitchen_chromecast": {
            // the plugin name
            "module": "ovos-media-audio-plugin-chromecast",

            // this must match the name of the chromecast device
            "identifier": "Kitchen Chromecast",

            // users can request specific handlers in an utterance
            // by using these aliases
             "aliases": ["kitchen chromecast", "kitchen"],

            // set to false to deactivate this handler
            "active": true
        }
    },

    // PlaybackType.VIDEO handlers
    "video_players": {
        // the chromecast player uses a headless chromecast instance to handle uris
        "living_room_chromecast": {
            // the plugin name
            "module": "ovos-media-video-plugin-chromecast",

            // this must match the name of the chromecast device
            "identifier": "Living Room Chromecast",

            // users can request specific handlers in an utterance
            // by using these aliases
             "aliases": ["Living Room Chromecast", "Living Room"],

            // set to false to deactivate this handler
            "active": true
        }
    }
}
  • ovos-audio: the legacy audio service this plugin's backend targets
  • ovos-media: the media service this plugin's player targets
  • cast_control: provides MPRIS control for externally started Chromecast playback

Metadata

Release files for ovos-media-plugin-chromecast 1.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-media-plugin-chromecast 1.0.0a1
File Size Uploaded Provenance Actions
ovos_media_plugin_chromecast-1.0.0a1.tar.gz 20.3 kB Without provenance Details for ovos_media_plugin_chromecast-1.0.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-media-plugin-chromecast 1.0.0a1
File Interpreter ABI Platform Actions
ovos_media_plugin_chromecast-1.0.0a1-py3-none-any.whl Python 3 none any Details for ovos_media_plugin_chromecast-1.0.0a1-py3-none-any.whl

Total release size: 36.8 kB

Release files / ovos_media_plugin_chromecast-1.0.0a1.tar.gz

Download URL ovos_media_plugin_chromecast-1.0.0a1.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5d047220e48536c2fadedbb4286b5db4517933838e8db6080ae86a7d68a7a775
BLAKE2b-256 checksum
How to use checksums
aba082c3482358e29a7d12fcb603aa356c3750bcb6f3de2a3e0ea6aae57a8169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_media_plugin_chromecast-1.0.0a1-py3-none-any.whl

Download URL ovos_media_plugin_chromecast-1.0.0a1-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77d9b3dfc4acb1ed70e1f5084e95dced8d492c10cbe16d666f884142bb4244dc
BLAKE2b-256 checksum
How to use checksums
6ecf42ce348beec142b29b1f3472effe4a835a01013107fa6da24dc09bf046d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-media-plugin-chromecast 1.0.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page