summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-17Fix dynlink with --as-neededLars-Dominik Braun1-2/+2
Closes #258.
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-09Correct LDFLAGS for DYNLINK=1Andres J Ruiz Torres1-3/+2
Closes #253
2012-05-08Use pkg-config for libmad and gnutlsDavid Coppa1-3/+4
2012-05-07Add default RPC hostLars-Dominik Braun1-0/+3
Fixes last commit.
2012-05-07Configureable RPC hostLars-Dominik Braun4-2/+9
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.06Lars-Dominik Braun2-1/+10
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-04Partner user/pass setting documentationLars-Dominik Braun1-0/+15
Forgot that in commit 94c1eec169db66bb4ad9d633342aead3b0f35b9f
2012-05-04Lofi AAC supportLars-Dominik Braun5-2/+11
32kbit/s. Closes #233.
2012-05-04Revert "Add force_tls setting"Lars-Dominik Braun4-13/+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-02Fixed building when DYNLIB=1Kaleb Elwert1-0/+1
Closes #247
2012-05-01piano: Remove old blowfish keysLars-Dominik Braun3-438/+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 Braun6-1100/+1172
2012-05-01Document new dependenciesLars-Dominik Braun1-0/+2
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun12-2573/+778
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.24Lars-Dominik Braun2-1/+13
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 Braun4-3/+13
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 Braun7-21/+47
See #231.
2012-02-24Don’t use custom format output as format stringLars-Dominik Braun1-3/+3
It may contain %’s and crashes. Closes #225.
2012-02-22Minor player cleanupLars-Dominik Braun2-28/+35
Move player buffer to heap, a few const’s here and there, increase header buffer size, fix comments.
2012-01-20piano: DAILY_SKIP_LIMIT_REACHED addedLars-Dominik Braun3-0/+7
See #214
2012-01-20piano: Make sync response parser NUL-byte awareLars-Dominik Braun4-20/+26
Fixes #207
2012-01-13piano: New error EXCESSIVE_ACTIVITYLars-Dominik Braun3-0/+7
See #208
2012-01-12Eliminate concurrent use of (un-)buffered I/OLars-Dominik Braun1-1/+2
Closes #201
2012-01-11TLS is enabled per-request nowLars-Dominik Braun1-1/+0
2012-01-10Back to -devLars-Dominik Braun1-1/+1
2012-01-10Prepare for release 2012.01.10Lars-Dominik Braun2-1/+7
2012-01-10HTTP/1.1 compliant CONNECTLars-Dominik Braun1-1/+4
Host: is mandatory.
2012-01-10getFragment does not support TLS any moreLars-Dominik Braun3-0/+8
You can’t handle the load? Closes #202
2012-01-03Better description of config file formatLars-Dominik Braun1-2/+3
Thanks to ifreecarve@github, closes #199.
2012-01-02man does not like the real apostroph (’)Lars-Dominik Braun1-1/+1
2011-12-24Avoid struct padding where possibleLars-Dominik Braun4-58/+64
Pointed out by -Wpadding. Does not decrease memory usage/binary size though.
2011-12-24Fix warnings found by -Wwrite-stringsLars-Dominik Braun2-5/+6
Can’t fix all of them; ezxml is a mess :(
2011-12-24Pretty makeLars-Dominik Braun1-9/+16
2011-12-24Enable a lot of GCC warnings for debug targetLars-Dominik Braun1-1/+26