Commit Graph

5204 Commits

Author SHA1 Message Date
ejurgensen
04a43919a9
Merge pull request #876 from whatdoineed2do/multi-alsa-nickname-fix
[alsa] multi alsa cfg section SEGV with no nickname
2020-01-06 17:09:56 +01:00
whatdoineed2do/Ray
609cba5f04 [alsa] multi alsa cfg section SEGV with no nickname - use 'card' when not specified 2020-01-06 15:38:32 +00:00
ejurgensen
cc78926721 [dacp] Support for volumeup, volumedown and mutetoggle (issue #873)
Mute toggle only supported via enable/disable
2020-01-03 23:40:16 +01:00
ejurgensen
501adee650
Merge pull request #874 from whatdoineed2do/alsa-section-cfg-mixer-devname
[alsa] cfg section typo using 'mixer_device_name'
2020-01-03 21:01:12 +01:00
whatdoineed2do/Ray
7ea8eeae05 [alsa] cfg section typo using 'mixer_device_name' 2020-01-03 19:37:07 +00:00
ejurgensen
e61e98bcbb [player] Reverse args to player_speaker_get_byid() for consistency 2020-01-03 19:38:52 +01:00
ejurgensen
af1bc27dd5 [dacp] Support for dmcp.device-prevent-playback (issue #855) 2020-01-03 19:36:35 +01:00
ejurgensen
80b183c7ff [dacp] Fix for genres that have single quotes in their name (fixes #869) 2020-01-03 19:05:48 +01:00
ejurgensen
4e1e5efedc [alsa] Changes to commit 0cb4e0b: multiple devices 2020-01-03 19:02:39 +01:00
whatdoineed2do/Ray
0cb4e0b862 [outputs/conf] New multiple 'alsa' sections split from 'audio' 2020-01-02 23:51:59 +01:00
ejurgensen
8248d2fe9f [scan] Fix access violation if pls line has no '=' 2019-12-27 23:58:57 +01:00
ejurgensen
251080344e [alsa] Fix missing unsubscription when closing session (ref. #866) 2019-12-27 11:29:36 +01:00
ejurgensen
0c08e83811 [outputs] Fix segv due to incorrect array size (fix for issue #866)
If the number of quality subscriptions reaches max then this bug will be
triggered, because we will incorrectly use the last element of the
output_buffer for a subscription, thus losing the zero terminator.
2019-12-27 00:10:32 +01:00
ejurgensen
33f97f55f3 [player] Fix for #860, going to next track when consume is enabled 2019-12-17 20:58:47 +01:00
ejurgensen
60920343ff
[docs] Remove dead link to jblache sources at debian 2019-12-12 09:27:42 +01:00
ejurgensen
b83023356b [db] Fix for time_added incorrectly updated (issue #852) 2019-12-04 20:57:21 +01:00
Christian Meffert
db060074a1
Merge pull request #850 from chme/admin_back_link
Add link to player web interface to admin page
2019-12-03 20:55:41 +01:00
chme
c8f9864036 [htdocs] Turn "forked-daapd" title in navbar into a link to the player
web interface
2019-11-28 22:49:43 +01:00
ejurgensen
9b1bf5d3d9
[config] Don't promote %v as part of library name (ref issue #847) 2019-11-26 19:52:33 +01:00
ejurgensen
5ac3a27276 Bump to version 27.0 2019-11-20 20:32:57 +01:00
ejurgensen
2042b12981 ChangeLog and README for forked-daapd 27.0 2019-11-20 20:32:26 +01:00
ejurgensen
395b33d007 [config] Clean up whitespace in conf file 2019-11-17 20:24:25 +01:00
Will Saxon
f3ebb574ba Recognize '@' as an operator identical to ':' (#841)
* Recognize '@' as an operator identical to ':'

* Add comments

* Add shortened example query
2019-11-16 12:27:43 +01:00
ejurgensen
f5e59c9b26
[pipe] Allow sample rate of 88200
Ref. issue #838
2019-11-05 00:13:33 +01:00
ejurgensen
6f3c315dfc [db] Add missing declarations of media_kind column in commit 40c7522 (fixes issue #836) 2019-11-03 00:16:20 +01:00
ejurgensen
a4f9bb576d [xcode] Increase read timeout 15s -> 30s (ref. issue #728) 2019-11-02 08:56:10 -07:00
ejurgensen
98e779094d Add Visual Studie Code specific files to gitignore 2019-11-02 08:53:29 -07:00
Christian Meffert
1455057170
Merge pull request #835 from chme/gitignore
Add Eclipse CDT specific files to gitignore
2019-11-02 08:01:16 +01:00
chme
3458fb3d42 Add Eclipse CDT specific files to gitignore 2019-11-02 07:59:21 +01:00
Christian Meffert
cafdb96329
Merge pull request #833 from chme/cache_control
[httpd] Force browsers to always revalidate their cache
2019-11-02 07:57:55 +01:00
ejurgensen
00b6770658 [docs] README update, Apple Music should work now 2019-11-01 15:51:05 -07:00
ejurgensen
40c7522baa [db] Make Apple Music on Catalina work - part 2 (fix for issue #834)
Extends the playlist table with media_kind to handle playlist queries like
this from Apple Music:

/databases/71/containers?session-id=12345678&revision-number=4&delta=0&query=('dmap.itemname:Library%20name','com.apple.itunes.extended-media-kind:1','com.apple.itunes.extended-media-kind:32','com.apple.itunes.extended-media-kind:128','com.apple.itunes.extended-media-kind:65537')&meta=dmap.itemid,dmap.itemname,dmap.persistentid,dmap.parentcontainerid,com.apple.itunes.is-podcast-playlist,com.apple.itunes.special-playlist,com.apple.itunes.smart-playlist,dmap.haschildcontainers,com.apple.itunes.saved-genius,dmap.objectextradata
2019-11-01 15:44:53 -07:00
ejurgensen
a69e79e5ec [daap] Make Apple Music on Catalina work - part 1 (fix for issue #834)
Like with iTunes, it has adverse effects to announce support for DAAP groups,
so with this change we also check if user-agent is "Music" before deciding what
to announce.
2019-11-01 15:43:56 -07:00
Christian Meffert
846aa98df2
Merge pull request #832 from chme/webupdate
Update player web interface to v0.5.6
2019-10-27 08:59:51 +01:00
chme
49e3647a36 [htdocs] Rebuild player web interface v0.5.6 2019-10-27 07:43:42 +01:00
chme
584456800c [web-src] Add VSCode specific files to gitignore 2019-10-27 07:43:42 +01:00
chme
f1742b18b3 [web-src] Fix multiple triggering of navbar-links routes 2019-10-27 07:43:42 +01:00
ejurgensen
dd24c35b2f [misc] Add missing comparison in quality_is_equal() 2019-10-26 23:30:44 +02:00
ejurgensen
051e526b2c [pipe] Disallow 24 bit input, doesn't work currently
If 24 bit input needs to be transcoded, like it will for AirPlay, it
will fail in transcode.c, because XCODE_PCM24 actually produces 4-byte
samples.
2019-10-26 23:28:05 +02:00
chme
662bfa529b [httpd] Force browsers to always revalidate their cached versions
Setting Cache-Control to "no-cache" tells a client to always make a
request to check if the version in the client cache is still valid
(response code 403 not modified).
2019-10-26 12:01:15 +02:00
chme
f500b21c94 [web-src] Add autocomplete="off" to search field 2019-10-26 11:51:57 +02:00
chme
7a236a21b8 [web-src] Disable play/pause/etc. buttons if queue is empty 2019-10-26 10:08:38 +02:00
chme
e8ead500c5 [web-src] make outputs and settings buttons clickable 2019-10-26 09:23:51 +02:00
chme
1631aa04c6 [web-src] Add vue-click-outside as a dependency 2019-10-26 09:23:45 +02:00
ejurgensen
85ab7c3057 [alsa] Fix playback of 24 bit audio (issue #830)
The player will write 24 bit samples using 3 bytes, not 4, so the appropriate
sample format is SND_PCM_FORMAT_S24_3LE, not SND_PCM_FORMAT_S24_LE.

For extra protection we also use snd_pcm_bytes_to_frames() instead of BTOS(),
because that way we can be more certain that the buffer is not too short for
snd_pcm_writei().
2019-10-22 19:51:51 +02:00
ejurgensen
41f51d43ac [pipe] Allow configuration of 32 bit input format (issue #830)
Should work with e.g. arecord -f S32_LE -r 96000 -c 2 -t wav
2019-10-21 21:54:12 +02:00
ejurgensen
ef1c24f227
[docs] Update README client compability: Apple Music not working
Apple Music on macOS not working, see issue #785
2019-10-20 14:53:22 +02:00
chme
4c835f4435 [player] Remove dead code and rework check if fetching queue item failed 2019-10-20 14:36:21 +02:00
chme
69d3c97b7e [player] Fix freeing of queue item if error happens during seek
Plus fix some code style issues and add more documentation
2019-10-20 14:36:21 +02:00
chme
779e5b8617 [README] Add new seek parameter to JSON API documentation 2019-10-20 14:36:21 +02:00