「Pianobar」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(ページの作成:「Category:音声/動画 en:Pianobar {{Related articles start}} {{Related|アプリケーション一覧/マルチメディア}} {{Related articles end}} [http://6...」)
 
(カテゴリ変更)
(2人の利用者による、間の2版が非表示)
1行目: 1行目:
[[Category:音声/動画]]
+
[[Category:音]]
  +
[[Category:ストリーミング]]
 
[[en:Pianobar]]
 
[[en:Pianobar]]
 
{{Related articles start}}
 
{{Related articles start}}
41行目: 42行目:
   
 
==トラブルシューティング==
 
==トラブルシューティング==
  +
=== 音質の問題 ===
 
pianobar の再生中に音質に問題が発生する場合、サウンドドライバーとして [[Advanced Linux Sound Architecture|ALSA]] を使っているのであれば、以下を実行すれば修正される可能性があります。
 
pianobar の再生中に音質に問題が発生する場合、サウンドドライバーとして [[Advanced Linux Sound Architecture|ALSA]] を使っているのであれば、以下を実行すれば修正される可能性があります。
 
{{Warning|The provided fixes may affect other applications that use audio as the default driver is being changed.}}
 
{{Warning|The provided fixes may affect other applications that use audio as the default driver is being changed.}}
50行目: 52行目:
 
default_driver=pulse</nowiki>}}
 
default_driver=pulse</nowiki>}}
 
{{Note|<nowiki>Be sure to remove the dev=default option of the alsa driver or adjust it to specify a specific Pulse sink name or number.</nowiki>}}
 
{{Note|<nowiki>Be sure to remove the dev=default option of the alsa driver or adjust it to specify a specific Pulse sink name or number.</nowiki>}}
  +
  +
=== ネットワークエラー ===
  +
pianobar を実行したときに "Network error: TLS fingerprint mismatch" というエラーが表示される場合、以下の手順で修正できます:
  +
* 以下のコマンドを実行して現在の tls_fingerprint を確認してください:
  +
# openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2
  +
* 上記の出力を {{ic|~/.config/pianobar/config}} に追加してください:
  +
{{hc|~/.config/pianobar/config|<nowiki>audio_quality = high
  +
password = password
  +
user = email address
  +
tls_fingerprint = 13CC51AC0C31CD96C55015C76914360F7AC41A00</nowiki>}}
   
 
==参照==
 
==参照==
 
* [http://6xq.net/projects/pianobar/ プロジェクトのホームページ]
 
* [http://6xq.net/projects/pianobar/ プロジェクトのホームページ]
 
* [https://github.com/PromyLOPh/pianobar/ プロジェクトの GitHub]
 
* [https://github.com/PromyLOPh/pianobar/ プロジェクトの GitHub]
* http://ketan.lithiumfox.com/doku.php/pianobar
+
* https://wiki.k2patel.in/pianobar

2019年3月1日 (金) 01:48時点における版

関連記事

Pianobar はパーソナライズドインターネットラジオ Pandora のフリー/オープンソースなコンソールベースのクライアントです。

機能:

  • ステーションを再生・管理 (作成、音楽を追加、削除、名前を変更...)
  • 曲を評価してなぜ選択されたのか説明
  • 次に流れる曲のリスト/再生した曲の履歴
  • キーバインディングやテキスト出力のカスタマイズ
  • リモートコントロールと eventcmd インターフェイス (トラックを last.fm に送信するなど)
  • アメリカ国外のリスナーのためのプロキシサポート
ヒント: Since Pianobar is a command line interface based program it can be placed in a different vterm than your desktop and be left to run.

インストール

Pianobar は公式リポジトリpianobar パッケージでインストールできます。

設定

まず、Pianobar の設定ファイルを作成する必要があります。設定ファイルは $XDG_CONFIG_HOME/pianobar/config または ~/.config/pianobar/config に配置してください。

$ man pianobar
CONFIGURATION
       The  configuration file consists of simple key = value lines, each ter‐
       minated with a newline (\n) character. Note that keys  and  values  are
       both  case  sensitive, and there must be exactly one space on each side
       of the equals sign.

       act_* keys control pianobar's key-bindings.  Every  one-byte  character
       except for \x00 and the special value disabled are allowed here.

以下は設定ファイルの例です。設定オプションの詳細は man pianobar を見てください。

$ ~/.config/pianobar/config
audio_quality = {high, medium, low}
autostart_station = stationid

password = plaintext_password
user = your@user.name

トラブルシューティング

音質の問題

pianobar の再生中に音質に問題が発生する場合、サウンドドライバーとして ALSA を使っているのであれば、以下を実行すれば修正される可能性があります。

警告: The provided fixes may affect other applications that use audio as the default driver is being changed.
  1. alsa-oss をインストールしてください。詳しくは ALSA のページを参照。
    • デフォルトの libao ドライバーを alsa から oss に変更。
      # /etc/libao.conf
      default_driver=oss
    • そして pianobar を実行。
      $ aoss pianobar
  2. もしくは、pulseaudio を使うこともできます。
    # /etc/libao.conf
    default_driver=pulse
ノート: Be sure to remove the dev=default option of the alsa driver or adjust it to specify a specific Pulse sink name or number.

ネットワークエラー

pianobar を実行したときに "Network error: TLS fingerprint mismatch" というエラーが表示される場合、以下の手順で修正できます:

  • 以下のコマンドを実行して現在の tls_fingerprint を確認してください:
# openssl s_client -connect tuner.pandora.com:443 < /dev/null 2> /dev/null | openssl x509 -noout -fingerprint | tr -d ':' | cut -d'=' -f2
  • 上記の出力を ~/.config/pianobar/config に追加してください:
~/.config/pianobar/config
audio_quality = high
password = password
user = email address
tls_fingerprint = 13CC51AC0C31CD96C55015C76914360F7AC41A00

参照