Metadata-Version: 2.4
Name: ovos-media-provider-youtube-music
Version: 0.0.1a3
Summary: OVOS MediaProvider plugin for YouTube Music (replaces ovos-skill-youtube-music)
Author-email: JarbasAI <jarbasai@mailfence.com>
License: Apache-2.0
Project-URL: Homepage, https://github.com/OpenVoiceOS/ovos-media-provider-youtube-music
Project-URL: Source, https://github.com/OpenVoiceOS/ovos-media-provider-youtube-music
Keywords: ovos,OpenVoiceOS,OCP,media,youtube,music,MediaProvider
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mediavocab>=1.0.0
Requires-Dist: ovos-plugin-manager<3.0.0,>=2.8.0a1
Requires-Dist: tutubo>=4.3.0a1
Requires-Dist: ytmusicapi
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Dynamic: license-file

# ovos-media-provider-youtube-music

OVOS **MediaProvider** plugin for YouTube Music. Replaces the deprecated OCP
search skill [`ovos-skill-youtube-music`](https://github.com/OpenVoiceOS/ovos-skill-youtube-music).

Instead of broadcasting `ovos.common_play.query` over the bus and waiting for
skills to answer, the OCP pipeline loads MediaProvider plugins in-process, gates
them by routing, and calls `search()` directly. This plugin wraps the
[`tutubo`](https://github.com/TigreGotico/tutubo) YouTube Music client
(`tutubo.ytmus` / `ytmusicapi`), whose `MusicTrack` results convert to
[`mediavocab.Release`](https://github.com/TigreGotico/mediavocab) objects via
tutubo's `mediavocab_bridge`.

## Install

```bash
pip install ovos-media-provider-youtube-music
```

## Routing

| Axis | Value |
|------|-------|
| `media` | `MUSIC`, `MUSIC_VIDEO` |
| `playback_type` | `AUDIO` |
| `genre_filter` | *(none)* |

## Entry point

```toml
[project.entry-points."opm.media.provider"]
youtube_music = "ovos_media_provider_youtube_music:YouTubeMusicMediaProvider"
```

## Configuration

| Key | Default | Description |
|-----|---------|-------------|
| `max_results` | `10` | Maximum number of results returned per search. |

## License

Apache-2.0
