Skip to content

Commit

Permalink
Document playback using local paths
Browse files Browse the repository at this point in the history
  • Loading branch information
oxan committed Dec 31, 2023
1 parent 7635bcb commit 83eb614
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ media_player:
Restart Home Assistant and enjoy!
#### Playback using local paths
When starting playback through Home Assistant, by default it will stream all media through its own HTTP server. If mpv
and Home Assistant can access the media files using the same filesystem path, you can disable this and play media
directly from the filesystem. This reduces resource usage and allows mpv to find external subtitle files.
```yaml
media_player:
- platform: mpv
server:
path: /path/to/mpv-socket
proxy_media: false
```
[hacs]: https://hacs.xyz/
[mpv]: https://mpv.io/
[mpv-ipc]: https://mpv.io/manual/stable/#json-ipc

0 comments on commit 83eb614

Please sign in to comment.