Commit Graph

3935 Commits

Author SHA1 Message Date
ejurgensen 633d297936 Merge pull request #314 from chme/pipeoutputsync
Sync output to fifo
2016-11-20 08:45:15 +01:00
ejurgensen 40621a9429 Merge pull request #313 from chme/scanbuild
Fix issues found by scanbuild
2016-11-20 08:43:35 +01:00
chme 27b9ee16c9 [fifo] Try to keep in sync with airplay speakers 2016-11-20 06:55:55 +01:00
chme fcbd88c56c [fifo] Fix: flush must return the number of pending events 2016-11-20 06:55:55 +01:00
chme 5bc52d7bc7 [rsp] Fix nullpointer dereference found by scan-build 2016-11-20 06:38:53 +01:00
chme a95da7966b Fixes issues found by scan-build in mpd.c and queue.c 2016-11-20 06:27:45 +01:00
ejurgensen 94a55d9fc9 [scan] readdir_r deprecated, use readdir instead 2016-11-19 23:50:14 +01:00
ejurgensen bdd6bab982 [-] Lots of housekeeping thanks to scan-build and input from @acmay 2016-11-19 23:08:50 +01:00
ejurgensen 8525c278ec [http] Fix crash with URLs without any "." chars in the path (issue #311, @credit acmay) 2016-11-17 19:24:55 +01:00
ejurgensen bb2a73ddab [spotify] Keep saved tracks through restarts + misc fixing up 2016-11-13 22:13:35 +01:00
ejurgensen fb808bd36a Merge pull request #310 from chme/dbcleanup
[db] Small code improvements (avoid hard coded values in query strings)
2016-11-12 22:58:54 +01:00
chme 2c801ca6db [db] Small code improvements (avoid hard coded values in query strings) 2016-11-12 12:35:22 +01:00
chme 6690ba32eb [player/transcode/httpd] Pass path, data_kind and song_length to
transcode_decode_setup/transcode_setup
2016-11-12 09:11:40 +01:00
chme 477088a36c [player/pipe] Only pass path to pipe_setup 2016-11-12 09:11:40 +01:00
chme 2db3318ce7 [player/spotify] Only pass spotify-path to spotify_playback_setup 2016-11-12 09:11:40 +01:00
ejurgensen 1b6283752e Bump version to 24.2 2016-11-09 22:48:09 +01:00
ejurgensen b1fd0d5fc5 ChangeLog for forked-daapd 24.2 2016-11-09 22:47:01 +01:00
ejurgensen 79743267aa [config] Align right margin 2016-11-09 22:46:03 +01:00
ejurgensen 3040346a65 [spotify] Use Spotify OAuth and web api to get saved tracks/albums 2016-11-05 13:44:23 +01:00
ejurgensen 8c0db10e67 [http] Move Curl https client from lastfm to http so it is available for other modules 2016-11-05 13:43:35 +01:00
ejurgensen 575b6e13a8 [httpd] Hooks for OAuth user interface and callbacks 2016-11-05 13:38:15 +01:00
ejurgensen 807951976c [configure/mdns] Register CNAME forked-daapd.local + generalize CURL detection in configure.ac 2016-11-05 13:33:30 +01:00
ejurgensen 90ecc61ed7 [mdns] CNAME record so we have fixed uri for OAuth redirects
- also refactor mdns_avahi
2016-11-05 13:31:13 +01:00
ejurgensen 33c22a59b9 Merge pull request #304 from chme/cleanup
Minor cleanup of mdns and dacp
2016-11-04 19:17:17 +01:00
ejurgensen f0e2218a8c Merge pull request #303 from chme/dbinit
Move db init into its own source file
2016-11-04 19:16:36 +01:00
chme eddab1f1c0 [dacp] Use correct log domain 2016-11-04 19:10:07 +01:00
chme b75c07625c [mdns] Use %zu for size_t in printf (removes warning about wrong
argument type)
2016-11-04 19:09:59 +01:00
chme f326cae142 [db] Remove duplication of db schema version 2016-11-04 14:31:15 +01:00
chme f7aa3c225b [db] Move initialization of new db into its own file (db_init.c) 2016-11-04 14:31:15 +01:00
ejurgensen 91c3eb622c [mdns] Put the record browser back
We need to browse through all records so that we can filter out link-local that Avahi sometimes gives us
2016-10-31 22:04:27 +01:00
ejurgensen 087bc942ec Merge pull request #299 from chme/pipeoutput
Fifo output
2016-10-31 19:07:37 +01:00
chme 4f2d994151 [outputs] Remove unused old alsa output 2016-10-31 18:47:45 +01:00
chme 65732ccaf6 [outputs] New output type 'fifo' 2016-10-31 18:47:45 +01:00
ejurgensen be6580d23e [mdns] Also ignore ipv4 link-local announcements 2016-10-30 20:04:08 +01:00
ejurgensen 79d21a5370 Merge pull request #300 from chme/mpdoutputsvolume
[mpd] outputsvolume command
2016-10-30 16:48:37 +01:00
chme 60f9c779b6 [mpd] Add new command 'outputvolume' to set volume for a specific output 2016-10-25 22:40:48 +02:00
chme bdb2c74934 [player/dacp/mpd] Pass absolute volume to speaker enumerate callback and
add absolute volume to mpd 'outputs' command
2016-10-25 22:40:48 +02:00
ejurgensen a549f81861 [filescanner] Make for filetypes_ignore work for known file types as well 2016-10-25 09:08:56 +02:00
ejurgensen bc1fb4b385 [mdns] Ignore ipv6 link-local mdns announcements 2016-10-23 23:27:34 +02:00
ejurgensen ef4be65551 Merge pull request #296 from chme/segfaultaddingitems
Fix adding items while playing through dacp clients
2016-10-23 09:26:28 +02:00
chme 39314c1560 [mpd] Do not treat playback_start return value > 0 as an error 2016-10-23 08:25:19 +02:00
chme 3981c67e3a [player] Do not execute the bottom half if playback_start is called
while player is already playing (results in s segfault after adding new
items through dacp clients)
2016-10-23 08:25:19 +02:00
chme 16149d5c61 [command] Only execute "bottom half" function if main command function
returns 0
2016-10-23 08:25:19 +02:00
ejurgensen 2f8c061c11 Merge branch 'cors' (includes modified gzip and daap cache) 2016-10-21 23:06:45 +02:00
ejurgensen c0d07ae93b [httpd] Allow HEAD for evhttp requests just to be safe 2016-10-21 23:06:00 +02:00
ejurgensen 2ce1c8d28f [httpd] Enable OPTIONS for evhttp (if CORS headers are enabled) 2016-10-19 21:22:14 +02:00
ejurgensen 54a09fce63 [httpd] Add requirement for Access-Control-Request-Method for preflight CORS 2016-10-19 17:29:22 +02:00
ejurgensen 57945a592c [httpd] Reply to CORS preflight requests 2016-10-18 23:04:51 +02:00
ejurgensen c44f4310b7 [httpd] Replace evhttp_send_error with the httpd_send_error wrapper 2016-10-18 22:45:22 +02:00
ejurgensen fe7373e442 [httpd] Implement httpd_send_error, a modified evhttp_send_error, which
can include CORS headers (credit @bjoernricks and libevent)
2016-10-17 23:08:02 +02:00