Commit Graph

5927 Commits

Author SHA1 Message Date
chme
1694e6e111 [smartpl] Add "scan_kind" field to smart query language 2022-01-22 12:07:52 +01:00
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
ejurgensen
31e90070ff
Merge pull request #1399 from owntone/ffmpeg5
Modifications for ffmpeg 5 (fixes #1396)
2022-01-21 21:33:52 +01:00
ejurgensen
b5087e110f [xcode] Modifications for ffmpeg 5 (fixes #1396) 2022-01-21 19:25:58 +01:00
ejurgensen
119eb46daa
Merge pull request #1398 from owntone/coverity_issues
Fixes for misc minor issues reported by Coverity
2022-01-21 19:03:31 +01:00
ejurgensen
33837f0382 [mpd] Coverity fixups 2022-01-20 21:42:05 +01:00
ejurgensen
6f6a9c6cb9 [misc] Coverity fixups 2022-01-20 21:42:05 +01:00
ejurgensen
ad4c7fd74c [main] Coverity fixups 2022-01-20 21:42:05 +01:00
ejurgensen
933affaa7e [remote] Coverity fixups 2022-01-20 21:42:05 +01:00
ejurgensen
dcb3973aa4 [web] Coverity fixups 2022-01-20 21:42:05 +01:00
ejurgensen
3e099072e8 [streaming] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
2d84b0bab9 [alsa] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
cd4386228d [spotify] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
0fdca0587c [airplay] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
a09da06e8f [scan] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
d72958f1f7 [db] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
070866b41a [jsonapi] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
53ee9a3c39 [daap] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
334beb1cfa [httpd] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
c9aac896ee [player] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
0bc574fafe [rtsp] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
b059d73211 [commands] Coverity fixups 2022-01-20 20:17:38 +01:00
ejurgensen
e321c54655 [artwork] Coverity fixups 2022-01-20 20:17:38 +01:00
Christian Meffert
c141ef507d
Merge pull request #1380 from chme/web-next
Update web interface
2022-01-16 12:16:46 +01:00
chme
73b0f838e6 [htdocs] Rebuild web interface 2022-01-16 12:01:35 +01:00
chme
6284492180 [web-src] Add "follow-redirects" as dependency to fix CVE-2022-0155
"follow-redirects" is a transitive dependency for owntone, e. g. for
axios. Should be removed once, the direct dependencies of owntone
release new versions with a newer version of "follow-redirects".
2022-01-16 12:01:34 +01:00
Alain Nussbaumer
282c05f65b [web-src] Correction of links pointing to old addresses 2022-01-16 11:14:49 +01:00
chme
b0037afa05 [web-src] Fix spotify playlist tracks not showing 2022-01-16 11:14:49 +01:00
chme
c8bfad0a35 [web] Fix url in search page to smart pl query language 2022-01-16 11:14:49 +01:00
ejurgensen
d857116e41 [daap] Fix null dereference on missing group-type param 2022-01-14 23:12:49 +01:00
ejurgensen
5e6f19a6da [airplay] Fix reading features txt from Kodi (fixes #1381)
Adds support for "features" values that are not comma separated.
2022-01-12 20:33:07 +01:00
ejurgensen
021a53aa64 [spotify] Add missing return() in librespot-c channel.c 2022-01-11 20:11:35 +01:00
ejurgensen
6a0c7db50a [airplay] Disable unused ntp_to_timestamp() 2022-01-11 20:10:54 +01:00
Christian Meffert
8f73616750
Merge pull request #1379 from whatdoineed2do/composer-relative-paths
[web-src] inline with 39b14ff8d - relative paths for proxy'ing
2022-01-02 17:22:04 +01:00
whatdoineed2do/Ray
258311951b [web-src] inline with 39b14ff8d - relative paths for proxy'ing 2022-01-02 15:39:25 +00:00
Christian Meffert
6f0278ebbc
Merge pull request #1335 from whatdoineed2do/web-composer-search
[web-src] add composer support
2021-12-31 12:23:58 +01:00
whatdoineed2do/Ray
00461e4f9f [web-src] composer review 2021-12-31 10:40:06 +00:00
whatdoineed2do/Ray
07a9ed6654 [jsonapi] composer review 2021-12-30 10:49:45 +00:00
whatdoineed2do/Ray
69d32eb691 [jsonapi] support composers
- enable search for composer (albums/tracks)
- expose new rest endpoint for retreiving all known composers
2021-12-29 14:14:56 +00:00
whatdoineed2do/Ray
69ed6d1365 [web-src] use ListComposer for index block separation 2021-12-29 13:46:30 +00:00
whatdoineed2do/Ray
269842d30a [web-src] add composer support 2021-12-29 13:46:30 +00:00
Christian Meffert
8c97ad591f
Merge pull request #1373 from chme/feat/browse-info-query
Fetch additional meta data in "browse" queries
2021-12-29 14:04:13 +01:00
chme
8dfbb460c2 [db/readme] Add comment to browse_info object; update docs for genre
endpoint
2021-12-29 12:01:42 +01:00
dashdsrdash
f8f2b6e494
[docs] add info about stream playback to README 2021-12-28 15:21:18 +01:00
chme
8becdee8f1 [db] Refactor db_query_fetch_* functions to take the output parameter
first and the input parameter as last parameter
2021-12-28 07:23:56 +01:00
chme
a65ee4462e [db] Refactor fetching query result into generic function
Additionally changes the return value in case the end of the result set
is reached.
2021-12-28 06:55:35 +01:00
chme
d7086cab00 [db,jsonapi] Additional meta data for browse queries 2021-12-28 06:29:07 +01:00
Christian Meffert
17ba3c6e03
Merge pull request #1374 from chme/web-next
web interface update
2021-12-27 07:48:28 +01:00
chme
67de74709e [htdocs] Rebuild web interface 2021-12-26 20:22:07 +01:00
chme
f3fa343b9b [spotify] Add missing listener notification on librespot logout 2021-12-26 20:22:06 +01:00