Permalink
Commits on May 29, 2014
  1. note deprication

    committed May 29, 2014
Commits on May 8, 2014
  1. piano: Fix include guard of crypt.h

    Missed that one in 4d8ad7d. Fixes #449.
    PromyLOPh committed May 8, 2014
  2. Makefile: Improve libav selection

    See #447.
    PromyLOPh committed May 8, 2014
Commits on Apr 22, 2014
  1. player: Add missing header for ffmpeg1.2

    Closes #441.
    PromyLOPh committed Apr 22, 2014
  2. Fix include guards

    Macros starting with _ are reserved (see
    http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html).
    Fixes #440.
    PromyLOPh committed Apr 22, 2014
Commits on Apr 21, 2014
Commits on Apr 18, 2014
  1. player: Fix state-machine

    Song timer was shown without song playing.
    PromyLOPh committed Apr 18, 2014
  2. waitress: Use standard socket buffer size

    libav* uses its own HTTP implementation and the API calls do not benefit
    from it anyway.
    PromyLOPh committed Apr 18, 2014
Commits on Apr 12, 2014
Commits on Apr 11, 2014
  1. Fix volume control

    Commit 8012d6c was broken in several
    ways. Since auto-detection did not work correctly it was replaced by a
    user-editable variable. See #439.
    PromyLOPh committed Apr 11, 2014
Commits on Apr 8, 2014
  1. Merge remote-tracking branch 'promy/master'

    Conflicts:
    	src/main.c
    	src/player.c
    	src/player.h
    committed Apr 8, 2014
Commits on Apr 7, 2014
  1. ffmpeg compatibility

    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.
    PromyLOPh committed Apr 7, 2014
  2. player: discard unused streamns

    Shouldn’t make a difference right now. Just in case…
    PromyLOPh committed Apr 7, 2014
Commits on Apr 4, 2014
  1. Send headers in first packet.

    Splitting up the writes causes the Host header to end up in a
    different packet than the requst line, making it harder to proxy.
    KenMacD committed with PromyLOPh Jan 4, 2014
  2. Send the server_name extension.

    Required by sniproxy when forwarding the connection.
    KenMacD committed with PromyLOPh Jan 4, 2014
Commits on Mar 31, 2014
  1. Fix compiler warning

    PromyLOPh committed Mar 31, 2014
  2. Use libav/ffmpeg for audio decoding

    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.
    PromyLOPh committed Mar 31, 2014
Commits on Mar 14, 2014
  1. waitress: Increase kernel receive buffer

    Suggested in #426. Should be large enough for a complete song now (if
    permitted by sysctl). The correct solution™ would be a buffer in
    userspace though.
    PromyLOPh committed Mar 14, 2014
  2. piano: Request track length

    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.
    PromyLOPh committed Mar 14, 2014
Commits on Mar 13, 2014
Commits on Feb 12, 2014
Commits on Jan 31, 2014
Commits on Jan 12, 2014
Commits on Jan 5, 2014
Commits on Jan 2, 2014
  1. Added Ctrl-u to readline

    Based on suggestion from Sebastian, see issue #416. Fixed several issues
    (multibyte, \0-termination) and refactored readline code while I’m at
    it.
    PromyLOPh committed Jan 2, 2014
Commits on Oct 31, 2013
Commits on Oct 24, 2013
  1. Port to OpenBSD

    This really just tells the makefile how to call the compiler
    on OpenBSD. You'll also want the following packages:
      json
      libmad
      libao
      faad
      gnutls
    rsaxvc committed Oct 24, 2013
Commits on Sep 23, 2013
Commits on Sep 15, 2013
  1. Back to -dev

    PromyLOPh committed Sep 15, 2013
  2. Prepare for release 2013.09.15

    PromyLOPh committed Sep 15, 2013
Commits on Sep 11, 2013
Commits on Sep 8, 2013
  1. waitress: Move testcases to separate file

    Now the test-enabled waitress.o does not conflict with pianobar’s
    waitress.o any more, thus running `make test` without `make clean` works
    fine.
    PromyLOPh committed Sep 8, 2013
Commits on Sep 3, 2013