Commit Graph

110 Commits

Author SHA1 Message Date
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
Jonas Wielicki
e4a18332a0 http: make HTTP server support configurable
This allows to configure the local files streaming option
per-connection. It defaults to enabled.
2017-10-15 16:11:42 +02: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
4f7357c5bd Reduce number of advanced config items - there was just too many. 2017-04-08 19:27:18 +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
98936e0504 When listing albums where composer is used for artist grouping, place album artist name after album name if different from composer.
Issue #896
2016-10-16 22:33:41 +01: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 Drummond
ea4cd5ce04 Re-arange layouts so that note labels are in correct place if make OSX
pref dialog not do its resize thingy...
2015-07-23 21:01:01 +01:00
Craig Drummond
406f99be02 Always build support for Dynamic, Online, and Streams 2015-06-26 21:18:25 +01:00
craig.p.drummond
12b7bf0e83 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
31dd2bddbf Resize config dialog when page changes 2014-10-08 14:39:08 +00:00
craig.p.drummond
1fcddd088f Detect lo as well as loX as loopback 2014-10-07 18:48:42 +00: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
5f6bf689a2 Fix playback of local files by inbuilt HTTP server.
BUG 554
2014-10-03 18:10:11 +00:00
craig.p.drummond
e9b242ab05 Better display of interface details. 2014-09-29 16:08:57 +00:00
craig.p.drummond
6c77389b3a Add note-label classes to ensure consistency 2014-08-21 16:40:46 +00:00
craig.p.drummond
8dfe4d4ee8 Remove some moc/QObject warnings in KDE builds without streams or http server.
BUG: 507
2014-07-23 20:56:09 +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
bf74e4a78f Fix grouping of local and non-local podcasts in playqueue 2014-07-17 16:13:20 +00:00
craig.p.drummond
bf779cfafb Also show first IP address of interface in HTTP server settings page. 2014-06-16 19:11:43 +00:00
craig.p.drummond
eac245fd65 Also read performer for display in context view 2014-06-11 18:25:29 +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
17f8d73943 Song is a struct not a class 2014-04-18 19:51:47 +00:00
craig.p.drummond
0f320b7631 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
7440d95888 Set 'no interaction' flag on NOTE labels - so that Oxygen's window drag works. 2014-02-28 20:11:51 +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
b320bcf210 Add CMake option to disable building of internal HTTP server.
BUG: 373
2014-01-02 19:07:59 +00:00
craig.p.drummond
c98cbcbf0f Log if fail to open file 2014-01-02 19:06:52 +00:00
craig.p.drummond
3f24e2006a If connected to MPD via a UNIX-domain socket, then send non-MPD files as file:/// URLs to MPD - i.e. dont use internal HTTP server. To foce usage of HTTP server - set alwaysUseHttp to true in Cantata's config file.
BUG: 373
2014-01-02 19:06:13 +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