7239 Commits

Author SHA1 Message Date
Alain Nussbaumer
352a73044e Merge branch 'master' of github.com:owntone/owntone-server 2025-10-22 19:53:21 +02:00
ejurgensen
5f526c7a7e [dacp] Fix segfault from invalid queries
When parsing a DACP request (pattern: ^/ctrl-int/[[:digit:]]+/playqueue-edit$)
with a command parameter being "move" and an edit-params parameter lacking a
colon, strchr(param, ':') at httpd_dacp.c:2038 will return NULL, and safe_atoi32
is called with its first parameter str being 1. This will bypass the NULL check
at src/misc.c:650 and causes a segmentation fault at the call to strtol at line
657.

Closes #1933
2025-10-08 19:49:01 +02:00
ejurgensen
b7e385ffe0 [httpd] Better logging of evbuffer_read() errors
Fixes #1931
2025-09-30 20:44:01 +02:00
Alain Nussbaumer
2eba24b4ba [web] Update libraries 2025-09-24 10:43:15 +10:00
github-actions[bot]
336200727d [web] Rebuild web interface 2025-09-18 05:55:20 +00:00
Alain Nussbaumer
b523ea4d35 [web] Update to newer versions of libraries for security reasons 2025-09-18 15:54:38 +10:00
ejurgensen
bd5746c83e Bump to version 29.0 29.0 2025-09-12 23:11:01 +02:00
ejurgensen
b58307cc37 ChangeLog for OwnTone 29.0 2025-09-12 23:09:18 +02:00
github-actions[bot]
387660d96b [web] Rebuild web interface 2025-09-10 23:40:43 +00:00
Alain Nussbaumer
15fd59b2a1 [web] Fix unresponsive Spotify music page #1917 2025-09-11 09:40:01 +10:00
ejurgensen
82c8374cad [docs] Reinstalling Remote can sometimes solve pairing issues
Closes #1924
2025-08-31 19:51:54 +02:00
github-actions[bot]
1bdf4680ff [web] Rebuild web interface 2025-08-26 10:18:28 +00:00
Alain Nussbaumer
b1d7e4c433
Merge pull request #1921 from chme/fix/web-modal-mobile
[web] Fix modal hight to display buttons on mobile
2025-08-26 20:17:59 +10:00
github-actions[bot]
dc0eb24e7f [web] Rebuild web interface 2025-08-26 09:56:40 +00:00
Alain Nussbaumer
2dd693c0f2 Merge branch 'master' of github.com:owntone/owntone-server 2025-08-26 19:56:07 +10:00
Alain Nussbaumer
bb64df57ff [web] Show menu icons on mobile 2025-08-26 19:55:54 +10:00
Alain Nussbaumer
3f0041100a [web] Format source code 2025-08-26 19:55:21 +10:00
Alain Nussbaumer
9a721e49ab [web] Bump to newer versions of libraries 2025-08-26 19:53:31 +10:00
ejurgensen
ec632e478c [xcode] Fix deprecations of ->pix_fmts and av_format_inject_global_side_data 2025-08-25 22:50:21 +02:00
ejurgensen
19012bf616 [misc] Fix deprecation warning about referencing xmlBuffer->content 2025-08-25 22:50:21 +02:00
ejurgensen
d051d787ba [scan] Use plist_get_unix_date_val() if available
plist_get_date_val is deprecated
2025-08-25 22:50:21 +02:00
Drew Thompson
d8485bf3c2
[scan] Add support for "empty" operand in smart playlists
"empty" will be parsed to SQL NULL
2025-08-25 19:14:31 +02:00
ejurgensen
753a027ce1
Merge pull request #1920 from owntone/connect_timeout
[misc] Prevent OwnTone from hanging when a connection can't be made
2025-08-23 17:23:15 +02:00
ejurgensen
a84f4e09a0 [misc] Prevent OwnTone from hanging when a connection can't be made
This change adds a default 3s timeout to net_connect().

Fixes #1916
2025-08-23 17:22:18 +02:00
Christian Meffert
25d2af9343 [web] Fix modal hight to display buttons on mobile 2025-08-23 11:01:39 +02:00
ejurgensen
f85a800644
Merge pull request #1918 from owntone/libmount1
[scan] Use libmount to detect filesystem mount events
2025-08-22 20:39:10 +02:00
ejurgensen
ba8212b175 [scan] Use libmount to detect filesystem mount events
Resolves issue #1897
2025-08-22 19:57:53 +02:00
ejurgensen
d16343bddc [scan] Revert libmount commits due to MacOS/FreeBSD build errors
Reverts 3be8e4f and e607019
2025-08-21 23:50:24 +02:00
ejurgensen
3be8e4f479 [scan] Fix wrong symbol name for non-libmount builds 2025-08-21 23:39:55 +02:00
ejurgensen
e607019a1c [scan] Use libmount to detect filesystem mount events
Resolves issue #1897
2025-08-21 23:31:10 +02:00
ejurgensen
324b6eb61a [spotify] Update librespot-c to 0.7
Uses an extended metadata request like go-librespot to get file id, which
should mean that Spotify works even when not in legacy mode (tcp mode).

Ref issue #1912
2025-08-21 23:10:23 +02:00
github-actions[bot]
84d1b091ff [web] Rebuild web interface 2025-08-20 01:07:44 +00:00
Alain Nussbaumer
65b9323488 [web] Add page to control outputs #1450 2025-08-20 11:07:02 +10:00
github-actions[bot]
2ddaba6e77 [web] Rebuild web interface 2025-08-19 23:52:52 +00:00
Alain Nussbaumer
5b013115ba [web] Avoid list being modified when not in editing mode #1915 2025-08-20 09:50:29 +10:00
github-actions[bot]
efbf950068 [web] Rebuild web interface 2025-08-19 07:31:56 +00:00
Alain Nussbaumer
b9d821b46a [web] Add followed artists to the Spotify music page #1538 2025-08-19 17:31:16 +10:00
github-actions[bot]
411e028f9f [web] Rebuild web interface 2025-08-18 10:36:56 +00:00
Alain Nussbaumer
569e48ba7d [web] Add the cover artwork of Spotify playlists in the modal dialog 2025-08-18 20:36:11 +10:00
github-actions[bot]
31ff67797b [web] Rebuild web interface 2025-08-18 05:50:22 +00:00
Alain Nussbaumer
3bf17d8b6d [web] Remove unused variable and incorrect text 2025-08-18 15:49:22 +10:00
Alain Nussbaumer
02279236f3 [web] Ensure overlay covers entire screen when scrolling 2025-08-18 15:01:55 +10:00
github-actions[bot]
13f4c087e8 [web] Rebuild web interface 2025-08-18 00:42:24 +00:00
Alain Nussbaumer
ea6388b51e [web] Remove quality and position properties when no values are available 2025-08-18 10:41:45 +10:00
github-actions[bot]
58593809f9 [web] Rebuild web interface 2025-08-17 10:36:46 +00:00
Alain Nussbaumer
f7c4659899 [web] Display artist visuals from Spotify 2025-08-17 20:36:06 +10:00
Alain Nussbaumer
2d5dd3d7fd [web] Show cover of Spotify playlists 2025-08-17 19:34:17 +10:00
Alain Nussbaumer
978a9b6a96 [web] Switch to Spotify Web SDK 2025-08-17 12:28:32 +10:00
ejurgensen
b612e12aca [spotify] Fix misplaced librespot-c legacy mode selector
OwnTone was supposed to default to the old raw tcp Spotify protocol, which
would have left it unaffected by Spotify breaking the http response to the
metadata request. However, the mechanism for defaulting was misplaced. This
should put it in the right place and fix #1912.

Of course, the new protocol is still broken, but hopefully that will be fixed
on Spotify's side.
2025-08-09 21:55:37 +02:00
ejurgensen
75c9db5f59 [jsonapi] Add client_id and client_secret to /api/spotify
Closes #1909
2025-08-03 20:54:10 +02:00