owntone-server/src
ejurgensen 65c72c484b [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al)
The change removes all direct calls to mxml from the modules that need an XML
parser (lastfm.c, pipe.c, rssscanner.c and httpd_rsp.c).

Even with the help of mxml, reading XML is hard, so a layer is added which
helps deal with stuff like whitespace and CDATA. This should make OwnTone more
resilient to any XML variations it might receive.

The changes fixes issue #1677.
2023-11-12 23:43:38 +01:00
..
evrtsp [evrtsp] Proper enum return type for evrtsp_parse_headers + evrtsp_parse_firstline 2023-04-25 23:09:25 +02:00
inputs [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
library [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
outputs [raop] Make compressed ALAC default, but with a config option 2023-10-06 21:39:26 +02:00
pair_ap [airplay] Add support for password based authentication 2022-08-15 20:09:54 +02:00
parsers [smartpl] Support larger smart playlists (fixes #1521) 2022-08-08 17:42:54 +02:00
.gitignore [-] Update gitignore with removed rsp hash file 2022-01-31 00:42:46 +01:00
artwork.c [artwork] Change search order for pipe artwork ("own" as fallback) 2023-04-03 22:33:21 +02:00
artwork.h [artwork] Remove old artwork_get_xxx in favor of new which has a format arg 2020-11-18 23:23:05 +01:00
cache.c [misc] Centralize thread naming plus name websocket thread 2021-07-05 21:40:31 +02:00
cache.h [cache] Minor changes so "const char *" path arguments are accepted 2020-02-23 20:30:35 +01:00
commands.c [httpd] Multithread solution using worker threads instead of httpd threads 2023-03-07 21:01:45 +01:00
commands.h [command] Only execute "bottom half" function if main command function 2016-10-23 08:25:19 +02:00
conffile.c [raop] Make compressed ALAC default, but with a config option 2023-10-06 21:39:26 +02:00
conffile.h [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
daap_query.gperf [daap/smartpl] Add new bison/flex parsers 2022-01-29 17:46:40 +01:00
dacp_prop.gperf [dacp/player] Change support for prevent-playback and busy (ref issue #934) 2020-04-10 21:01:41 +02:00
db_init.c [db,library] Add support for parsing lyrics and storing them in DB 2023-10-19 23:49:53 +02:00
db_init.h [db,library] Add support for parsing lyrics and storing them in DB 2023-10-19 23:49:53 +02:00
db_upgrade.c [db,library] Add support for parsing lyrics and storing them in DB 2023-10-19 23:49:53 +02:00
db_upgrade.h [db] Move database upgrade logic to separate file 2016-01-24 18:51:22 +01:00
db.c [httpd] Add fetching lyrics in the JSON api 2023-10-19 23:49:53 +02:00
db.h [httpd] Add fetching lyrics in the JSON api 2023-10-19 23:49:53 +02:00
dmap_common.c [dmap] Move dmap_send_error() to dacp_send_error() 2023-03-07 21:01:10 +01:00
dmap_common.h [dmap] Move dmap_send_error() to dacp_send_error() 2023-03-07 21:01:10 +01:00
dmap_fields.gperf Support for skip_count and time_skipped file metadata 2018-08-18 22:56:27 +02:00
evthr.c [evhtr] Consolidate pool threading in evthr.c 2023-03-07 21:01:10 +01:00
evthr.h [evhtr] Consolidate pool threading in evthr.c 2023-03-07 21:01:10 +01:00
http.c [http] Use curl for URL parsing instead of depending on httpd 2023-03-07 21:01:10 +01:00
http.h [http/spotify] Add support for http sessions across multiple requests 2022-05-01 09:01:23 +02:00
httpd_artworkapi.c [httpd] Multithread solution using worker threads instead of httpd threads 2023-03-07 21:01:45 +01:00
httpd_daap.c [daap] Fix for use-after-free 2023-09-30 23:06:09 +02:00
httpd_daap.h [httpd] Refactor to use modules for daap, dacp, json api etc. 2023-03-07 21:01:10 +01:00
httpd_dacp.c [httpd] Change prototype for the close connection callback 2023-03-07 21:01:45 +01:00
httpd_internal.h [daap] Fix for use-after-free 2023-09-30 23:06:09 +02:00
httpd_jsonapi.c [httpd] Add fetching lyrics in the JSON api 2023-10-19 23:49:53 +02:00
httpd_libevhttp.c [misc] Use fcntl+O_NONBLOCK when binding instead of socket+SOCK_NONBLOCK 2023-09-01 17:13:33 +02:00
httpd_oauth.c [httpd] Make http modules agnostic to evhttp 2023-03-07 21:01:10 +01:00
httpd_rsp.c [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
httpd_streaming.c [streaming] Change how metadata is delivered to http streaming 2023-05-12 22:35:10 +02:00
httpd.c [httpd] Fix building on FreeBSD which doesn't have SYS_gettid 2023-08-29 23:50:19 +02:00
httpd.h [httpd] Move internal declarations to httpd_internal.h 2023-03-07 21:01:10 +01:00
input.c [player] Coverity fixups 2022-01-20 20:17:38 +01:00
input.h [spotify] Reintroduce libspotify support, change spotifyc to librespot-c 2021-05-31 23:24:58 +02:00
lastfm.c [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
lastfm.h [lastfm/jsonapi/ws/main] New JSON-API-endpoints for Last.fm integration 2017-10-28 12:22:45 +02:00
library.c [library] Move clear_queue_on_stop_disable cfg option to library section 2022-03-17 22:44:06 +01:00
library.h [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
listener.c [listener] Update so that comments etc match actual use 2020-05-25 22:42:22 +02:00
listener.h [listener] Update so that comments etc match actual use 2020-05-25 22:42:22 +02:00
logger.c [outputs] new output: RCP/Roku/SoundBridge devices 2022-02-05 21:59:00 +00:00
logger.h [outputs] new output: RCP/Roku/SoundBridge devices 2022-02-05 21:59:00 +00:00
main.c [main] Add a 'testrun' command line option for Github actions 2023-09-03 21:01:11 +02:00
Makefile.am [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
mdns_avahi.c [mdns] Fix select issue on FreeBSD. 2023-10-02 09:53:06 +02:00
mdns_dnssd.c [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
mdns.h [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
misc_json.c [misc] Change json_drilldown to _select and fix error case 2020-02-23 20:30:35 +01:00
misc_json.h [misc] Correct comment 2021-03-27 22:44:16 +01:00
misc_xml.c [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
misc_xml.h [misc] Add misc_xml.c to wrap mxml, fixes XML reading of CDATA (et al) 2023-11-12 23:43:38 +01:00
misc.c [misc] Use fcntl+O_NONBLOCK when binding instead of socket+SOCK_NONBLOCK 2023-09-01 17:13:33 +02:00
misc.h [misc] Use fcntl+O_NONBLOCK when binding instead of socket+SOCK_NONBLOCK 2023-09-01 17:13:33 +02:00
mpd.c [misc] Use fcntl+O_NONBLOCK when binding instead of socket+SOCK_NONBLOCK 2023-09-01 17:13:33 +02:00
mpd.h [mpd] move include of libevent from mpd.h to mpd.c 2015-05-09 07:46:33 +02:00
outputs.c [streaming] Fix mp3 streaming not working with ffmpeg 6 2023-05-11 22:30:36 +02:00
outputs.h [streaming] Change how metadata is delivered to http streaming 2023-05-12 22:35:10 +02:00
player.c [streaming] Change how metadata is delivered to http streaming 2023-05-12 22:35:10 +02:00
player.h [streaming] Change how metadata is delivered to http streaming 2023-05-12 22:35:10 +02:00
remote_pairing.c [remote] Coverity fixups 2022-01-20 21:42:05 +01:00
remote_pairing.h [pairing] Refactor remote_pairing to use cmdbase 2020-03-18 14:56:05 +01:00
rng.c [db] Coverity fixups 2022-01-20 20:17:38 +01:00
rng.h [db] Coverity fixups 2022-01-20 20:17:38 +01:00
settings.c [web] Optionally Show FilePath on Now playing-Page 2023-03-15 22:32:16 +01:00
settings.h [settings] Add support for (optional) default values and remove default 2020-09-27 19:13:07 +02:00
smartpl_query.c [db] Fix incorrect sorting of album/artist searches via web api (#1421) 2022-02-20 10:18:13 +01:00
smartpl_query.h Unify naming of "order by" clause in structs/table 2018-04-15 22:11:40 +02:00
transcode.c [xcode] Circumvent ffmpeg 6 ALAC encoding problem 2023-08-17 23:12:26 +02:00
transcode.h [xcode] Add support for seekable custom I/O (evbuffer input to transcode) 2021-05-31 11:55:32 +02:00
websocket.c [web] typo prevent handling of LISTENER_SPEAKER events 2022-05-07 11:12:22 +01:00
websocket.h [httpd/websocket/conf] Initial websocket implementation 2017-09-15 07:14:08 +02:00
worker.c [httpd] Multithread solution using worker threads instead of httpd threads 2023-03-07 21:01:45 +01:00
worker.h [httpd] Multithread solution using worker threads instead of httpd threads 2023-03-07 21:01:45 +01:00