summaryrefslogtreecommitdiff
path: root/music.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-03-03Fixed content-type and range handling.Jon Bergli Heier1-44/+7
2011-03-02derpJon Bergli Heier1-1/+0
2011-03-02Merge branch 'master' into cache_rangeJon Bergli Heier1-106/+34
Conflicts: music.cpp
2011-03-02Add ability to serve parts of a file.Vegard Storheil Eriksen1-2/+29
2011-03-02Implemented simple caching for transcoded audio data.Jon Bergli Heier1-17/+13
2011-02-04Moved all SQL code to database.cpp.Jon Bergli Heier1-94/+13
2011-02-04Moved music::update() to MusicDirectory::update().Jon Bergli Heier1-3/+6
2011-01-06MusicDirectory::render() now outputs current directory and links to parent ↵Jon Bergli Heier1-2/+15
directory when applicable.
2011-01-06Implemented rudimentary ffmpeg-based decoder.Vegard Storheil Eriksen1-2/+2
2011-01-06Replaced iostream-based decoder-encoder chain with direct chain.Vegard Storheil Eriksen1-5/+12
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 Heier1-6/+64
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-04Added Doxyfile and documentation comments in various places.Jon Bergli Heier1-0/+10
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 Heier1-4/+40
different engines.
2011-01-03Decoder, encoder and transcoder-related classes and factories now uses ↵Jon Bergli Heier1-5/+3
boost::shared_ptr.
2011-01-02Use send_data() in MusicTrack::render().Jon Bergli Heier1-5/+1
2011-01-02Merge HTTPResponse into HTTP::Connection.Vegard Storheil Eriksen1-12/+12
2011-01-02Use a filtering_istream with custom filters to chain file -> decoder -> encoder.Jon Bergli Heier1-3/+2
2011-01-02Prefix paths with /files in MusicDirectory::render().Jon Bergli Heier1-2/+2
2011-01-02Command handling changes as a result of adding the update command.Jon Bergli Heier1-0/+16
2011-01-02Moved MusicDirectory conversion code to music::get_directory().Jon Bergli Heier1-0/+11
2011-01-01Added 'find' command to the telnet server and removed find_artist call in ↵Jon Bergli Heier1-7/+0
music::init().
2011-01-01Implemented a simple 'ls' command for the telnet server.Jon Bergli Heier1-0/+8
2010-12-31Hacked stuff to work again.Vegard Storheil Eriksen1-13/+17
2010-12-30Added a simple artist lookup from a database using SOCI.Jon Bergli Heier1-6/+31
2010-12-29Don't allow requests with /../ in the path.Jon Bergli Heier1-0/+5
2010-12-29Don't read entire directory tree into memory.Jon Bergli Heier1-34/+20
2010-12-28Don't send original file's content-length when transcoding.Jon Bergli Heier1-3/+4
2010-12-28Added a simple interface to transcoding by specifying the 'decoder' and ↵Jon Bergli Heier1-7/+22
'encoder' query arguments.
2010-12-28Misc changes in HTTP code.Jon Bergli Heier1-4/+19
2010-12-27Added HTTPRequest and HTTPResponse classes.Jon Bergli Heier1-2/+7
2010-12-27Basic directory listing for HTTP.Jon Bergli Heier1-2/+39
2010-12-27Store MusicDirectory's root path.Jon Bergli Heier1-0/+1
2010-12-27Use boost::filesystem.Jon Bergli Heier1-25/+14
2010-12-27Initial commit.Jon Bergli Heier1-0/+44