summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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.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.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.
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 Braun1-1/+1
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
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-23Fix warnings found by -Wcast-qualLars-Dominik Braun3-10/+10