summaryrefslogtreecommitdiff
path: root/src/libpiano/response.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-28docs: fix simple typo, exhaused -> exhaustedTim Gates1-1/+1
There is a small typo in src/libpiano/response.c. Should read `exhausted` rather than `exhaused`.
2020-08-08Allow changing station modeLars-Dominik Braun1-0/+60
Fixes #700.
2017-10-07piano: Fetch extended attribs for station infoLars-Dominik Braun1-0/+5
We can show the song length in the feedback list now.
2017-09-30Add tired rating to songLars-Dominik Braun1-1/+6
Now we can show a tired icon in the history. Closes #637.
2017-03-25piano: Replace deprecated json_object_object_getLars-Dominik Braun1-74/+105
2015-08-10Move feature test macros to config.hLars-Dominik Braun1-4/+1
I removed most of the *BSD-related stuff, because I can’t test these. If this breaks your build, send me a patch please.
2015-08-10Add feature to change Pandora settingsLars-Dominik Braun1-0/+12
Currently exposed settings: Username, password and explicit content filter. New key for settings is ‘!’, changeable with “act_settings”. Fixes issues #524 and #506.
2014-06-21piano: Fix segfault in GET_STATION_INFO response parserLars-Dominik Braun1-1/+8
Pandora added two new integer values to the feedback object, which breaks the assumption that all values are arrays. Since we know the names of the interesting keys (thumbsUp and thumbsDown) just use them instead of iterating over all available keys. Fixes #460.
2014-03-14piano: Request track lengthLars-Dominik Braun1-0/+2
The returned length is used as first length estimate before enough audio data arrives to show the real length and for the eventcmd API. See #427 and #64.
2014-01-31Switch to clang for debugging build + fix issuesLars-Dominik Braun1-15/+16
2013-08-07piano: Generic linked listsLars-Dominik Braun1-133/+30
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-28piano: Replace station with same idLars-Dominik Braun1-3/+19
2012-06-26piano: Remove move songLars-Dominik Braun1-15/+0
Doesn’t work with JSON API. See #280.
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun1-2/+33
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-05-23piano: Fix ambiguous error message/return valueLars-Dominik Braun1-0/+11
Closes #263.
2012-05-06piano: Fix insane strcpyLars-Dominik Braun1-11/+29
2012-05-02piano: Bring back detailUrl and coverArtLars-Dominik Braun1-0/+2
2012-05-02Really delete seed suggestionsLars-Dominik Braun1-14/+0
There does not seem to be an API call for that.
2012-05-02piano: Audio format supportLars-Dominik Braun1-2/+3
Ask Pandora for audio format requested by user. Closes #244.
2012-05-01Don’t hardcode passwordsLars-Dominik Braun1-4/+5
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 Braun1-0/+653