summaryrefslogtreecommitdiff
path: root/src/libpiano/request.c
AgeCommit message (Collapse)AuthorFilesLines
2020-03-31piano: Request all stationsLars-Dominik Braun1-0/+3
By default the number of stations returned is limited to 95. Adding a flag returns all stations. Fixes #693.
2017-10-07piano: Fetch extended attribs for station infoLars-Dominik Braun1-0/+3
We can show the song length in the feedback list now.
2017-09-30Add tired rating to songLars-Dominik Braun1-1/+2
Now we can show a tired icon in the history. Closes #637.
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/+41
Currently exposed settings: Username, password and explicit content filter. New key for settings is ‘!’, changeable with “act_settings”. Fixes issues #524 and #506.
2015-04-06Switch back to libcurlLars-Dominik Braun1-6/+11
Drops libwaitress. Adds the new dependency libcurl and drops gnutls. I wouldn’t say writing my own HTTP library was a mistake – it was not and the experience gained was worth it. Instead I have to acknowledge that libcurl is just better than my own implementation. Sure, it does a lot more than HTTP – one could call that bloat. Yet if you just want to get the job done™ reusing code is the way to go. See #512 and #513.
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.
2013-08-07piano: Generic linked listsLars-Dominik Braun1-4/+2
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.
2012-07-06Add feature: Create new station from selected songLars-Dominik Braun1-5/+26
New keybinding ‘v’, new setting act_createstationfromsong.
2012-06-26piano: Remove move songLars-Dominik Braun1-36/+0
Doesn’t work with JSON API. See #280.
2012-06-14piano: Remove unused structLars-Dominik Braun1-6/+4
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun1-31/+0
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-11piano: Add stationToken to addFeedback requestLars-Dominik Braun1-0/+3
Fixes thumbs up/down and move song.
2012-05-06piano: Fix memory leakLars-Dominik Braun1-8/+9
2012-05-04Lofi AAC supportLars-Dominik Braun1-0/+4
32kbit/s. Closes #233.
2012-05-02Really delete seed suggestionsLars-Dominik Braun1-30/+0
There does not seem to be an API call for that.
2012-05-02piano: Audio format supportLars-Dominik Braun1-0/+26
Ask Pandora for audio format requested by user. Closes #244.
2012-05-01Don’t hardcode passwordsLars-Dominik Braun1-8/+9
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/+509