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
ejurgensen
1e02dc51fd
[mpd] Modify output enum logging to show shortid as well
2016-07-31 23:28:03 +02:00
ejurgensen
561228d9f7
[misc] Add missing const qualifier
2016-07-31 23:27:57 +02:00
ejurgensen
2e4b5a70a5
Merge pull request #277 from chme/scandirectories
...
[filescanner] Fix building directory structure with trailing '/'
2016-07-31 07:56:15 +02:00
chme
cebf07b2f8
[filescanner] Fix building directory structure with trailing '/'
...
Library directories with a trailing '/' (like '/srv/music/') lead to an
unbrowsable directory structure. The trailing '/' resulted in an update
to the library directory in the directories table with a parent_id
pointing to itself.
2016-07-31 07:41:11 +02:00
ejurgensen
3dbf6d2416
Merge pull request #276 from chme/mpdplay
...
Fix behavior for mpd commands play and playid during playback
2016-07-30 15:57:56 +02:00
chme
595f7c6091
[mpd] Fix copy/paste error in log message
2016-07-30 08:33:23 +02:00
chme
e6b53cb88e
[mpd] Fix mpd command 'playid' if player is already playing
...
While playing issueing command 'playid' starts playback of the song with
the given item-id (if this song is already playing, it starts from the
beginning).
2016-07-30 08:33:22 +02:00
chme
9af09c204d
[mpd] Fix mpd command 'play' if player is already playing
...
While playing issueing command 'play' with a songposition -1 does noting
in mpd, with songposition > 0 it starts playback of the song at this
position (if this song is already playing, it starts from the
beginning).
2016-07-30 08:31:54 +02:00
ejurgensen
db6823d676
[pulseaudio] Support for adding/removing sinks
2016-07-30 00:05:32 +02:00
ejurgensen
ed03c90916
[mpd] Fix typos
2016-07-29 19:26:46 +02:00
ejurgensen
4399466f21
[pulseaudio] Friendly naming of sinks in speaker list
2016-07-21 23:15:06 +02:00
ejurgensen
eb40415348
[pulseaudio] A bit of renaming
2016-07-21 22:31:39 +02:00
ejurgensen
5b67f84855
[pulseaudio] First draft
2016-07-21 22:13:32 +02:00
ejurgensen
6064f14602
Merge pull request #274 from bjoernricks/anon-content-code
...
Allow anonymous access to /content-codes url
2016-07-14 10:02:22 +02:00
Björn Ricks
382459ce9b
Allow anonymous access to /content-codes url
...
The content-codes url provides a mapping of dmap content codes to names, it's
types and sizes. It doesn't contain any private information and therefore should
be available to anonymous users too.
2016-07-13 19:52:58 +02:00
ejurgensen
d3078c6534
[remote] Increase pairing success log level
2016-07-10 20:38:03 +02:00
ejurgensen
a99d1b2038
[db] Add song_length to group info ( fixes #265 )
2016-06-11 23:10:13 +02:00
ejurgensen
547783d008
Merge pull request #268 from chme/threadexit
...
Refactor thread exit handling
2016-06-11 22:57:09 +02:00
chme
c0c6cca79f
[commands] Add some code comments
2016-06-11 10:56:27 +02:00
chme
32ac6c2ea9
[commands] Rename commands_cmdloop_break to commands_base_destroy and
...
free commands_base after breaking the libevent loop
2016-06-11 10:56:27 +02:00
ejurgensen
349c1f7fe6
Merge pull request #267 from chme/removesyncsource
...
[player] Cleanup: player clock is the only sync-source available
2016-06-11 10:55:30 +02:00
chme
a9a656042b
[player] Cleanup: player clock is the only sync-source available
2016-06-11 10:37:09 +02:00
chme
5258ee712c
[commands] Added functionality to break the event loop of a command base
2016-06-11 09:52:31 +02:00
ejurgensen
3527113a9b
[filescanner] Option to import iTunes smart playlists
2016-06-04 23:30:01 +02:00
ejurgensen
777c0c8d27
Merge pull request #264 from bjoernricks/allow-origin
...
Allow to add Access-Control-Allow-Origin header to responses
2016-06-04 20:19:25 +02:00
ejurgensen
05572dcac0
Merge pull request #259 from chme/commands2
...
Refactor inter thread communication
2016-06-02 22:26:53 +02:00
Björn Ricks
6b6a1e65e1
Allow to add Access-Control-Allow-Origin header to responses
...
Add a new general config setting allow_origin that is included as
Access-Control-Allow-Origin header in http responses. This allows to make http
request against forked-daapd from browsers with enabled CORS
(https://www.w3.org/TR/cors/ ) via JavaScript XMLHttpRequest.
Per default the setting is not defined and no Access-Control-Allow-Origin header
is included in the response.
2016-06-02 13:32:41 +02:00
chme
610ae6a048
[commands] Move function documentation to their implementation
...
Also adds some aditional code documentation and an attempt at making
command_cb easier to understand
2016-05-21 07:57:44 +02:00
chme
5dc1cba5c8
On deinit free event base before freeing command base and pipes
2016-05-21 06:48:02 +02:00
chme
6112c38220
[commands] do not cast return of calloc and allocate struct command on
...
stack if executed in sync
2016-05-21 05:59:45 +02:00
chme
3c9a7d9119
[player] Use generic commands for inter thread communication
2016-05-15 08:42:15 +02:00
chme
85d57394e5
[cache] Use generic inter thread commands util
2016-05-15 08:42:15 +02:00
chme
dd192bd99c
[spotify] Use generic commands util
2016-05-15 08:42:15 +02:00
chme
32944d7273
[worker] Use generic inter thread commands util
2016-05-15 08:42:15 +02:00
chme
3823900394
[filescanner] Use generic inter thread commands util
2016-05-15 08:42:15 +02:00
chme
4aacf487e8
[mpd] Use generic inter thread commands util
2016-05-15 08:42:15 +02:00