Commit Graph

64 Commits

Author SHA1 Message Date
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
25fd03e847 Check socket, and use deleteLater to delete 2017-11-03 16:17:13 +00:00
Craig Drummond
e7788a9c38 When creating list of streams to allow, decode paths 2017-11-03 16:11:52 +00:00
Craig Drummond
9bbd299bcd Check socket is not null 2017-11-03 16:00:18 +00:00
Craig Drummond
a9963ad2b6 Reject HTTP requests which cannot be parsed
Issue #1072
2017-08-20 14:10:34 +01:00
Craig Drummond
8fd108c8a7 Reject HTTP requests that are greater than 32k
Issue #1072
2017-08-20 14:09:46 +01:00
Craig Drummond
7c9bd034c3 Reject HTTP incomming connections quicker if host does not match.
Issue #1072
2017-08-20 14:08:51 +01:00
Craig Drummond
168c2495bc Always use external helper for tags 2017-04-09 00:31:44 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
18e2fb6dcf Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
d721fab3bc Fix local file playback on remote MPD when MPD's curl is using IPv6
Issue #907
2016-11-02 22:24:00 +00:00
Craig Drummond
b59ee04fa0 Fix AudioCD playback when MPD's curl is using IPv6 2016-06-03 16:30:48 +01:00
Craig Drummond
a35899e8e9 Fix playback of AudioCDs 2016-03-17 23:12:29 +00:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
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
74f984e5c9 ...and include tags/tags.h here too!!! 2014-06-01 09:05:14 +00:00
craig.p.drummond
d29d9a8781 Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
d55dff1b24 Reduce duplication 2014-02-14 20:08:25 +00:00
craig.p.drummond
5817149e63 AudioCDs can seek, jsut not reliably :-( 2014-01-16 20:01:45 +00:00
craig.p.drummond
2f24b3fd9b Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
c98cbcbf0f Log if fail to open file 2014-01-02 19:06:52 +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
23f30f4b48 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
64b9b6c726 Fix truncated files served from internal HTTP server.
BUG: 368
2013-12-30 10:29:05 +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
a48f1b9d89 AudioCDs are not currently seekable :-( 2013-12-06 13:06:34 +00:00
craig.p.drummond
fea11cd7f6 Extract common write block 2013-12-05 20:02:33 +00:00
craig.p.drummond
2944d02e5e Only use taglib in tags.cpp/filetyperesolver.cpp 2013-11-26 19:59:15 +00:00
craig.p.drummond
99bccf6281 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
00120245b4 Fix playing of files from windows share 2013-10-16 18:24:04 +00:00
craig.p.drummond
7c5c01974d Fix HTTP server under windows when passed a local file 2013-10-15 17:14:51 +00:00
craig.p.drummond
dba3417a90 Untested support for opus file format 2013-08-19 17:55:31 +00:00
craig.p.drummond
83faed9837 Remove lame usage, its not actually required for audio cd playback! 2013-07-12 19:29:34 +00:00
craig.p.drummond
62fc004933 Allow seeking in cantata HTTP streams. 2013-07-05 20:39:15 +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
652500a4c7 Rename 'cdMp3' to 'cdEncode' 2013-03-25 19:57:58 +00:00
craig.p.drummond
35a6a52133 Use 0 for 'Dynamic' setting 2013-03-19 19:29:54 +00:00
craig.p.drummond
e887b0bcbd Remove unrequired include 2013-03-18 20:16:28 +00:00
craig.p.drummond
3f8463d0cb Optionally covert CD Audio tracks to MP3 when playnig back via HTTP server. 2013-03-16 10:30:18 +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
8995a80be8 - Group cd tracks under 'Audio CD' in grouped view.
- Add isCdda() to Song
2013-03-14 19:50:59 +00:00