Commit Graph

6553 Commits

Author SHA1 Message Date
ejurgensen e03120c944 [web] Fix possible invalid read during shutdown
The player may emit a listener event when shutting down, and since websockets
didn't remove it's listener callback it would receive an event despite being
deinitialized. This would lead to an invalid read by lws_cancel_service in
listener_cb().
2023-12-29 17:34:48 +01:00
ejurgensen c28d108b96 [raop] Fix crash when keys of incorrect length are used for legacy pairing
Happens if the user has paied with Airplay 2, and afterwards activates Airplay 1
for the same device, since the keys in device->auth_keys will then be incorrect
length.

Closes #1703
2023-12-28 13:54:52 +01:00
github-actions[bot] 3fe4c9f289 [web] Rebuild web interface 2023-12-27 16:26:33 +00:00
Alain Nussbaumer 54ad586941 [web] Remove useless i18n configuration 2023-12-27 17:14:10 +01:00
Alain Nussbaumer c5628adb55 [web] Upgrade libraries 2023-12-27 17:10:09 +01:00
ejurgensen 2fa80b2fd9 [spotify] Remove logging of "No spotify refresh token found"
Logged every time the web UI is used due to call to /api/spotify and during
initscan, but it isn't an error, it just means the user isn't logged in.

Fixes #1701.
2023-12-22 23:29:40 +01:00
ejurgensen 045edf7c55 [httpd] Replace syscall with gettid, syscall deprecated on MacOS 2023-12-19 22:56:58 +01:00
ejurgensen a7f44dc3e8 [jsonapi] Fix mistaken call to library_media_save
Only library modules should be calling that function
2023-12-19 21:27:31 +01:00
ejurgensen f430b71645 [jsonapi] Include info about tracks added to queue (closes issue #1564) 2023-12-17 23:42:57 +01:00
ejurgensen 5ea49c94de [library/db/jsonapi] Refactor adding items to queue via JSON API v2 2023-12-17 23:42:57 +01:00
ejurgensen 1ea90b9445 [library/db/jsonapi] Refactor adding items to queue via JSON API
Reduce code duplication and move database specific stuff from httpd_json.c
to db.c.
2023-12-17 23:42:57 +01:00
ejurgensen cbfce63f4d [db] Use songalbumid's that are distinct for data_kind
Means the same album won't contain both e.g. Spotify and local tracks, they
will instead be shown as two albums.

Ref issue #1650
2023-12-17 21:12:31 +01:00
github-actions[bot] 37c10cbb10 [web] Rebuild web interface 2023-12-17 17:39:59 +00:00
Alain Nussbaumer 9dc3918914 [web] Use newer versions of libraries 2023-12-17 18:38:55 +01:00
Alain Nussbaumer 04feda45c9 [web] Add filter for Spotify content on "Artist Tracks" and "Artist Album" pages. Partially answer #1650 2023-12-17 18:37:35 +01:00
ejurgensen f657780a42 [scan] Fix issue where albums get split
Regression from PR #1655. This reverts the metadata search to the method used
before the PR, so that search is done in the order set by the metadata maps.

This means the songalbumid is set by the tag with the highest precedence, not
just the first one found.

Closes #1696
2023-12-16 00:11:54 +01:00
Alain Nussbaumer 2d33dea6d3 [web] Use newer versions of libraries 2023-12-15 17:53:42 +01:00
Alain Nussbaumer 955b9658e9 [web] Fix the example command to run the local server instance 2023-12-15 17:53:17 +01:00
Alain Nussbaumer abbd02e925 [web] Revert back to having one chunk of JavaScript for the web interface 2023-12-15 17:28:33 +01:00
Alain Nussbaumer a076a6d47f [web] Add the web interface files to the makefile 2023-12-14 22:34:54 +01:00
github-actions[bot] c5f11e1c14 [web] Rebuild web interface 2023-12-14 20:00:28 +00:00
Alain Nussbaumer 67f716ff43 [web] Reorder properties and methods 2023-12-14 20:47:27 +01:00
Alain Nussbaumer 1b666fe936 [web] Remove the need to set the layer index for the bottom menu 2023-12-14 20:36:47 +01:00
Alain Nussbaumer 1daf625618 [web] Allows the top menu to be over the tabs 2023-12-14 20:30:34 +01:00
Alain Nussbaumer 5b26bc47fa [web] Reorder methods and properties 2023-12-14 10:48:44 +01:00
Alain Nussbaumer ba3f656b3a [web] Reorder methods 2023-12-14 10:43:22 +01:00
Alain Nussbaumer e26055cb76 [web] Use newer versions of libraries 2023-12-14 10:42:43 +01:00
Alain Nussbaumer 8085d0344a [web] Remove unused states 2023-12-14 09:32:46 +01:00
Alain Nussbaumer db6279bc88 [web] Reorder methods of API alphabetically 2023-12-13 20:54:22 +01:00
Alain Nussbaumer 775108f088 [web] Clean code for better maintainability 2023-12-13 20:15:07 +01:00
Alain Nussbaumer 6f6d804e44 [web] Use newer versions of libraries 2023-12-12 21:23:29 +01:00
Alain Nussbaumer 5e04a9d22a [web] Make GroupByList class more maintainable 2023-12-12 21:20:41 +01:00
Alain Nussbaumer 7c9df8cc79 [web] Reorganise store properties alphabetically 2023-12-12 21:17:28 +01:00
Alain Nussbaumer d4dbd02930 [web] Add default values to the library object 2023-12-12 21:10:00 +01:00
Alain Nussbaumer 012f5d6635 [web] Use of lazy loading routes 2023-12-12 20:58:35 +01:00
Alain Nussbaumer 45b50086b9 [web] Remove unnecessary computed property 2023-12-12 20:29:21 +01:00
Alain Nussbaumer d50c94a63c [web] Remove unused computed properties 2023-12-12 20:06:34 +01:00
github-actions[bot] bc120316b3 [web] Rebuild web interface 2023-12-09 21:28:23 +00:00
Alain Nussbaumer ddf45735e0 [web] Fix for Spotify podcast episodes not treated properly in the modal dialog for tracks 2023-12-09 22:27:48 +01:00
github-actions[bot] b604f43a00 [web] Rebuild web interface 2023-12-09 21:06:34 +00:00
Alain Nussbaumer 00343cfa91 [web] Reorder methods 2023-12-09 22:02:11 +01:00
Alain Nussbaumer 5d3fa4e087 [web] Fix modal dialog for tracks 2023-12-09 22:00:03 +01:00
Alain Nussbaumer 777d98ce80 [web] Fix modal dialog for queue items
Whenever a field is not existing for an item, the name of the field is not displayed anymore.
2023-12-09 21:35:51 +01:00
Alain Nussbaumer 76282e2031 [web] Bump library versions 2023-12-09 21:07:46 +01:00
Alain Nussbaumer b98812f64b [web] Fix code formatting 2023-12-09 10:51:57 +01:00
Alain Nussbaumer 8d501f9ef1 [web] Streamline usage of styles 2023-12-09 10:49:15 +01:00
Alain Nussbaumer 8733eb46f1 [web] Remove unnecessary CSS styles 2023-12-09 10:46:30 +01:00
github-actions[bot] 54884c6870 [web] Rebuild web interface 2023-12-08 20:10:47 +00:00
Alain Nussbaumer b2ee4f3f19 [web] Use default Bulma progress bar styles 2023-12-08 21:09:14 +01:00
Alain Nussbaumer 7fcc0473a8 [web] Order icons alphabetically 2023-12-08 11:55:17 +01:00