Commit Graph

4159 Commits

Author SHA1 Message Date
ejurgensen 0b11ae175d [docs] Add README for Pulseaudio 2016-09-28 22:30:25 +02:00
ejurgensen 07efdfe24e [pulseaudio] Drop autostarting again, won't work when running as non-root 2016-09-28 21:17:34 +02:00
ejurgensen 44ad4a8848 Merge branch 'autopulse' 2016-09-26 21:32:27 +02:00
ejurgensen ac9900ff1a [pulseaudio] Modification of f202b5d: Now always try to start Pulseaudio 2016-09-26 20:48:00 +02:00
ejurgensen 89e3f05585 Merge pull request #288 from pcoultha/mixer_device
[ALSA] Add mixer_device configuration file option for ALSA
2016-09-26 00:11:28 +02:00
Pat Coulthard ae79800493 Add mixer_device configuration file option for ALSA
Support a separate mixer_device configuration file option for
advanced ALSA configurations. Previously, ALSA local output
happened to work becasue "default" is valid as both a PCM and a
mixer. Now you can separately specify the device name for PCM
output and mixer operations.

In my setup, I am using the following setup:
card = "default:CARD=NVidia"
mixer = "Front"
mixer_device = "hw:CARD=NVidia"
2016-09-25 15:52:15 -05:00
ejurgensen b3a1e744d6 [player] Fix possible segfault on http timeouts
Cause: 1) av_read_frame blocks and times out, 2) cur_streaming gets set to NULL, 3) playback timer callback where cur_streaming gets deref
2016-09-25 22:19:59 +02:00
ejurgensen e5d328061b [logger] Be better at logging ffmpeg/libav error messages 2016-09-25 22:01:07 +02:00
ejurgensen 1af24044de [docs] Update README with simplified Pulseaudio instructions 2016-09-20 22:23:36 +02:00
ejurgensen f202b5d2e9 [pulseaudio] Try to spawn Pulseaudio if it doesn't by itself
Requiring the user to set up Pulseaudio in system mode is not optimal. This
would, however, be required especially on headless systems. This is the
sledgehammer alternative to starting Pulseaudio.
2016-09-20 22:17:29 +02:00
ejurgensen 9355015b3c [main] Use waitpid instead of obsolete wait3 2016-09-20 22:17:04 +02:00
ejurgensen ac290b8b65 [player] Config option to disable speaker autoselection (closes #282) 2016-09-10 23:26:06 +02:00
ejurgensen 3d6d4e8521 [config] Print build info in the log 2016-09-07 22:18:29 +02:00
ejurgensen 53e3a6a7b2 [config] Use defines in config.h instead of -D flags for the optional modules 2016-09-07 20:53:53 +02:00
ejurgensen 2fae9f04f9 [docs] Add info about logging out from Spotify 2016-09-07 19:19:28 +02:00
ejurgensen 3df0b61292 [docs] More Pulseaudio instructions in the README 2016-09-02 22:41:52 +02:00
ejurgensen 9b985ab622 [systemd] Update service file, don't start before sound.target, since Pulseaudio probably won't be ready 2016-09-02 22:12:55 +02:00
ejurgensen d66a130064 [lastfm] Also scrobble after regular daap streaming
Ref https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813940
2016-09-02 21:52:45 +02:00
ejurgensen 7f0d34d4e1 [pulseaudio] Remove temp log messages 2016-08-29 21:56:05 +02:00
ejurgensen 13b7bbb480 [pulseaudio] Add install instructions 2016-08-28 22:53:40 +02:00
ejurgensen 7af9c25964 Merge branch 'pulseaudio1' 2016-08-28 22:37:41 +02:00
ejurgensen 5722772817 [pulseaudio] Don't try to build by default - yet 2016-08-28 22:36:06 +02:00
ejurgensen 1d862dd701 [pulseaudio] Extra state check when changing volume 2016-08-28 22:33:58 +02:00
ejurgensen 4318aa19b5 [commands] Update comment 2016-08-25 23:07:43 +02:00
ejurgensen 42d4e150d8 [pulseaudio] Make both ALSA and Pulseaudio default in configure.ac 2016-08-25 23:06:51 +02:00
ejurgensen 9de783f2bc [pulseaudio] Update README and conf with Pulseaudio 2016-08-25 22:44:28 +02:00
ejurgensen f8d3ccddb2 [pulseaudio] Let configure check if Pulseaudio supports setting its thread name 2016-08-25 22:32:07 +02:00
ejurgensen fa6c6a1832 [pulseaudio] Kill sessions if context becomes invalid 2016-08-25 22:31:25 +02:00
ejurgensen 12580866cc [scripts] Add alsa-lib to freebsd install script 2016-08-25 21:27:17 +02:00
ejurgensen 84a5772439 [Pulseaudio] Implement flush, avoid adding known sinks and misc fixing up 2016-08-24 23:06:25 +02:00
ejurgensen 9b243f855a [pulseaudio] Support for setting volume 2016-08-24 21:23:33 +02:00
ejurgensen 998ae31a56 [cast] Fixup switched format strings 2016-08-22 21:22:47 +02:00
ejurgensen 1cd983b485 [docs] Update INSTALL with precise names for the optional Debian packages 2016-08-22 21:19:33 +02:00
ejurgensen 202d9b951e [cast] Use proper print formats for size_t 2016-08-22 21:18:24 +02:00
ejurgensen da8fa6a686 [cast] Just run empty callback on last request to time out. Running more is unsafe since the first is likely to free the session. 2016-08-13 23:33:06 +02:00
ejurgensen 61457f2a09 [cast] Change how we read from TLS and fix bug due to masking of negative enum, ref issue #270 and #275
(should have been two commits...)
2016-08-13 23:31:41 +02:00
ejurgensen 8a9d8c31da [alsa] Remove risky negative enum (risky when AND'ing with ALSA_F_STARTED) 2016-08-13 17:08:14 +02:00
ejurgensen d3db30e46d [smartpl] Add smart playlist support for file modification time 2016-08-13 16:53:09 +02:00
ejurgensen 58f0451625 Merge pull request #281 from chme/fixretrun
Fix return values in command functions
2016-08-06 12:40:18 +03:00
chme 1238fe124a [commands] Stop command execution, if command function returns an unkown
command state
2016-08-06 06:50:27 +02:00
chme da83af04e2 [player] Fix return value in repeat_set if repeat mode did not change 2016-08-06 06:36:42 +02:00
chme 30d43bef4f [player] Fix return value in volume_setrel_speaker if device is not
selected
2016-08-06 06:34:34 +02:00
chme 2ae94e8f82 [player] Fix return value in playback_prev_bh if source_open failed 2016-08-06 06:31:09 +02:00
chme cd9a3bae07 [player] Fix return value in playback_start_item if source_open failed 2016-08-06 06:29:55 +02:00
chme 21d2c95eeb [spotify] Fix return of playback_eot if spotify returns an error 2016-08-06 06:26:38 +02:00
ejurgensen 09e35abb83 Merge pull request #280 from chme/scandirectories2
[filescanner] Fix building directory structure with trailing '/'
2016-08-01 21:54:59 +02:00
chme 388c5f4311 [filescanner] Fix building directory structure with trailing '/' (second
attempt)
2016-08-01 21:27:05 +02:00
ejurgensen cbc3323111 [cast] Try to fix issue #270 by making a GET_STATUS if the normal reply to a LAUNCH does not arrive 2016-08-01 09:05:09 +02:00
ejurgensen 306dd47f1e [cast] Fix for issue #275 where gnutls returns the 4 byte prefix of
a Chromecast response together with the response message itself
2016-08-01 00:12:08 +02:00
ejurgensen 187ed6c1f7 [cast] Log raw replies when in DEBUG_CONNECTION mode 2016-07-31 23:36:27 +02:00