summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.h
AgeCommit message (Collapse)AuthorFilesLines
2018-10-30Add tired rating to songLars-Dominik Braun1-1/+2
Now we can show a tired icon in the history. Closes #637.
2017-05-17Switch to #pragma onceLars-Dominik Braun1-3/+1
# Conflicts: # src/http/http.h # src/player.h
2015-08-25libpiano: Abstract out blowfish cipher to PianoCipher_t so different ↵Michał Cichoń1-6/+5
implementations than gcrypt can be used.
2015-08-10Move feature test macros to config.hLars-Dominik Braun1-0/+2
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/+19
Currently exposed settings: Username, password and explicit content filter. New key for settings is ‘!’, changeable with “act_settings”. Fixes issues #524 and #506.
2015-03-07Fix upcoming songs assertion failureLars-Dominik Braun1-1/+1
This should not be an assertion, it is expected to happen. Test with `echo -e "s0\nu" > ctl`. Fixes #509.
2014-07-07piano: Update API doc URLLars-Dominik Braun1-1/+1
2014-04-22Fix include guardsLars-Dominik Braun1-3/+3
Macros starting with _ are reserved (see http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html). Fixes #440.
2014-03-14piano: Request track lengthLars-Dominik Braun1-0/+1
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-3/+6
2013-08-07piano: Generic linked listsLars-Dominik Braun1-7/+35
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-02piano: Check for libgcrypt errorsLars-Dominik Braun1-1/+2
Fixes mysterious segfaults from issue #369 and #293.
2013-06-08Fix build in FreeBSDWilliam Grzybowski1-0/+3
2013-03-08piano: Add error message for code 1039Lars-Dominik Braun1-1/+1
See #352.
2012-07-06Add feature: Create new station from selected songLars-Dominik Braun1-0/+9
New keybinding ‘v’, new setting act_createstationfromsong.
2012-06-26piano: Remove move songLars-Dominik Braun1-8/+0
Doesn’t work with JSON API. See #280.
2012-06-14piano: Remove unused structLars-Dominik Braun1-5/+0
2012-06-09piano: Select quality instead of audio formatLars-Dominik Braun1-3/+9
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 Braun1-1/+1
2012-05-23piano: Fix ambiguous error message/return valueLars-Dominik Braun1-0/+2
Closes #263.
2012-05-04Lofi AAC supportLars-Dominik Braun1-1/+2
32kbit/s. Closes #233.
2012-05-02Really delete seed suggestionsLars-Dominik Braun1-8/+0
There does not seem to be an API call for that.
2012-05-01Don’t hardcode passwordsLars-Dominik Braun1-3/+11
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/+1
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun1-23/+56
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-01-20piano: DAILY_SKIP_LIMIT_REACHED addedLars-Dominik Braun1-0/+1
See #214
2012-01-13piano: New error EXCESSIVE_ACTIVITYLars-Dominik Braun1-0/+1
See #208
2012-01-10getFragment does not support TLS any moreLars-Dominik Braun1-0/+3
You can’t handle the load? Closes #202
2011-11-09piano: Protocol version bump (v33)Lars-Dominik Braun1-6/+3
addFeedback call changed. Input keys changed. Thanks to ZigZagJoe. Closes #171
2011-10-22Support seed stationsLars-Dominik Braun1-0/+3
Fixes #165
2011-09-22piano: Protocol version bump (v32)Lars-Dominik Braun1-1/+1
Keys stay the same. Quickmix and seed suggestion API calls changed. Listener id is not part of the url any more. Bookmark API calls seem to be deprecated.
2011-04-04piano: Added songDetailUrl to PianoSong_tLars-Dominik Braun1-0/+1
2011-03-21Update copyright years of touched filesLars-Dominik Braun1-1/+1
2011-03-21piano: New error REMOVING_TOO_MANY_SEEDSLars-Dominik Braun1-0/+1
2011-03-21piano: Delete seed supportLars-Dominik Braun1-0/+6
2011-03-21piano: Delete feedbackLars-Dominik Braun1-0/+1
2011-03-21piano: Add getStation supportLars-Dominik Braun1-0/+16
Response contains artist/song seeds and feedback data.
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-12-26Better directory layoutLars-Dominik Braun1-0/+244
Removed useless AUTHORS, COPYING and README files. Move manpage to contrib (it's not exactly source code).