owntone-server/src
chme 1d2e4dc7a8 [db,library] Add "scan_kind" field to playlists, directories and files
(db upgrade to v22.00)

`scan_kind` identifies the library "scanner" component that created the
item and is responsible to keep it up to date (rescan).

The library update now supports passing a `scan_kind` to update only the
items of one particular "scanner". This allows e. g. to only update the
item from the Spotify library or only update the RSS feeds.

The OwnTone database is upgraded to v22.00 and the `scan_kind` columns
in `files`, `playlists`, `directories` are identified by:

 1. Check if item is part of a RSS playlist (podcast RSS feed), they
belong to the "rssscanner"
 2. Check if item has a Spotify `virtual_path`, they belong to the
"spotifyscanner"
 3. Remaining items belong to the "filescanner"
2022-01-22 10:38:31 +01:00
..
evrtsp [rtsp] Coverity fixups 2022-01-20 20:17:38 +01:00
inputs [spotify] Coverity fixups 2022-01-20 20:17:38 +01:00
library [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
outputs [alsa] Coverity fixups 2022-01-20 20:17:38 +01:00
pair_ap [airplay] Coverity fixups 2022-01-20 20:17:38 +01:00
.gitignore [-] Change forked-daapd -> owntone in src/.gitignore 2021-05-06 20:48:52 +02:00
artwork.c [artwork] Coverity fixups 2022-01-20 20:17:38 +01: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 [commands] Coverity fixups 2022-01-20 20:17:38 +01:00
commands.h [command] Only execute "bottom half" function if main command function 2016-10-23 08:25:19 +02:00
conffile.c [http,conf] allow user to request no ssl peer verification 2021-12-18 17:00:05 +00:00
conffile.h [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
DAAP2SQL.g [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
daap_query.c Adjust log messages 2015-04-22 21:54:31 +02:00
daap_query.gperf Support for skip_count and time_skipped file metadata 2018-08-18 22:56:27 +02:00
daap_query.h Move DAAP query hash table inside DAAP2SQL 2011-04-02 09:52:19 +02:00
DAAP.g Add support for artist group request (experimental) 2013-08-29 22:00:37 +02: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 "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
db_init.h [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
db_upgrade.c [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
db_upgrade.h [db] Move database upgrade logic to separate file 2016-01-24 18:51:22 +01:00
db.c [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
db.h [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
dmap_common.c [dmap] Add a function able to make generate dmap errors without also sending them 2017-11-11 22:20:09 +01:00
dmap_common.h [dmap] Add a function able to make generate dmap errors without also sending them 2017-11-11 22:20:09 +01:00
dmap_fields.gperf Support for skip_count and time_skipped file metadata 2018-08-18 22:56:27 +02:00
http.c [http,conf] allow user to request no ssl peer verification 2021-12-18 17:00:05 +00:00
http.h [http] Change name of struct field for StreamUrl 2020-05-16 00:13:31 +02:00
httpd_artworkapi.c [artwork] Remove old artwork_get_xxx in favor of new which has a format arg 2020-11-18 23:23:05 +01:00
httpd_artworkapi.h [artworkapi/jsonapi] Retrieve artwork for track/album/artist 2018-10-07 21:54:38 +02:00
httpd_daap.c [daap] Coverity fixups 2022-01-20 20:17:38 +01:00
httpd_daap.h [httpd] More refactoring, reduce code duplication in the httpd_xxx modules 2017-11-11 22:20:09 +01:00
httpd_dacp.c [daap] Coverity fixups 2022-01-20 20:17:38 +01:00
httpd_dacp.h [httpd] Major refactor of the httpd request handling 2017-11-11 22:20:09 +01:00
httpd_jsonapi.c [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
httpd_jsonapi.h [httpd] Major refactor of the httpd request handling 2017-11-11 22:20:09 +01:00
httpd_oauth.c [spotify] Reintroduce libspotify support, change spotifyc to librespot-c 2021-05-31 23:24:58 +02:00
httpd_oauth.h [httpd] Refactor httpd.c 2017-11-11 22:20:09 +01:00
httpd_rsp.c [db] Refactor db_query_fetch_* functions to take the output parameter 2021-12-28 07:23:56 +01:00
httpd_rsp.h [httpd] Major refactor of the httpd request handling 2017-11-11 22:20:09 +01:00
httpd_streaming.c [streaming] Coverity fixups 2022-01-20 20:17:38 +01:00
httpd_streaming.h [player/outputs] Implement changed output interfaces in most backends 2019-03-18 23:06:08 +01:00
httpd.c [httpd] Coverity fixups 2022-01-20 20:17:38 +01:00
httpd.h [httpd/spotify] Remove redirect to legacy admin.html page 2020-11-22 10:27: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 [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02: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 [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +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 [airplay] Separate naming of AirPlay 1 and 2, incl log domains 2021-01-10 15:05:21 +01:00
logger.h [airplay] Separate naming of AirPlay 1 and 2, incl log domains 2021-01-10 15:05:21 +01:00
main.c [main] Coverity fixups 2022-01-20 21:42:05 +01:00
Makefile.am [airplay] Support for airplay events (eg Homepod controls) 2021-07-31 01:16:23 +02:00
mdns_avahi.c [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +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.c [misc] Coverity fixups 2022-01-20 21:42:05 +01:00
misc.h [misc] Centralize thread naming plus name websocket thread 2021-07-05 21:40:31 +02:00
mpd.c [db,library] Add "scan_kind" field to playlists, directories and files 2022-01-22 10:38:31 +01:00
mpd.h [mpd] move include of libevent from mpd.h to mpd.c 2015-05-09 07:46:33 +02:00
mxml-compat.h [docs] Change git links: owntone/forked-daapd -> owntone/owntone-server 2021-04-01 22:09:26 +02:00
outputs.c [player] Logging fixup 2021-01-10 15:05:21 +01:00
outputs.h [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
player.c [misc] Centralize thread naming plus name websocket thread 2021-07-05 21:40:31 +02:00
player.h [dacp] Fix support for device-volume (speaker volume buttons) 2021-05-26 23:20:40 +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
RSP2SQL.g [gperf] Renamed products to .h so they aren't built if listed in SOURCES 2016-12-27 15:08:08 -08:00
rsp_query.c [rsp] Interpret artist in queries as album_artist (fixes #1263) 2021-06-07 20:22:36 +02:00
rsp_query.gperf Support for skip_count and time_skipped file metadata 2018-08-18 22:56:27 +02:00
rsp_query.h Move RSP query hash table inside RSP2SQL 2011-04-02 09:52:19 +02:00
RSP.g Allow ANTLR 3.5 to work 2015-10-05 23:10:45 +01:00
settings.c [settings] add webinterface.recently_added_limit 2021-01-11 19:40:04 +01:00
settings.h [settings] Add support for (optional) default values and remove default 2020-09-27 19:13:07 +02:00
SMARTPL2SQL.g [SMARTPL] add 'random' in 'order by' clause 2020-05-09 15:47:30 +01:00
smartpl_query.c Fix wrong check for NULL after creating smartpl parser 2021-09-04 09:55:11 +02:00
smartpl_query.h Unify naming of "order by" clause in structs/table 2018-04-15 22:11:40 +02:00
SMARTPL.g [db,jsonapi,smartpl] db usermark flag review 2021-09-08 14:51:55 +01:00
transcode.c [xcode] Modifications for ffmpeg 5 (fixes #1396) 2022-01-21 19:25:58 +01: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] Coverity fixups 2022-01-20 21:42:05 +01:00
websocket.h [httpd/websocket/conf] Initial websocket implementation 2017-09-15 07:14:08 +02:00
worker.c [misc] Centralize thread naming plus name websocket thread 2021-07-05 21:40:31 +02:00
worker.h Add a worker thread to support async tasks from the player thread 2015-03-31 23:05:24 +02:00