summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-10libfaad is *required* now for most users, libmad is optionalLars-Dominik Braun1-1/+2
See #271 and #276.
2012-06-09Duplicate line fix for keybindingsDylan Powers1-3/+0
Closes #275.
2012-06-09Fix example config fileLars-Dominik Braun1-2/+12
Remove audio_format and add Pandora One credentials.
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun9-61/+58
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-23Add libgcrypt cflags to %.o targetTodd Eigenschink1-1/+1
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