Commit Graph

5551 Commits

Author SHA1 Message Date
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
chme e44d21f6d6 [web-src] Add search for audiobooks and podcasts 2020-09-27 19:13:07 +02:00
whatdoineed2do/Ray ee49d48fbc [web-src] Apply patch from whatdoineed2do for playlist dialog 2020-09-27 19:13:07 +02:00
chme 111d3675bf [web-src] Only use track uris if playlist has a random track list 2020-09-27 19:13:07 +02:00
whatdoineed2do/Ray 1d80a0fa06 [web] playlist page 'play' uses tracks alreaady retreived instead of playlist_id 2020-09-27 19:13:07 +02:00
chme 20a2c96b2a [jsonapi] Add boolean field "random" to playlist
The new field "random" is true for smart playlists with an order by
clause "random", otherwise it is false. This allows clients to handle
randomly generated playlists differently from static playlists.
2020-09-27 19:13:07 +02:00
chme dd811e6c70 [jsonapi] Prevent browsers to cache playlist tracks
The tracks of a smart playlist might change between library rescans.
Allowing them to be cached based on the last rescan timestamp
("Last-Modified" header in the response) leads to potentially showing
incorrect track listing if a cached version is used. Thus the response
for playlist tracks should never be cached by the browser (this is
achieved with setting "Cache-Control" header to "no-store").
2020-09-27 19:13:07 +02:00
Tucker Kern 39b14ff8d4 Use relative paths in web interface to ease reolcation or proxying 2020-09-27 19:13:07 +02:00
chme f8257a1f55 [web-src] Hide cover artwork in lists if disabled in settings 2020-09-27 19:13:07 +02:00
chme 6f4970545f [web-src] Turn "radio" into top level item and allow customization of
visible menue items
2020-09-27 19:13:07 +02:00
chme 023436c959 [settings] Add support for (optional) default values and remove default
value functions for artwork
2020-09-27 19:13:07 +02:00
chme e86aa95d89 [settings] Add new setting for "webinterface"
- add settings to show/hide menu items in the top nav bar
- add setting to show/hide cover artwork in album lists
2020-09-27 19:13:07 +02:00
chme 4e353d4c36 [web-src] Lazy creation of generated cover artwork
This should improve the performance in large album listings by only creating the generated image for covers that are displayed.
2020-09-27 19:13:07 +02:00
chme d0e4153859 [web-src] Show cover artwork in Spotify album listings 2020-09-27 19:13:07 +02:00
chme 48e766e1ae [web-src] Show cover artwork in album listings 2020-09-27 19:13:07 +02:00
chme 9c4c25f507 [web-src] Start implementing audiobooks authors page 2020-09-27 19:13:07 +02:00
Christian Meffert 1258427afc
Merge pull request #1090 from chme/spotify-release-date
Map release date for Spotify tracks + fix release data being off by one day
2020-09-24 06:44:23 +02:00
ejurgensen 81c776fc4a [player] Fixup commit 1f45967 2020-09-21 17:18:09 +02:00
ejurgensen 1f45967481 [player] Fix autoselect so it also applies when there are no selected devices (second attempt)
Second attempt at fixing regression in version 27.2. First attempt was commit 2345885.

Closes #1091.
2020-09-21 17:12:18 +02:00
chme a28c6ba1d6 [spotify] Scan album info during saved playlists scan (if available) 2020-09-19 08:00:26 +02:00
ejurgensen 513a09e6d1 [player] Reduce log severity of devices not starting 2020-09-06 23:18:08 +02:00
ejurgensen 2345885f19 [player] Fix autoselect so it also applies when there are no selected devices
Regression in version 27.2. Closes #1091.
2020-09-06 00:12:15 +02:00
ejurgensen 500f57ba1a [player] Clear up return value of outputs_start()
Should return 0 if no devices at all, or if none selected. Should not return
negative from failure to stop unselected devices.
2020-09-06 00:08:40 +02:00
chme 451e0bf10b [spotify/jsonapi] Map date_released for Spotify tracks; fix date
released being off by one day in the JSON API
2020-09-01 20:37:10 +02:00
Christian Meffert 7040382688
Merge pull request #1083 from chme/groups-metadata-alternative
Metadata for albums and artists (alternative approach)
2020-08-30 19:11:21 +02:00
chme 6f5822e461 [jsonapi] Map fields time_added, time_played, seek for album / artist 2020-08-30 09:08:41 +02:00
chme a74a3e5add [db] Add fields time_added, time_played, seek to group object 2020-08-30 09:08:41 +02:00
chme 382467eb9c [jsonapi] Map additional metadata for artist and album 2020-08-30 09:08:41 +02:00
chme 8afae4a41b [db] Fetch additional metadata for artist and album in group query 2020-08-30 09:08:41 +02:00
ejurgensen bb9536ef44 [scan] Early skip if file should be ignored
Avoids needless logging, e.g. from failed lstat(). Closes #1078.
2020-08-22 21:38:12 +02:00
ejurgensen c5df688caf [alsa] Align commit bfe99e5 with coding style 2020-08-22 21:36:10 +02:00
whatdoineed2do/Ray bfe99e56f7 [alsa] use alsamixer volume adjustment algorithm 2020-08-22 21:25:17 +02:00
whatdoineed2do/Ray fc5df02d29 [configure] explictly check for 'fabs' and some other math functions to incl -lm 2020-08-22 21:25:17 +02:00
ejurgensen 11de4c09bc [misc] Also have buildopts[] have disabled features + regex 2020-08-19 20:12:06 +02:00
ejurgensen a5ddb3c85d [player] Fix for volumes of unselected devices being reduced
Closes #1077
2020-08-13 20:48:48 +02:00
ejurgensen 9ecd32771c
Update CodeQL analysis workflow
Don't use autobuild
2020-08-11 21:34:38 +02:00
ejurgensen 76d1648511
Enable code scanning workflow (beta) 2020-08-10 23:19:57 +02:00
ejurgensen de5060bc57 [db] Remove a FIXME, not much of an issue 2020-08-10 23:03:37 +02:00
ejurgensen d77927d3c3 [xcode] Fix incorrect error check, unsigned int can't be negative
av_find_best_stream() returns an int, with negative being an error

Credit lgtm.com
2020-08-10 22:56:08 +02:00
ejurgensen d9177dfb25 [artwork] Remove some superfluous checks
Credit lgtm.com
2020-08-10 22:50:04 +02:00
ejurgensen a0876e532c [websocket] Prefix globals with websocket_
Avoids e.g. "event" being both the name of a global and a parameter name in
send_notify_reply()

credit lgtm.com
2020-08-10 22:36:00 +02:00
ejurgensen 23be5aa749 [config] Name change to avoid overlapping/hiding global variable "cfg"
credit lgtm.com
2020-08-10 22:29:02 +02:00
ejurgensen 5e6b5fbe8a [httpd/logger] Use gmtime_r/localtime_r instead of gmtime/localtime
gmtime and localtime are not thread safe

credit lgtm.com
2020-08-10 22:23:21 +02:00
ejurgensen fada4c0ee7 [lastfm] Fix incorrect error condition test 2020-08-10 22:08:35 +02:00
ejurgensen 47779e59e7 [input] Fix memleak of path when seting up a new input file
Credit @whatdoineed2do

Closes #1067
2020-08-10 22:01:49 +02:00