Commit Graph

17 Commits

Author SHA1 Message Date
Craig Drummond
7eeb6fa7d3 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
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
cc8e1f2180 Use newConnection not incommingConnection to handle new connections
BUG: 554
2014-10-04 08:44:44 +00:00
craig.p.drummond
bae0cf19a1 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
17f8d73943 Song is a struct not a class 2014-04-18 19:51:47 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
a7c810e3c0 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
73fae91861 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
fea11cd7f6 Extract common write block 2013-12-05 20:02:33 +00:00
craig.p.drummond
70046145b8 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
30b53a4e71 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
017e93ae7d Fix HTTP server listening on non-loopback address. 2013-03-16 07:34:50 +00:00
craig.p.drummond
4348086904 Re-layout 2013-03-14 19:33:01 +00:00
craig.p.drummond
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond@gmail.com
4b17e32a13 Add option to specify HTTP server listen address/interface. 2012-06-15 11:40:53 +00:00
craig
f40f348ec1 Add simple HTTP server 2012-02-22 18:52:38 +00:00