「OwnTone」の版間の差分
英語版から転載 |
翻訳 |
||
| 2行目: | 2行目: | ||
[[Category:ホームシアター]] |
[[Category:ホームシアター]] |
||
[[en:OwnTone]] |
[[en:OwnTone]] |
||
OwnToneは、AirPlay 1 および 2 スピーカー (マルチルーム)、Apple Remote (および互換品)、Chromecast、Spotify、インターネットラジオをサポートする、フリーでオープンソースの DAAP (iTunes) および MPD メディアサーバーです。 |
|||
[https://github.com/owntone/owntone-server OwnTone] is a free and open-source DAAP (iTunes) and [[MPD]] media server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio. |
|||
OwnTone は複数のデバイスにストリームを送信しますが、複数のユーザーやセッションが存在しないため、複数のストリームは存在しません。 |
|||
OwnTone sends stream to multiple devices, but there are no multiple streams, because there are no multiple users or sessions. |
|||
== |
== インストール == |
||
{{AUR|owntone-server}} を [[インストール]] して下さい。 |
|||
{{ic|owntone.service}} systemd ユニットを [[起動]] して [[有効化]] します。 |
|||
== |
== 設定 == |
||
詳細な設定オプションについては、[https://owntone.github.io/owntone-server/getting-started/ 公式ドキュメント] を参照してください。 |
|||
設定ファイルは {{ic|/etc/owntone.conf}} です。 |
|||
=== |
=== owntone ユーザーとして実行する === |
||
{{ic|owntone.conf}} のデフォルトのユーザーは {{ic|owntone}} です。ただし、このユーザーはサービスファイルには設定されていません。[[編集]] {{ic|owntone.service}} を選択し、ユーザーを設定します。 |
|||
The default user in {{ic|owntone.conf}} is {{ic|owntone}}. However, this user is not set in the service file. [[Edit]] {{ic|owntone.service}} and set the user: |
|||
{{hc|/etc/systemd/system/owntone.service.d/override.conf|2= |
{{hc|/etc/systemd/system/owntone.service.d/override.conf|2= |
||
| 27行目: | 27行目: | ||
}} |
}} |
||
上記の変更を行わずにサービスが開始された場合、ユーザー ディレクトリは {{ic|root}} によって所有されます。必要に応じて、次のコマンドを使用してディレクトリの所有者を変更します。 |
|||
If the service was started without the above changes, the user directory will be owned by {{ic|root}}. Change the owner of the directory if needed with: |
|||
# chown owntone:owntone /var/lib/owntone |
# chown owntone:owntone /var/lib/owntone |
||
この問題が修正されると、{{ic|pipewire}} は設定ファイルを作成できるようになります。 |
|||
Once this is fixed, {{ic|pipewire}} will be able to create its configuration files. |
|||
=== ファイアウォール設定の例 === |
|||
=== Example Firewall Configuration === |
|||
アプリケーションプロファイルの作成 |
|||
Create application profile |
|||
{{hc|/etc/ufw/applications.d/owntone|output= |
{{hc|/etc/ufw/applications.d/owntone|output= |
||
| 44行目: | 44行目: | ||
}} |
}} |
||
以下の指示に対する暗黙の環境: |
|||
Implied Environment for the following instructions: |
|||
* IPv4 LAN is {{ic|10.0.1.0/24}} ( |
* IPv4 LAN is {{ic|10.0.1.0/24}} (あなたに合わせて変更してください) |
||
* IPv6 LAN is {{ic|fd04:1bb:ab65:4c80::/64}} ( |
* IPv6 LAN is {{ic|fd04:1bb:ab65:4c80::/64}} (あなたに合わせて変更してください) |
||
* Apple Home Security |
* Apple Home Securityは "同じネットワーク上の誰でも" に設定されています |
||
環境に合わせて変更を加えて次の手順を適用します。 |
|||
Apply the following instructions with changes to match your environment. |
|||
{{bc|ufw allow from 10.0.1.0/24 to any app owntone comment 'owntone IPv4' |
{{bc|ufw allow from 10.0.1.0/24 to any app owntone comment 'owntone IPv4' |
||
ufw allow from fd04:1bb:ab65:4c80::/64 to any app owntone comment 'owntone IPv6'}} |
ufw allow from fd04:1bb:ab65:4c80::/64 to any app owntone comment 'owntone IPv6'}} |
||
リスニング UDP ポートは動的であるため、すべてのポートで LAN UDP トラフィックを許可します。 |
|||
Listening UDP ports are dynamic, so allow LAN UDP traffic on all ports: |
|||
{{bc| |
{{bc| |
||
| 62行目: | 62行目: | ||
}} |
}} |
||
Bonjour アプリケーションプロファイルを追加する必要がある場合があります。以下を追加する必要がある場合があります。 |
|||
Bonjour application profile might need to be added. The following may need to be added: |
|||
ufw allow from 10.0.1.0/24 to 224.0.0.251 comment 'mDNS multicasts' |
ufw allow from 10.0.1.0/24 to 224.0.0.251 comment 'mDNS multicasts' |
||
2023年8月25日 (金) 22:08時点における最新版
OwnToneは、AirPlay 1 および 2 スピーカー (マルチルーム)、Apple Remote (および互換品)、Chromecast、Spotify、インターネットラジオをサポートする、フリーでオープンソースの DAAP (iTunes) および MPD メディアサーバーです。
OwnTone は複数のデバイスにストリームを送信しますが、複数のユーザーやセッションが存在しないため、複数のストリームは存在しません。
インストール
owntone-serverAUR を インストール して下さい。
owntone.service systemd ユニットを 起動 して 有効化 します。
設定
詳細な設定オプションについては、公式ドキュメント を参照してください。
設定ファイルは /etc/owntone.conf です。
owntone ユーザーとして実行する
owntone.conf のデフォルトのユーザーは owntone です。ただし、このユーザーはサービスファイルには設定されていません。編集 owntone.service を選択し、ユーザーを設定します。
/etc/systemd/system/owntone.service.d/override.conf
[Service] User = owntone
上記の変更を行わずにサービスが開始された場合、ユーザー ディレクトリは root によって所有されます。必要に応じて、次のコマンドを使用してディレクトリの所有者を変更します。
# chown owntone:owntone /var/lib/owntone
この問題が修正されると、pipewire は設定ファイルを作成できるようになります。
ファイアウォール設定の例
アプリケーションプロファイルの作成
/etc/ufw/applications.d/owntone
[owntone] title=owntone description=owntone media server ports=3688,3689,6600/tcp
以下の指示に対する暗黙の環境:
- IPv4 LAN is
10.0.1.0/24(あなたに合わせて変更してください) - IPv6 LAN is
fd04:1bb:ab65:4c80::/64(あなたに合わせて変更してください) - Apple Home Securityは "同じネットワーク上の誰でも" に設定されています
環境に合わせて変更を加えて次の手順を適用します。
ufw allow from 10.0.1.0/24 to any app owntone comment 'owntone IPv4' ufw allow from fd04:1bb:ab65:4c80::/64 to any app owntone comment 'owntone IPv6'
リスニング UDP ポートは動的であるため、すべてのポートで LAN UDP トラフィックを許可します。
ufw allow from 10.0.1.0/24 to any proto udp comment 'multicast IPv4' ufw allow from fd04:1bb:ab65:4c80::/64 to any proto udp comment 'multicast IPv6'
Bonjour アプリケーションプロファイルを追加する必要がある場合があります。以下を追加する必要がある場合があります。
ufw allow from 10.0.1.0/24 to 224.0.0.251 comment 'mDNS multicasts'