Age | Commit message (Collapse) | Author | Files | Lines |
|
Abstract out HTTP comunication and replace libcurl with WinHTTP.
|
|
Add routine to escape authorization token to match what pandora.com
expects. libcurl isn't necessary for this job.
|
|
|
|
|
|
|
|
Since I'm not aware of any standard method to set title with escape codes explicit mechanism to control window title was introduced.
|
|
This solve problem of playback time adding to artist when name is short.
Debug messages are automatically copied to clipboard for easier debugging due to selection and copying in Windows console is not very convenient.
|
|
|
|
|
|
- use newly introduced console.h instead of terminal.h which emulate some behavior of VT terminals
- replace ffmpeg/libov player with more abstract one with DirectShow implementation
|
|
implementations than gcrypt can be used.
|
|
I removed most of the *BSD-related stuff, because I can’t test these. If
this breaks your build, send me a patch please.
|
|
Currently exposed settings: Username, password and explicit content
filter. New key for settings is ‘!’, changeable with “act_settings”.
Fixes issues #524 and #506.
|
|
|
|
The proxy config setting did not set ffmpeg’s http proxy previously. See
issue #531.
|
|
|
|
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.
|
|
The initial volume setup was ignored as well. Introduced by previous
commit 310900e4be52d11388792d776d9f6b89380bbecd. See
https://github.com/PromyLOPh/pianobar/commit/310900e4be52d11388792d776d9f6b89380bbecd
|
|
Fixes issue #508.
|
|
This should not be an assertion, it is expected to happen. Test with
`echo -e "s0\nu" > ctl`. Fixes #509.
|
|
libav 11 reports an invalid channel layout for mp3 files. This is a
work-around. The problem is fixed with libav 11.1.
|
|
|
|
|
|
|
|
|
|
Skipping/quitting while pausing does not play the current packet any
more. Avoid unneccessary calls to av_read_(play|pause).
|
|
|
|
If retry is triggered once and openStream fails after that retry is
never set to false, resulting in an infinite loop that cannot be
interrupted by the user.
|
|
Fixes #442.
|
|
|
|
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.
|
|
Fixes segfault reported in #461.
|
|
And simplify code that nobody touched in a long long time… Fixes input
issues reported in #458.
|
|
|
|
|
|
Drop minor version check, assuming this workaround is required for all
future versions. See 0a64272db65201fc2ecb3406b89d895966933b99. Fixes
issue #456.
|
|
|
|
Thanks to Unit 193 for the suggestion.
|
|
I’ll give it another shot. ffmpeg’s doc/developer.texi states their
micro version always starts at 100 for this very reason. Use that to
detect ffmpeg and guess its version by looking at major and minor
version numbers. Let’s hope this works.
|
|
Only the simple ~/ expansion is supported right now, since ~user
expansion does not make sense for per-user config files anyway.
Closes #431 and #430.
On my way to this solution I tried libconfuse and json-based config
files. I’m not convinced yet one of these is the solution though…
|
|
|
|
Missed that one in 4d8ad7d87072bc1631d0b949930f4869e56b7b99. Fixes #449.
|
|
Closes #441.
|
|
Macros starting with _ are reserved (see
http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html).
Fixes #440.
|
|
Song timer was shown without song playing.
|
|
libav* uses its own HTTP implementation and the API calls do not benefit
from it anyway.
|
|
Commit 8012d6cb4bb65a858105ef878c5b98d91b24e1cd was broken in several
ways. Since auto-detection did not work correctly it was replaced by a
user-editable variable. See #439.
|
|
Adds support for ffmpeg 2.2 and 1.2. Right now the maintenance overhead
of supporting both libav implementations is not that big.
Fixes #437 and #435.
|
|
Shouldn’t make a difference right now. Just in case…
|
|
Splitting up the writes causes the Host header to end up in a
different packet than the requst line, making it harder to proxy.
|