Commit Graph

5345 Commits

Author SHA1 Message Date
nia 4cdeb1afea Remove unnecessary check for FreeBSD
The non-timerfd code path depends on SIGALRM being defined, so signal.h
always needs to be included.

This allows forked-daapd to build and run on NetBSD and probably other
BSD systems too.
2020-11-02 15:07:17 +01:00
Christian Meffert 3395773c9f
Merge pull request #1105 from chme/rescan-metadata
[spotify] Force metadata update on library "metarescan" update
2020-10-24 09:57:40 +02:00
ejurgensen 36d07baf2c [docs] Update INSTALL Debian quick guide (issue #1104)
Suggest actual package name instead of wildcard, since that throws apt off
2020-10-20 23:37:16 +02:00
ejurgensen c20b85a6d9 [artwork] Always stash results of http requests in cache, even if negative
This is an attempt to be nice to peers, so that we don't make many similar
requests to e.g. Discogs. This could happen via proces_items() for an album
where we have the same artwork url for each track, and if it was 404 we
would continue attempting the same request for each track.
2020-10-20 23:22:49 +02:00
ejurgensen 0383f19e9f [artwork] Avoid repeating online search requests with same query
This changes online_source_search_check_last() so that it also works if the
last search query was unsuccesful, i.e. last_artwork_url was NULL.
2020-10-19 22:34:26 +02:00
ejurgensen f48fae20e2 [db] Remove unused db_speaker_clear_all() 2020-10-19 20:39:03 +02:00
ejurgensen d2d9b78ae7 [player] Don't unselect disappeared speakers on exit/restart
With the new speaker selection philosophy we aim to preserve user choice, so we
shouldn't unselect speakers just because they happen to be switched off when
the server is restarted.
2020-10-19 20:36:32 +02:00
ejurgensen ce9fbff8f5 [artwork] Use cache stash to avoid making repeated requests
E.g. for an album we would for each track request artwork from Spotify, even
though the requests are similar and the first one didn't give a result.
2020-10-19 20:25:01 +02:00
ejurgensen 3233aefa8a [scan] Improve logging of inotify events 2020-10-19 20:24:31 +02:00
Christian Meffert 9a3840f507
Merge pull request #1104 from chme/web_next
Player web interface v0.8.1
2020-10-19 06:15:40 +02:00
chme bda2cff5db [spotify] Force metadata update on library "metarescan" update 2020-10-18 10:35:51 +02:00
chme 61fcb0bd61 [htdocs] Rebuild player web interface v0.8.1 2020-10-18 09:58:03 +02:00
chme c5275e4428 [web-src] Hide burger menu on showing "Update library" dialog 2020-10-18 09:58:03 +02:00
chme 60bf4432c2 [web-src] Update dependencies 2020-10-18 09:44:59 +02:00
chme d6d6e93c3b [web-src] Use kebap-case for events
Otherwise ESLint will report errors
2020-10-18 09:44:59 +02:00
chme 3b5e08331b [web-src] Show release date in music album listings 2020-10-18 09:44:59 +02:00
chme bdeb4d0838 [web-src] Fix JS error on podcast page enter 2020-10-18 09:44:59 +02:00
chme bd099dc4be [web-src] Turn "Update library" into an action 2020-10-18 09:44:59 +02:00
chme 1aa401f024 [web-src] Fix cover artwork shadow clipped off 2020-10-18 09:44:59 +02:00
chme 1ff0b36c76 [web-src] Update warning text for top menu setting 2020-10-18 09:44:59 +02:00
chme d4a5286268 [web-src] Keep the search text when switching to/from Spotify search 2020-10-18 09:44:59 +02:00
chme 758ae1f31a [web-src] Update web interface version to 0.8.1 2020-10-17 12:11:13 +02:00
chme 432c27042b [web-src] Fix javascript exception in music browse page 2020-10-17 12:09:01 +02:00
chme 99437b3ceb [web-src] Add option to artist albums list to sort by release date 2020-10-17 12:07:27 +02:00
chme f9c184cc75 [web-src] Reduce size of empty search result message 2020-10-17 11:42:50 +02:00
Christian Meffert 4331153966
Merge pull request #1082 from chme/web_next
Player web interface v0.8.0
2020-10-17 08:01:16 +02:00
chme a15f382302 [htdocs] Rebuild player web interface 2020-10-17 07:51:42 +02:00
chme 2fe5cc722d [web-src] Fix "Update" dropdown not closing on click-outside 2020-10-17 07:50:37 +02:00
chme 5c3c0be348 [web-src] Rename "About" to "Update Library" 2020-10-17 07:43:40 +02:00
chme be66b0082c [web-src] Fix wording for albums filter 2020-10-17 07:43:40 +02:00
chme 2cb1a1754b [web-src] Add threshold to observe visibility
Hopefully fixes the "show options button" in list views to always be correctly working after page load.
2020-10-17 07:43:40 +02:00
chme 048b245155 [web-src] Only show Spotify filter if Spotify is enabled 2020-10-11 09:02:54 +02:00
chme 7dccee9407 [web-src] Fix index link for unavailable release year 2020-10-11 08:48:23 +02:00
chme 6fcdab08ee [web-src] Add metadata to artist details 2020-10-11 07:53:52 +02:00
chme efb647d013 [web-src] Artists/albums list sort + filter 2020-10-11 07:53:52 +02:00
chme a6061f2a66 [web-src] Add dependency bulma-switch 2020-10-11 07:53:52 +02:00
chme 8bc3fcd109 [web-src] Refine hide/show index lists 2020-10-11 07:53:52 +02:00
chme 8eee018d15 [web-src] Add dependencies for vue-scrollto and vue-observe-visibility 2020-10-11 07:53:52 +02:00
chme 1384aef891 [web-src] Move option "up" button out from IndexButtonList component 2020-10-11 07:53:51 +02:00
chme ee4ec0c9eb [web-src] Refactor track and playlis listings 2020-10-11 07:53:51 +02:00
chme 43899d198f [web-src] Update dependencies and set version to 0.8.0 2020-09-27 19:24:39 +02:00
chme 886754e6ad [web-src] Audiobooks index list 2020-09-27 19:24:39 +02:00
chme f4f80f3508 [web-src] Only filter albums/artists if "hide singles" is enabled 2020-09-27 19:13:07 +02:00
chme d29f56f3eb [httpd] Add "max-age=0" to Cache-Control header to force browsers to
always revalidate cached content
2020-09-27 19:13:07 +02:00
chme 91ec155ecd [web-src] Refactor albums lists to use new ListAlbums component 2020-09-27 19:13:07 +02:00
chme 83af581785 [web-src] Allign display of audiobook album with music album 2020-09-27 19:13:07 +02:00
chme 3b8b28c125 [web-src] Rename audiobook pages for consistency 2020-09-27 19:13:07 +02:00
chme dbcd391331 [web-src] Refactor album+artist lists and add audiobooks artist page 2020-09-27 19:13:07 +02:00
chme bfa2497dd5 [web-src] Add metadata fields to album dialog 2020-09-27 19:13:07 +02:00
chme c26606ed37 [web-src] Further improvements of audiobooks authors page 2020-09-27 19:13:07 +02:00