summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-12Return if station info request failsLars-Dominik Braun1-1/+5
2014-01-02Added Ctrl-u to readlineLars-Dominik Braun1-20/+27
Based on suggestion from Sebastian, see issue #416. Fixed several issues (multibyte, \0-termination) and refactored readline code while I’m at it.
2013-09-15Back to -devLars-Dominik Braun1-1/+1
2013-09-15Prepare for release 2013.09.15Lars-Dominik Braun1-1/+1
2013-09-08waitress: Move testcases to separate fileLars-Dominik Braun2-120/+143
Now the test-enabled waitress.o does not conflict with pianobar’s waitress.o any more, thus running `make test` without `make clean` works fine.
2013-08-08waitress: Try all addresses returned by getaddrinfoLars-Dominik Braun1-32/+51
Fixes issue #384.
2013-08-07piano: Generic linked listsLars-Dominik Braun8-230/+236
Introduces generic linked list structure and functions (like append, delete, …). Removes a lot of copy&pasted code and improves code readability/reusability. Heads up: This change breaks libpiano’s ABI.
2013-07-29Fix display of song lists with more than 999 itemsLars-Dominik Braun1-1/+1
Increased buffer size.
2013-07-28piano: Replace station with same idLars-Dominik Braun1-3/+19
2013-07-07Add keyboard shortcut to reset volumeLars-Dominik Braun4-7/+21
Closes #377.
2013-07-02piano: Check for libgcrypt errorsLars-Dominik Braun3-12/+33
Fixes mysterious segfaults from issue #369 and #293.
2013-06-08Fix build in FreeBSDWilliam Grzybowski3-1/+6
2013-05-19Back to -devLars-Dominik Braun1-1/+1
2013-05-19Prepare for release 2013.05.19Lars-Dominik Braun1-1/+1
2013-05-13Permit multiple HTTP errors in a rowLars-Dominik Braun6-9/+19
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
2013-05-08waitress: Close connection if body has been receivedLars-Dominik Braun2-0/+9
Now libwaitress won’t wait until the server closes the connection if the request body has been received. Multiple requests per connection are not supported anyway. Fixes #321. Thanks to Michael Stowe.
2013-04-17Fix player state for unsupported audio file formatsLars-Dominik Braun1-4/+6
Player thread now sets its status correctly. Closes #360.
2013-03-31Ignore HTTP status 400Lars-Dominik Braun3-6/+16
Workaround for #355, fixes commit 2c516503d2cb81dd156afc24677ac4bf3caefceb.
2013-03-27Add missing events to genre station selectionLars-Dominik Braun3-73/+68
Two new events: stationfetchgenre, stationaddgenre
2013-03-20Fix station name when deleting a stationLars-Dominik Braun1-1/+1
2013-03-20Transform actual station when loving/banning songsLars-Dominik Braun1-2/+16
Loving/banning a song from a shared station while playing quickmix resulted in “call not allowed”, because we tried to transform the quickmix instead of the song’s real station. Fixes #354.
2013-03-09Stop playback if audio file is not accessibleLars-Dominik Braun1-0/+6
See #352.
2013-03-08piano: Add error message for code 1039Lars-Dominik Braun2-1/+5
See #352.
2013-02-26Add play and pause commandsAdam Simpkins7-37/+83
Add commands that always play and always pause, in addition to the current toggle pause command. Closes #342.
2012-12-01Back to -devLars-Dominik Braun1-1/+1
2012-12-01Prepare for release 2012.12.01Lars-Dominik Braun1-1/+1
2012-12-01waitress: Add TLS fingerprint mismatch error codeLars-Dominik Braun2-17/+18
2012-11-30New default TLS fingerprintLars-Dominik Braun1-2/+2
Welcome to the post-CA world. Fixes #324.
2012-11-30waitress: Fix chunked decoderLars-Dominik Braun2-45/+51
Closes #322.
2012-11-17player: Fix insane typecastLars-Dominik Braun1-6/+13
2012-11-04New setting: Read RPC TLS portPierre Zurek5-2/+13
Useful for tuner-beta.savagebeast.com:8443. Closes #319.
2012-10-28player: Recover from AAC decoding errorLars-Dominik Braun1-9/+23
Decoding errors are usually not fatal, so we can recover by skipping the broken frame. This also fixes invalid memory reads caused by sampleSizeCurr >= sampleSizeN. See issue #304.
2012-10-21New setting: Read password from external commandLars-Dominik Braun3-8/+74
Closes #314.
2012-09-24Fix fclose outside of file loopsk10801-6/+7
Closes #307.
2012-09-22Save station and volume to statefileLars-Dominik Braun3-138/+171
… 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-09-21piano: Fix memory leak pointed out by clangLars-Dominik Braun1-0/+2
2012-09-17Fix history memory leakLars-Dominik Braun2-0/+3
With `history = 0` playlist items are discarded, but not freed.
2012-09-07Back to -devLars-Dominik Braun1-1/+1
2012-09-07Prepare for release 2012.09.07Lars-Dominik Braun1-1/+1
2012-07-06Add feature: Create new station from selected songLars-Dominik Braun7-13/+85
New keybinding ‘v’, new setting act_createstationfromsong.
2012-07-05Initialize libgcryptLars-Dominik Braun1-0/+3
Closes #287
2012-06-26Additional pause keybindingLars-Dominik Braun2-2/+5
Allowing multiple keys per command would be nice, but this works for now. See #228.
2012-06-26piano: Remove move songLars-Dominik Braun7-114/+14
Doesn’t work with JSON API. See #280.
2012-06-24Back to -devLars-Dominik Braun1-1/+1
2012-06-24Prepare for release 2012.06.24Lars-Dominik Braun1-1/+1
s/anonymous coward/joe johnson/ in commit 63c86dce1e248aa03a99792f56077dc176bcd295. Sorry, my bad :(
2012-06-14piano: Remove unused structLars-Dominik Braun4-25/+11
2012-06-14Ignore SIGPIPELars-Dominik Braun1-0/+4
We have all the error handling in place, no need to kill the program. See #274.
2012-06-14waitress: Send TLS bye only if connect was successfulLars-Dominik Braun1-1/+3
2012-06-09Duplicate line fix for keybindingsDylan Powers1-3/+0
Closes #275.
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun8-58/+56
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.