コンテンツにスキップ

「Sonospy」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
序文を翻訳
一部翻訳
7行目: 7行目:
[[Install]] the {{AUR|sonospy-git}} package.
[[Install]] the {{AUR|sonospy-git}} package.


== Configuration ==
== インストール ==


{{AUR|sonospy-git}} パッケージを [インストール]してください。
Sonospy is controlled by a set of configuration files, which contain comments and example setup:


== 設定 ==
* {{ic|/etc/sonospy/sonospy.conf}} contains the systemctl service parameters

* {{ic|/opt/sonospy/data/scan.ini}} configures the sonospy file scanner
Sonospy は、コメントと例示設定が含まれる一連の設定ファイルで制御されます:
* {{ic|/opt/sonospy/data/pycpoint.ini}} is the main server ini

* {{ic|/opt/sonospy/data/defaultindex.ini}} is the default userindex ini
* {{ic|/etc/sonospy/sonospy.conf}} には、systemctl サービスのパラメータが含まれます
* {{ic|/opt/sonospy/data/userindex.ini}} is the customisable userindex ini
* {{ic|/opt/sonospy/data/scan.ini}} は、sonospy ファイルスキャナーを設定します
* {{ic|/opt/sonospy/data/pycpoint.ini}} は、メインサーバー ini です
* {{ic|/opt/sonospy/data/defaultindex.ini}} は、デフォルトの userindex ini です
* {{ic|/opt/sonospy/data/userindex.ini}} は、カスタマイズ可能な userindex ini です


=== sonospy.conf ===
=== sonospy.conf ===

2023年5月5日 (金) 11:23時点における版

Sonospy は、Sonos 用の音楽サーバーで、65,000 のローカルトラック制限を克服するだけでなく、さまざまなカスタマイズオプションも提供します。

Installation

Install the sonospy-gitAUR package.

インストール

sonospy-gitAUR パッケージを [インストール]してください。

設定

Sonospy は、コメントと例示設定が含まれる一連の設定ファイルで制御されます:

  • /etc/sonospy/sonospy.conf には、systemctl サービスのパラメータが含まれます
  • /opt/sonospy/data/scan.ini は、sonospy ファイルスキャナーを設定します
  • /opt/sonospy/data/pycpoint.ini は、メインサーバー ini です
  • /opt/sonospy/data/defaultindex.ini は、デフォルトの userindex ini です
  • /opt/sonospy/data/userindex.ini は、カスタマイズ可能な userindex ini です

sonospy.conf

Key fields:

  • SERVICE: Controls the service name displayed in Sonos
  • Music Path: Sets the path to the music library
ノート Sonos_db and Sonos_ini are symlinked from /opt/sonospy/data to /opt/sonospy/app/sonospy so the application functions. If these are modified, then the equivalently named files should be available in /opt/sonospy/app/sonospy. This was introduced to comply with arch packaging standards and is not part of the source program.

Sonospy ini files

  • scan.ini
  • pycpoint.ini
  • defaultindex.ini
  • userindex.ini

Details can be found in the files and examples can be found in /opt/sonospy/app/sonospy

ノート The data files are all symlinked to /opt/sonospy/app/sonospy

Usage

Sonospy has two services:

  1. A file scanner to catalogue the music and extract the metadata (sonospy-scan)
  2. A music server for Sonos (sonospy)

sonospy-scan

Enable and start sonospy-scan.timer. This is set to run a daily scan to check for updates to the music library

sonospy

Enable and start sonospy.service.

See also