whatdoineed2do
670ac7745d
[rcp] bug fix - speaker unselection upon restart / obey volume ( #1459 )
2022-05-08 14:09:59 +02:00
ejurgensen
c90a1c17e3
[-] Fix deprecated GCRY_THREAD_OPTION_PTHREAD_IMPL and GCRYCTL_SET_THREAD_CBS
...
Looks like libgcrypt uses platform standard threading instead of asking caller
for a threading package/callbacks.
2022-05-08 10:04:58 +02:00
whatdoineed2do/Ray
b54a963f3a
[web] typo prevent handling of LISTENER_SPEAKER events
2022-05-07 11:12:22 +01:00
Christian Meffert
6dbd90ad7f
Merge pull request #1461 from whatdoineed2do/player-missing-listener-event-on-device-fail
...
[player] send volume event when a device fails
2022-05-07 08:24:45 +02:00
chme
d277f7c7b3
[http/spotify] Add support for http sessions across multiple requests
...
This change allows to reuse curl handles for multiple requests.
Reusing a curl handle improves performance if more than one request is
made against a service (connection, session cache, dns cache are kept
between requests).
2022-05-01 09:01:23 +02:00
whatdoineed2do/Ray
b5bb0bd7f2
[player] send volume event when a device fails - without this the webui does not know that an output device failing, volume/selected status remains
2022-04-29 22:00:03 +01:00
whatdoineed2do/Ray
7d525e4dec
[rcp] bug fix on deinit() - the rcp_session_cleanup() adv the head of list so no need to do again in deinit loop
2022-04-24 15:04:23 +01:00
Christian Meffert
7598a71aea
Merge pull request #1444 from chme/feat/jsonapi-pl-item-count
...
[jsonapi] Add item and stream count to playlists, expose config option "radio_playlists"
2022-04-08 17:44:02 +02:00
Christian Meffert
176142f311
Merge pull request #1445 from whatdoineed2do/websocket-slow-shutdown
...
[web] slow 4.1.6 shutdown; request to cancel ws loop
2022-04-06 17:27:38 +02:00
whatdoineed2do/Ray
f33ccb9238
[web] slow 4.1.6 shutdown; request to cancel ws loop
2022-04-06 11:18:48 +01:00
chme
32c1516e60
[jsonapi] Add item and stream count to playlists, expose config option
...
"radio_playlists" in config endpoint
2022-04-05 21:48:24 +02:00
chme
e5d3c148ea
[db/scan] Force compilation artist if track belongs to a compilation
2022-04-04 20:55:19 +02:00
chme
ecc139641a
[spotify] Respect album_override
setting when parsing Spotify tracks
2022-04-04 20:51:14 +02:00
chme
9564240613
[jsonapi] New endpoint to fetch single composer/genre
...
Refactor "browse" endpoints (genre and composer) by defining a common
endpoint with the browse type as path parameter.
2022-03-31 20:51:00 +02:00
chme
b18b76413d
[httpd] Fix parsing of uri into path parts with encoded '/' (%2F)
...
In path with an encoded '/' character, the parsing of the path into
parts was wrong.
E. g. an uri like
'/api/library/composers/Adam%20Gardner%2FDavid%20Schneider' would result
in the following parts:
- path_part[0] = "/api"
- path_part[1] = "library"
- path_part[2] = "composer"
- path_part[3] = "Adam Gardner"
- path_part[4] = "David Schneider"
Doing the decode after splitting the uri into parts fixes this and
results in:
- path_part[0] = "api"
- path_part[1] = "library"
- path_part[2] = "composer"
- path_part[3] = "Adam Gardner/David Schneider"
2022-03-31 20:51:00 +02:00
ejurgensen
a932cc532d
[smartpl] Increase size of parse output buffer
...
To accommodate for larger smart playlists
2022-03-24 22:58:54 +01:00
ejurgensen
03d05ea828
[spotify] Make sure failed AP's are avoided on next connection attempt
2022-03-22 20:58:43 +01:00
ejurgensen
f27eac8341
[artwork] Also use queue_item->artwork_url for pipe sources
2022-03-22 20:57:43 +01:00
ejurgensen
54aa9c32cc
[dacp] Listen for queue events to support json api metadata updates
...
Will only work for http and pipe sources
Fixes #1433
2022-03-22 20:57:43 +01:00
ejurgensen
5b23da9196
[player] 'clear_queue_on_stop_disable' in mpd section should keep working
...
Ref commit bfbd634
2022-03-20 20:30:25 +01:00
whatdoineed2do/Ray
f6ce4c0df2
[player] missing update from 92279ef
2022-03-20 12:52:36 +00:00
ejurgensen
92279ef33d
[library] Move clear_queue_on_stop_disable cfg option to library section
...
Resolves #1430
2022-03-17 22:44:06 +01:00
ejurgensen
48051f6364
[spotify] Handle channel error (so that new AP connection is triggered)
2022-03-15 21:14:28 +01:00
ejurgensen
75f6f75da3
[smartpl] Fix bison parser regression, missing "starts with" syntax
...
Also adds "ends with" syntax just for good measure.
Closes #1432
2022-03-07 23:31:52 +01:00
whatdoineed2do/Ray
ac9772eecf
[streaming] memleak introduced via e1375f6ad
2022-03-05 21:02:18 +00:00
ejurgensen
e6823199d6
[db] Fix incorrect sorting of album/artist searches via web api ( #1421 )
...
Fix incorrect sorting of album/artist searches via web api. Also works with composers etc.
Fixes issue #1418
2022-02-20 10:18:13 +01:00
ejurgensen
616be4d8cb
[db] Use custom LIKE operator adapted from sqlite's icu.c ( closes #1390 )
...
Improves the search, e.g.:
- 'é' LIKE 'e'
- 'æ' LIKE 'Æ'
- 'Ö' LIKE 'o'
2022-02-13 20:52:40 +01:00
ejurgensen
edd22b6874
[scan] Remove unused libunistring includes
2022-02-12 20:58:16 +01:00
ejurgensen
6a5a27d3db
[rcp] Fixup print masks, disable some logging
2022-02-11 22:09:14 +01:00
whatdoineed2do
a0ea8416f6
[db] fix 'add next' when in queue shuffle mode ( #1414 )
...
* [db] fix 'add next' when in queue shuffle mode
* [db] review on 'add next' fix
Co-authored-by: whatdoineed2do/Ray <whatdoineed2do@nospam.gmail.com>
2022-02-06 20:23:06 +01:00
ejurgensen
26d7cf453c
Merge pull request #1397 from whatdoineed2do/outputs-soundbridge
...
[outputs] new output: Roku/Soundbridge RCP
2022-02-06 17:17:05 +01:00
whatdoineed2do/Ray
8f722faaf2
[outputs] new output: RCP/Roku/SoundBridge devices
...
Roku SoundBridge devices can be treated as dumb speakers; they offer a
texted based protocol, RCP, that allows the server to request the Roku
device to connect to the server's stream.mp3 and provides ability to
control volume
Roku devices appear as speakers automatically via mDNS announcements on
the server _roku-rcp._tcp
2022-02-05 21:59:00 +00:00
ejurgensen
a19f5e3915
[db] Use static_assert() for map size consistency checking
2022-02-05 22:20:57 +01:00
ejurgensen
dd5ab6eb1d
[cast] Remove djb_hash() error check
2022-02-05 22:06:25 +01:00
whatdoineed2do/Ray
c66df6864c
[smartpl] add 'THIS WEEK'
2022-01-31 17:23:48 +01:00
ejurgensen
d6a9ef4081
[smartpl] Minor lexer simplification
2022-01-31 17:21:53 +01:00
ejurgensen
4fee544a5d
[misc] Fix possible read of uninitialized memory in safe_snreplace()
2022-01-31 17:20:37 +01:00
ejurgensen
75c3590741
[parsers] Use YYABORT instead of negative return
...
Seems return could lead to a memleak of yymsg
2022-01-31 00:44:29 +01:00
ejurgensen
410fa4b80e
[smartpl] calloc error check to avoid Coverity warning
2022-01-31 00:43:41 +01:00
ejurgensen
4d8eed49a3
[-] Update gitignore with removed rsp hash file
2022-01-31 00:42:46 +01:00
ejurgensen
17b9ce0969
[smartpl/daap] Fix some error checks after PR #1386
2022-01-30 15:34:54 +01:00
ejurgensen
75c6733832
[smartpl] Add "scan_kind" field to smart query language (bison/flex version)
...
bison/flex version of commit #1694e6e
2022-01-30 09:58:48 +01:00
ejurgensen
d0bfe193ee
[rsp] Add more keywords to RSP lexer
...
Just in case they might be needed by some client
2022-01-29 17:46:40 +01:00
ejurgensen
228c8e7920
[daap] Move daap_query_parse_sql() into dmap_common.c/h, drop daap_query.c/h
2022-01-29 17:46:40 +01:00
ejurgensen
71b4444118
[rsp] Add basic bison/flex RSP parser
2022-01-29 17:46:40 +01:00
ejurgensen
9c1f7dd380
[smartpl] Add ESCAPE to LIKE queries where the value contains % and _
...
Plus various minor improvements
2022-01-29 17:46:40 +01:00
ejurgensen
9233c03ca8
[daap] Unescaping of \' in the value part of a daap clause
2022-01-29 17:46:40 +01:00
ejurgensen
6238647202
[smartpl] Minor improvements to parser
2022-01-29 17:46:40 +01:00
ejurgensen
3898a4b588
[smartpl] Make parser return actual datakind/mediakind values from db.h
2022-01-29 17:46:40 +01:00
ejurgensen
db6f300071
[daap/smartpl] Fix print masks in parsers
2022-01-29 17:46:40 +01:00