Commit Graph

46 Commits

Author SHA1 Message Date
Craig Drummond
77ae58a9d0 Set HTTP server to listen on all addresses, but use IP address of socket
connected to MPD for HTTP URLs.
2015-08-14 18:57:15 +01:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
e383546083 Use newConnection not incommingConnection to handle new connections
BUG: 554
2014-10-04 08:44:44 +00:00
craig.p.drummond
16777a3954 Use QUrl with server details to build HTTP address used to compare MPD http file paths against. 2014-07-19 10:29:06 +00:00
craig.p.drummond
0086b736d3 ...and include tags/tags.h here too!!! 2014-06-01 09:05:14 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
516f2fb186 Reduce duplication 2014-02-14 20:08:25 +00:00
craig.p.drummond
a7c67b9237 AudioCDs can seek, jsut not reliably :-( 2014-01-16 20:01:45 +00:00
craig.p.drummond
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
61dc2ad276 Log if fail to open file 2014-01-02 19:06:52 +00:00
craig.p.drummond
3a07ab4e6d Only start internal HTTP server when required, and stop 1 second after last Cantata stream is removed.
BUG: 369
2014-01-02 19:05:06 +00:00
craig.p.drummond
16b3ed8e25 When MPD seeks a Cantata HTTP stream, set the Content-Range header field.
BUG: 368
2014-01-02 19:03:20 +00:00
craig.p.drummond
95e78ad24b Fix truncated files served from internal HTTP server.
BUG: 368
2013-12-30 10:29:05 +00:00
craig.p.drummond
75f5b62ac4 Improve internal HTTP security - only server files to MPD host, and only serve files in playqueue.
BUG: 356
2013-12-24 19:15:51 +00:00
craig.p.drummond
6bcfed6f15 AudioCDs are not currently seekable :-( 2013-12-06 13:06:34 +00:00
craig.p.drummond
f18483d118 Extract common write block 2013-12-05 20:02:33 +00:00
craig.p.drummond
5d63ab1d78 Only use taglib in tags.cpp/filetyperesolver.cpp 2013-11-26 19:59:15 +00:00
craig.p.drummond
5343b1273a Read/write tags in an external app - as per Clementine and Amarok. Isolates Cantata from TagLib crashes. 2013-10-22 18:22:41 +00:00
craig.p.drummond
6000884da3 Fix playing of files from windows share 2013-10-16 18:24:04 +00:00
craig.p.drummond
4bc6d42f85 Fix HTTP server under windows when passed a local file 2013-10-15 17:14:51 +00:00
craig.p.drummond
c26cb9b161 Untested support for opus file format 2013-08-19 17:55:31 +00:00
craig.p.drummond
83bf3339d9 Remove lame usage, its not actually required for audio cd playback! 2013-07-12 19:29:34 +00:00
craig.p.drummond
a4f010bfe9 Allow seeking in cantata HTTP streams. 2013-07-05 20:39:15 +00:00
craig.p.drummond
23fac23d50 Simplify HTTP server settings. Now only the interface can be chosen. HTTP server is used for all non-MPD files. If computer has no active network connection (e.g. lo is the only interface), then the HTTP server settings page is hidden. 2013-05-13 20:40:37 +00:00
craig.p.drummond
7230782891 If we dynamically allocate a HTTP port, then attempt to reuse that port when Cantata restarts 2013-05-01 07:03:55 +00:00
craig.p.drummond
fe37025b58 Rename 'cdMp3' to 'cdEncode' 2013-03-25 19:57:58 +00:00
craig.p.drummond
77e030b2e3 Use 0 for 'Dynamic' setting 2013-03-19 19:29:54 +00:00
craig.p.drummond
6974d83b79 Remove unrequired include 2013-03-18 20:16:28 +00:00
craig.p.drummond
0dd629981b Optionally covert CD Audio tracks to MP3 when playnig back via HTTP server. 2013-03-16 10:30:18 +00:00
craig.p.drummond
10f22de70c Fix HTTP server listening on non-loopback address. 2013-03-16 07:34:50 +00:00
craig.p.drummond
a70e3ffe95 - Group cd tracks under 'Audio CD' in grouped view.
- Add isCdda() to Song
2013-03-14 19:50:59 +00:00
craig.p.drummond
12f87d19a7 Playback of AudioCDs via HTTP server 2013-03-14 19:32:27 +00:00
craig.p.drummond
13afdc5600 If we use a port<1024 for HTTP server, then just assign a 'dynamic'/random port 2013-03-11 19:53:25 +00:00
craig.p.drummond
50d76a7139 Intial attempt at audio-cd playback support. DOES NOT WORK! 2013-03-11 19:50:27 +00:00
craig.p.drummond
cb1d5b4b26 Support for Qt5 2013-02-08 17:57:02 +00:00
craig.p.drummond
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
5d02af7e97 Fix money audio detection, and dsf/dff 2013-01-06 09:53:51 +00:00
craig.p.drummond
920e885d22 Fix url conversion 2013-01-06 09:52:59 +00:00
craig.p.drummond
66c7823791 Fix playing of files containing square brackets, etc, that are external to MPD database via Cantata's simple HTTP server. 2013-01-03 20:05:04 +00:00
craig.p.drummond
964a7e6138 Fix playing of more filetypes via http 2013-01-03 20:02:26 +00:00
craig.p.drummond
8c1cbee767 Fix playing of FLAC files external to MPD database via Cantata's simple HTTP server. 2013-01-02 19:50:58 +00:00
craig.p.drummond
f352abc989 Remove debug 2012-06-15 18:59:28 +00:00
craig.p.drummond@gmail.com
fc7f4ab98e Add option to specify HTTP server listen address/interface. 2012-06-15 11:40:53 +00:00
craig
8f97302b7f Add simple HTTP server 2012-02-22 18:52:38 +00:00