Commit Graph

73 Commits

Author SHA1 Message Date
Craig Drummond
059aceb95d Fix build issues due to previous change. #1727 2021-07-29 12:13:42 +01:00
Craig Drummond
31b8a6d9b9 Revert "Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings""
This reverts commit be9c1e74e0.
2021-07-29 12:00:04 +01:00
Craig Drummond
be9c1e74e0 Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings"
This reverts commit cb18837d11, reversing
changes made to b296cf7113.
2021-07-28 19:44:57 +01:00
John Regan
cc0d116986 fix deprecation: QString::SkipEmptyParts is now Qt::SkipEmptyParts 2021-07-19 15:00:32 -04:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Craig Drummond
841769c86a Add 'paranoiaOffset' config item to set cdparanoia offset whe reading
discs.
Issue #1341
2018-08-10 11:31:24 +01:00
Craig Drummond
04402bf02f Remove user-agent checking when serving local files, this is easily fake-able and breaks playback to forked-daap (and mopidy?)
Issue #1339
2018-08-10 09:37:17 +01:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
padertux
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
00fd9d68ff Check socket, and use deleteLater to delete 2017-11-03 16:17:13 +00:00
Craig Drummond
ee516aa2fe When creating list of streams to allow, decode paths 2017-11-03 16:11:52 +00:00
Craig Drummond
08b32733f7 Check socket is not null 2017-11-03 16:00:18 +00:00
Craig Drummond
d3cf584fb4 Reject HTTP requests which cannot be parsed
Issue #1072
2017-08-20 14:10:34 +01:00
Craig Drummond
37045525d8 Reject HTTP requests that are greater than 32k
Issue #1072
2017-08-20 14:09:46 +01:00
Craig Drummond
c2c02b559b Reject HTTP incomming connections quicker if host does not match.
Issue #1072
2017-08-20 14:08:51 +01:00
Craig Drummond
f4c48915d4 Always use external helper for tags 2017-04-09 00:31:44 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
b0b0140d98 Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
84ca06c2a5 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
7546ec45e2 Fix AudioCD playback when MPD's curl is using IPv6 2016-06-03 16:30:48 +01:00
Craig Drummond
658788645b Fix playback of AudioCDs 2016-03-17 23:12:29 +00:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
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