summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-04Implemented JSON list handler.HEADmasterJon Bergli Heier3-0/+53
2011-08-04Fixed memory leak caused by exceptions in HTTP::Connection::send_file().Jon Bergli Heier1-4/+4
2011-08-04Don't escape / in JSON.Jon Bergli Heier1-1/+0
2011-08-04Fixed segfault in ~DecderFFmpeg().Jon Bergli Heier1-1/+1
avcodec_close() should be called first, because it's connected to the format context which is also freed here by av_close_input_file().
2011-08-04Handle sample rates and channels.Jon Bergli Heier5-13/+38
2011-08-04Fix compiling with Boost 1.47.0.Jon Bergli Heier2-2/+2
2011-07-08Fixed ffmpeg decoder.Jon Bergli Heier2-11/+45
2011-03-08Compile with multithreaded-only Boost libs (no -mt suffix).Jon Bergli Heier1-1/+8
2011-03-03Fixed content-type and range handling.Jon Bergli Heier7-46/+25
2011-03-02derpJon Bergli Heier1-1/+0
2011-03-02Merge branch 'master' into cache_rangeJon Bergli Heier11-122/+257
Conflicts: music.cpp
2011-03-02Add ability to serve parts of a file.Vegard Storheil Eriksen4-11/+100
2011-03-02Implemented simple caching for transcoded audio data.Jon Bergli Heier6-17/+91
2011-02-04Moved all SQL code to database.cpp.Jon Bergli Heier4-96/+155
2011-02-04Moved music::update() to MusicDirectory::update().Jon Bergli Heier2-4/+7
2011-01-11Moved EncoderLame's encode() and flush() into read().Jon Bergli Heier2-14/+3
2011-01-10Remove 'written' from encode call arguments in VorbisEncoder::read() as ↵Jon Bergli Heier1-1/+1
'written' will always be 0 here.
2011-01-10Fixed typo in VorbisEncoder.Jon Bergli Heier2-4/+4
2011-01-10Fixed arguments to VorbisEncoder::decode().Jon Bergli Heier1-1/+1
2011-01-10Added Vorbis encoder.Jon Bergli Heier4-0/+149
2011-01-10Fixed mpg123 decoder.Jon Bergli Heier2-24/+9
2011-01-10Static files should be on /static, not /files.Vegard Storheil Eriksen1-1/+1
2011-01-10Added HTTP::Static for serving static content.Vegard Storheil Eriksen4-0/+66
2011-01-10Catch exceptions in HTTP::Connection::handle_read() and return status 500.Vegard Storheil Eriksen1-21/+34
2011-01-10Added response_map for http response codes.Vegard Storheil Eriksen4-6/+21
2011-01-10Add JSON parser/generator.Vegard Storheil Eriksen2-0/+163
2011-01-06MusicDirectory::render() now outputs current directory and links to parent ↵Jon Bergli Heier1-2/+15
directory when applicable.
2011-01-06Fixed libs and includes to compile under Linux.Jon Bergli Heier4-0/+9
2011-01-06Implemented rudimentary ffmpeg-based decoder.Vegard Storheil Eriksen6-5/+67
2011-01-06Replaced iostream-based decoder-encoder chain with direct chain.Vegard Storheil Eriksen12-168/+72
2011-01-06Oops, re-added st.execute.Jon Bergli Heier1-0/+1
2011-01-06Removed some debug output.Jon Bergli Heier1-3/+0
2011-01-06Reworked "find" to allow for more sophisticated searches.Jon Bergli Heier4-25/+97
The usage of the "find" command is as follows: find SEARCH where SEARCH is either a simple string to search for, or key:value pairs with the following keys: artist album title
2011-01-06Change decoder/encoder API to provide decode/encode functions with a read ↵Vegard Storheil Eriksen6-25/+77
callback function.
2011-01-06Decoder/encoder source cleanup.Vegard Storheil Eriksen4-4/+12
2011-01-05Replaced regex parser in telnet::Connection::parse_args() with a ↵Jon Bergli Heier2-27/+18
spirit-based parser.
2011-01-04Added Doxyfile and documentation comments in various places.Jon Bergli Heier11-0/+39
2011-01-04Prefix paths with joined base_path.Jon Bergli Heier1-2/+5
2011-01-04Implemented music::update(), needs some work to make queries work on ↵Jon Bergli Heier5-4/+94
different engines.
2011-01-03Call encoder->flush() when done encoding.Jon Bergli Heier1-1/+7
2011-01-03Moved and removed some #include's.Jon Bergli Heier4-8/+6
2011-01-03Decoder, encoder and transcoder-related classes and factories now uses ↵Jon Bergli Heier7-38/+44
boost::shared_ptr.
2011-01-02Use send_data() in MusicTrack::render().Jon Bergli Heier1-5/+1
2011-01-02Cast strings to std::string to avoid sending null-bytes in write_headers().Jon Bergli Heier1-2/+2
2011-01-02Added send_data(istream).Vegard Storheil Eriksen3-9/+15
2011-01-02Write headers.Vegard Storheil Eriksen1-0/+4
2011-01-02Merge HTTPResponse into HTTP::Connection.Vegard Storheil Eriksen9-186/+80
2011-01-02Use a filtering_istream with custom filters to chain file -> decoder -> encoder.Jon Bergli Heier7-25/+61
2011-01-02Add HTTP::Connection::send_error.Vegard Storheil Eriksen3-4/+13
2011-01-02Move HTTP::Connection::parse_request into new file.Vegard Storheil Eriksen2-35/+37