summaryrefslogtreecommitdiff
path: root/src/settings.c
AgeCommit message (Collapse)AuthorFilesLines
2018-10-30Increase max_retries default valueLars-Dominik Braun1-1/+2
Back to default value before ff4f15214100d209f39e4ed85f47e572c8fe9289. It is used by the player as well and since 403’s are considered an “error” it must be larger than the number of files per playlist (4). See issue #672.
2018-10-30Add network timeouts and retriesLars-Dominik Braun1-3/+6
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.
2018-10-30Add tired rating to songLars-Dominik Braun1-0/+5
Now we can show a tired icon in the history. Closes #637.
2017-05-17Added gain_mul setting to soften effect of replaygain.Sean Greenslade1-0/+3
2017-05-17Replace getline() with fgets()Lars-Dominik Braun1-6/+59
Mac OS X 10.6 compatibility, fixes #572. # Conflicts: # src/settings.c
2017-05-17Support binding to a specific network interfaceblmpl1-0/+3
Closes #597. # Conflicts: # src/ui.c
2017-05-17Add default value for rpcTlsPortLars-Dominik Braun1-1/+1
Passing NULL to printf and the result to curl may or may not work. YMMV. Fixes #574. # Conflicts: # src/ui.c
2015-12-05Add 'player' configuration option to select player back end. Current valid ↵Michał Cichoń1-0/+5
values: - 'ds' - for Direct Show - 'mf' - for Windows Media Foundation (default) If not present, backends will be initialized in order: mf, ds
2015-08-26Drop curl in favor of WinHTTPMichał Cichoń1-0/+2
Abstract out HTTP comunication and replace libcurl with WinHTTP.
2015-08-25Add format_title settings to control Pianobar window title appearance.Michał Cichoń1-0/+5
Since I'm not aware of any standard method to set title with escape codes explicit mechanism to control window title was introduced.
2015-08-25Add new type of message MSG_DEBUG.Michał Cichoń1-1/+3
This solve problem of playback time adding to artist when name is short. Debug messages are automatically copied to clipboard for easier debugging due to selection and copying in Windows console is not very convenient.
2015-08-25Port pianobar to Windows:Michał Cichoń1-36/+39
- use newly introduced console.h instead of terminal.h which emulate some behavior of VT terminals - replace ffmpeg/libov player with more abstract one with DirectShow implementation
2015-08-10Move feature test macros to config.hLars-Dominik Braun1-5/+1
I removed most of the *BSD-related stuff, because I can’t test these. If this breaks your build, send me a patch please.
2015-08-04Add missing includeLars-Dominik Braun1-0/+1
2015-08-04Set ffmpeg proxyLars-Dominik Braun1-0/+5
The proxy config setting did not set ffmpeg’s http proxy previously. See issue #531.
2015-06-15Replace setting tls_fingerprint with ca_bundleLars-Dominik Braun1-13/+3
2014-11-22Expand ~ in event_command tooLars-Dominik Braun1-1/+1
2014-05-30settings: Support ~/ expansionLars-Dominik Braun1-29/+71
Only the simple ~/ expansion is supported right now, since ~user expansion does not make sense for per-user config files anyway. Closes #431 and #430. On my way to this solution I tried libconfuse and json-based config files. I’m not convinced yet one of these is the solution though…
2013-05-13Permit multiple HTTP errors in a rowLars-Dominik Braun1-0/+3
1) Make sure that multiple bad playlists in a row don’t result in a temporary ban 2) Ignore songs skipped because the playlist timed out after pausing for too long
2012-11-30New default TLS fingerprintLars-Dominik Braun1-2/+2
Welcome to the post-CA world. Fixes #324.
2012-11-04New setting: Read RPC TLS portPierre Zurek1-0/+5
Useful for tuner-beta.savagebeast.com:8443. Closes #319.
2012-10-21New setting: Read password from external commandLars-Dominik Braun1-0/+3
Closes #314.
2012-09-24Fix fclose outside of file loopsk10801-6/+7
Closes #307.
2012-09-22Save station and volume to statefileLars-Dominik Braun1-138/+165
… and restore both on startup. To disable run `ln -sv /dev/null ~/.config/pianobar/state`. Setting an invalid autostart_station in the config file prevents automatic station selection on startup. Closes #305.
2012-06-09Duplicate line fix for keybindingsDylan Powers1-3/+0
Closes #275.
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun1-16/+8
Pandora limited the audio formats we can request explicitly. Don’t rely on this and use the formats available with the given partner credentials. Closes #271.
2012-05-07Add default RPC hostLars-Dominik Braun1-0/+3
Fixes last commit.
2012-05-07Configureable RPC hostLars-Dominik Braun1-0/+4
In case someone wants to use internal-tuner.pandora.com. See #243.
2012-05-04Lofi AAC supportLars-Dominik Braun1-0/+2
32kbit/s. Closes #233.
2012-05-04Revert "Add force_tls setting"Lars-Dominik Braun1-3/+0
This reverts commit 35763dea799c96361e288a10eab0fbd16c36e880. It does not work with the JSON API.
2012-05-01Don’t hardcode passwordsLars-Dominik Braun1-0/+28
It’s a bad idea to hardcode these, although playback does not work with non-android login yet.
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun1-2/+2
In random order: Thanks to Chris Eby for his work on pithos, to an anonymous coward for sending me his Android client, to Alex Howard for sending me the webOS client, to ZigZagJoe for providing a temporary fix and thanks to everyone who sent Pandora a message. Although there are a few rough edges here and there this fixes #236.
2012-04-14Add force_tls settingLars-Dominik Braun1-0/+3
Use TLS for all actions when requested. Closes #234
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun1-0/+3
See #231.
2011-11-11waitress: Fingerprint checkLars-Dominik Braun1-5/+13
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle confusion. Closes #175
2011-11-09TLS is not optional any moreLars-Dominik Braun1-13/+0
2011-11-09Added TLS settingsLars-Dominik Braun1-0/+18
2011-08-29Customizeable list format (songs)Lars-Dominik Braun1-0/+5
Fixes #151
2011-08-23Configureable fifo pathLars-Dominik Braun1-0/+6
See #149.
2011-08-19Don’t remove whitespace from config valuesLars-Dominik Braun1-2/+3
Closes #148
2011-07-27Configureable %@ format stringLars-Dominik Braun1-0/+5
2011-07-14Defined _DARWIN_C_SOURCELars-Dominik Braun1-0/+1
Required to expose non-standard functions. Closes #138
2011-07-11Disable feature test macros on FreeBSDEitan Adler1-0/+2
Closes #136
2011-05-18Configureable format stringsLars-Dominik Braun1-2/+63
Closes #88
2011-02-26Rewrite input processingLars-Dominik Braun1-16/+9
2011-02-02Allow keyboard shortcuts to be disabledLars-Dominik Braun1-2/+6
Something like act_foobar = disabled disables the command foobar completely now. Useful if you don't use software volume control. See issue #78.
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-12-27Use PATH_MAX from limits.hLars-Dominik Braun1-2/+3
2010-12-27Software volume controlLars-Dominik Braun1-2/+5
2010-12-04Show default icons if config file is missing.Lars-Dominik Braun1-8/+4
Bug introduced by 2b31c97de6fa541719cd26f9a61053cfc0e71203. "(null)" was shown instead of "<3" and "</3".