Commit Graph

49 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 Drummond
406f99be02 Always build support for Dynamic, Online, and Streams 2015-06-26 21:18:25 +01: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
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
eac245fd65 Also read performer for display in context view 2014-06-11 18:25:29 +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
0f320b7631 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +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
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
c8e9844aa9 Fix Qt5 build - setEncodedUrl is deprecated in Qt5, and doesn't seem to be required.
BUG: 344
2013-12-07 22:23:09 +00:00
craig.p.drummond
e59c09204b Better handling of Cantata stream URLs with special characters (e.g. question marks) 2013-12-05 19:43:37 +00:00
craig.p.drummond
b609fe77fd Revert reading/writing of tags in external helper - its not working correctly
BUG: 319
2013-10-25 20:01:33 +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
d0bec55b37 Allow local file playback without taglib 2013-10-18 18:58:33 +00:00
craig.p.drummond
a0453663a1 Can still use HTTP server without TagLib - its just not as good... 2013-10-18 18:57:44 +00:00
craig.p.drummond
00120245b4 Fix playing of files from windows share 2013-10-16 18:24:04 +00:00
craig.p.drummond
3d39aa60c3 Set/read composer field with HTTP files 2013-10-15 17:17:44 +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
38c3e86418 Fix AudioCD playback. 2013-05-21 19:22:22 +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
ab3c63410f - Fix deletion of threads.
- Enable online services for windows builds.
2013-05-04 10:35:06 +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
35a6a52133 Use 0 for 'Dynamic' setting 2013-03-19 19:29:54 +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
craig.p.drummond
66496d60d3 MusicBrainz lookup 2013-03-13 20:01:51 +00:00
craig.p.drummond
ce489a9afb Intial attempt at audio-cd playback support. DOES NOT WORK! 2013-03-11 19:50:27 +00:00
craig.p.drummond
948c2b3ba9 Some valgrind fixes 2013-02-15 17:21:44 +00:00
craig.p.drummond
c65fc7713c Support for Qt5 2013-02-08 17:57:02 +00:00
craig.p.drummond
a2cad3d269 Better thread termination 2013-01-30 19:16:03 +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
5a885ba634 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
87347133ce 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
b3795d2ce1 Get path from query paramter, or URL's path 2012-12-30 22:14:35 +00:00
craig.p.drummond
d312b1b344 Set song's file to url 2012-12-30 22:01:43 +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.p.drummond
c3dddc74a5 Dont attempt to access HTTPSocket if its not been created!
BUG:22
2012-06-10 14:48:11 +00:00
craig.p.drummond
4b64fa30fc Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond@gmail.com
efd74979d3 - Only attempt to load a cover from MPD dir if the song actually has a file path
- For streamed songs, add actual path to URL query
2012-05-12 20:07:32 +00:00
craig.p.drummond@gmail.com
385b8a298a Dont need to check 'isAlive' when decoding URLs. 2012-05-12 19:48:26 +00:00
craig
fa049536e9 Decode tags from files to pass to mpd in server urls 2012-03-04 20:58:07 +00:00
craig
b25ba3735f Decoded Cantata streamed file URLs 2012-03-04 19:45:15 +00:00
craig
1e72b9626c Add track number to URL params 2012-03-02 20:26:20 +00:00
craig
802dce94d4 Sleep 2012-02-29 18:11:06 +00:00
craig
f40f348ec1 Add simple HTTP server 2012-02-22 18:52:38 +00:00