diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-04-07 20:17:23 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2018-10-30 13:08:55 +0100 |
commit | a9d5d2c3eb9d29d54509936b9e45f8eb034c033f (patch) | |
tree | c8473f5ef1a0f62c77df537cc1bf6d628b894d92 /contrib | |
parent | aed0f7555f7c684c0ef46304ecb5218c75b605cd (diff) | |
download | pianobar-windows-a9d5d2c3eb9d29d54509936b9e45f8eb034c033f.tar.gz pianobar-windows-a9d5d2c3eb9d29d54509936b9e45f8eb034c033f.tar.bz2 pianobar-windows-a9d5d2c3eb9d29d54509936b9e45f8eb034c033f.zip |
Add network timeouts and retries
All network operations can time out now. API requests are retried up to
three times (default). Replaces setting max_player_errors with
max_retries, which is used for player and API. Adds timeout setting.
Partially reverts 436a1d4012553a2f33d0e3a5180b3b5ae0378bdd and fixes
(at least) issue #657.
Thanks to @exarkun for testing.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pianobar.1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/pianobar.1 b/contrib/pianobar.1 index 9600859..9219a99 100644 --- a/contrib/pianobar.1 +++ b/contrib/pianobar.1 @@ -335,8 +335,8 @@ Keep a history of the last n songs (5, by default). You can rate these songs. Icon for loved songs. .TP -.B max_player_errors = 5 -Amount of song download errors in a row after pianobar stops playback. +.B max_retry = 3 +Max failures for several actions before giving up. .TP .B partner_password = AC7IBG09A3DTSYM4R41UJWL07VLN8JI7 @@ -372,6 +372,10 @@ sorts by name from a to z, quickmix_01_name_za by type (quickmix at the bottom) and name from z to a. .TP +.B timeout = 30 +Network operation timeout. + +.TP .B tired_icon = zZ Icon for temporarily suspended songs. |