Age | Commit message (Collapse) | Author | Files | Lines |
|
Song timer was shown without song playing.
|
|
libav 9.12 and ffmpeg 2.2 have been tested.
Here’s why: My mp4 “parser” *cough* never was a mp4 parser in the sense
that it actually understood the file format. Instead it grepped the
input stream for “magic” strings (section identifiers). That alone
should be sufficient to throw away the code and rewrite it. Additionally
libfaad2 has not been updated for ages. I guess it was abandoned in
favor of libav/ffmpeg.
With libav/ffmpeg, which we support both as long as the API’s don’t
diverge too much, pianobar gains fast and reliable AAC and MP3 decoding
without bothering too much about the details. Most users will have it
installed already. On my own machine libav consumes about 2/3 CPU time
compared to the previous solution when playing AAC. Unfortunately memory
usage doubled and my attempts to disable unused protocols/formats/codec
failed due to libav’s API limitations.
While cleaning up a small detail regarding the eventcmd API has changed
too: Song duration and position are measured in seconds instead of
milliseconds now. Since libav/ffmpeg keeps track of accurate timing the
precision pianobar keeps track of can be reduced, while still being
sufficient for most users.
|
|
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.
|
|
|
|
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.
|
|
Fixes mysterious segfaults from issue #369 and #293.
|
|
1) Make sure that multiple bad playlists in a row don’t result in a
temporary ban
2) Ignore songs skipped because the playlist timed out after pausing for
too long
|
|
Add commands that always play and always pause, in addition to the
current toggle pause command.
Closes #342.
|
|
Useful for tuner-beta.savagebeast.com:8443. Closes #319.
|
|
Closes #314.
|
|
… and restore both on startup. To disable run `ln -sv /dev/null
~/.config/pianobar/state`. Setting an invalid autostart_station in the
config file prevents automatic station selection on startup.
Closes #305.
|
|
With `history = 0` playlist items are discarded, but not freed.
|
|
Closes #287
|
|
We have all the error handling in place, no need to kill the program.
See #274.
|
|
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.
|
|
Closes #250.
|
|
This reverts commit 7df9371491e96a99c1e463f7787aede352ac5a37.
|
|
No more mutex locking/checking for quit condition. Should (slightly)
increase responsiveness of the player thread. Closes #250.
|
|
In case someone wants to use internal-tuner.pandora.com. See #243.
|
|
Always run cleanup, ensure thread is joined and player struct is reset.
See #250.
|
|
It’s a bad idea to hardcode these, although playback does not work with
non-android login yet.
|
|
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.
|
|
See #231.
|
|
Closes #201
|
|
|
|
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle
confusion.
Closes #175
|
|
|
|
|
|
|
|
|
|
Reusable.
|
|
|
|
Fixes #165
|
|
See #149.
|
|
Fixes #144
|
|
Closes #141
|
|
Required to expose non-standard functions. Closes #138
|
|
Closes #136
|
|
Accepts user and password in urls now. Tests added.
|
|
Closes #88
|
|
|
|
|
|
See issue #83
|
|
Doesn't use c streams any more, allows multiplexing of fifo/stdin in all
situations.
|
|
Something like
act_foobar = disabled
disables the command foobar completely now. Useful if you don't use
software volume control. See issue #78.
|
|
See issue #76
|
|
See issue #71.
|
|
Again. And hopefully the last time.
|
|
|
|
|