mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Merge pull request #51 from maddox/itunes
Add iTunes media component docs
This commit is contained in:
commit
c06ae8921e
@ -221,6 +221,11 @@ Entities are things that you want to observe within Home Assistant. Support for
|
||||
<td><a href='/components/media_player.kodi.html'>Kodi</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.itunes.html'><img src='/images/supported_brands/itunes.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.itunes.html'>iTunes</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><a href='/components/media_player.mpd.html'><img src='/images/supported_brands/mpd.png' class='brand overview' /></a></td>
|
||||
<td><a href='/components/media_player.mpd.html'>Music Player Daemon (MPD)</a></td>
|
||||
|
37
source/components/media_player.itunes.markdown
Normal file
37
source/components/media_player.itunes.markdown
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
layout: page
|
||||
title: "iTunes support"
|
||||
description: "Instructions how to integrate iTunes into Home Assistant."
|
||||
date: 2015-06-22 11:00
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/itunes.png' class='brand pull-right' />
|
||||
The iTunes platform allows you to control [iTunes](http://apple.com/itunes/) via [itunes-api](https://github.com/maddox/itunes-api) from Home Assistant.
|
||||
|
||||
<p class='note'>
|
||||
iTunes itself can not be remotely controlled. In order to control your iTunes,
|
||||
you'll need to install middleware named `itunes-api`. `itunes-api` is a simple REST
|
||||
server that talks to a local instance of iTunes via Applescript. It's very easy to set up
|
||||
and run. You can find more about it on it's [GitHub repo](https://github.com/maddox/itunes-api).
|
||||
</p>
|
||||
|
||||
|
||||
To add iTunes to your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```
|
||||
# Example configuration.yaml entry
|
||||
media_player:
|
||||
platform: itunes
|
||||
name: iTunes
|
||||
host: http://192.168.1.50
|
||||
port: 8181
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **host** *Required*: The URL of the itunes-api API, eg. http://192.168.1.50
|
||||
- **port** *Optional*: The PORT that itunes-api is running on.
|
BIN
source/images/supported_brands/itunes.png
Normal file
BIN
source/images/supported_brands/itunes.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
x
Reference in New Issue
Block a user