summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.072012.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.242012.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.
2012-06-07piano: More error messagesLars-Dominik Braun2-1/+9
2012-06-06piano: Error message for LICENSING_RESTRICTIONSLars-Dominik Braun1-0/+5
Closes #272
2012-05-26Move mutex initalization to main threadLars-Dominik Braun2-4/+4
Closes #250.
2012-05-26Revert "Remove pause mutex/add pthread cleanup function"Lars-Dominik Braun4-106/+87
This reverts commit 7df9371491e96a99c1e463f7787aede352ac5a37.
2012-05-26Revert "Fix player thread teardown/signals on OS X"Lars-Dominik Braun3-16/+2
This reverts commit f6dffd1822404522b8354ac453a911a0d98bfc61.
2012-05-23piano: Fix ambiguous error message/return valueLars-Dominik Braun3-0/+17
Closes #263.
2012-05-17Fix player thread teardown/signals on OS XLars-Dominik Braun3-2/+16
1) Realtime signals don’t exist in OS X 2) libao apparently locks a mutex in ao_play, which is locked again in ao_close and causes a deadlock Closes #256, although I’m considering the option of partially reverting 7df9371491e96a99c1e463f7787aede352ac5a37, as this introduces more nasty behavior than it solves.
2012-05-14Remove pause mutex/add pthread cleanup functionLars-Dominik Braun4-87/+106
No more mutex locking/checking for quit condition. Should (slightly) increase responsiveness of the player thread. Closes #250.
2012-05-11piano: Add stationToken to addFeedback requestLars-Dominik Braun1-0/+3
Fixes thumbs up/down and move song.
2012-05-07Add default RPC hostLars-Dominik Braun1-0/+3
Fixes last commit.
2012-05-07Configureable RPC hostLars-Dominik Braun3-2/+6
In case someone wants to use internal-tuner.pandora.com. See #243.
2012-05-06Back to -devLars-Dominik Braun1-1/+1
2012-05-06Prepare for release 2012.05.062012.05.06Lars-Dominik Braun1-1/+1
2012-05-06piano: Fix memory leakLars-Dominik Braun1-8/+9
2012-05-06piano: Fix insane strcpyLars-Dominik Braun1-11/+29
2012-05-05Avoid player mode race conditionLars-Dominik Braun1-16/+13
Always run cleanup, ensure thread is joined and player struct is reset. See #250.
2012-05-04Lofi AAC supportLars-Dominik Braun4-1/+10
32kbit/s. Closes #233.
2012-05-04Revert "Add force_tls setting"Lars-Dominik Braun3-8/+3
This reverts commit 35763dea799c96361e288a10eab0fbd16c36e880. It does not work with the JSON API.
2012-05-04waitress: Add missing includeLars-Dominik Braun1-0/+1
See #250.
2012-05-02piano: Bring back detailUrl and coverArtLars-Dominik Braun1-0/+2
2012-05-02Really delete seed suggestionsLars-Dominik Braun6-83/+14
There does not seem to be an API call for that.
2012-05-02piano: Audio format supportLars-Dominik Braun3-27/+29
Ask Pandora for audio format requested by user. Closes #244.
2012-05-01piano: Remove old blowfish keysLars-Dominik Braun2-436/+0
2012-05-01Don’t hardcode passwordsLars-Dominik Braun9-33/+97
It’s a bad idea to hardcode these, although playback does not work with non-android login yet.
2012-05-01piano: Split piano.c into request.c and response.cLars-Dominik Braun5-1099/+1169
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun11-2549/+755
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-24Back to -devLars-Dominik Braun1-1/+1
2012-04-24Prepare for release 2012.04.242012.04.24Lars-Dominik Braun1-1/+1
2012-04-20Don’t unlock mutex that is not lockedLars-Dominik Braun1-1/+3
Strict pthread implementations (like OpenBSD’s rthreads with PTHREAD_MUTEX_TYPE_STRICT_NP set) don’t allow unlocking a mutex that is not locked, resulting in abort() being called. Always aquiring the lock before unlocking it while skipping to the next song fixes this. Thanks to David Coppa.
2012-04-14Add force_tls settingLars-Dominik Braun3-3/+8
Use TLS for all actions when requested. Closes #234
2012-03-31Warn if ctl is not a fifoLars-Dominik Braun1-3/+13
Ordinary files are not supported and cause problems, so close the fd and print a warning instead. Thanks to Sergey Bronnikov for the initial patch.
2012-03-27Initialize fd correctly with -1Lars-Dominik Braun1-1/+4
Thanks to Perette Barella.
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun6-21/+42
See #231.