Commit Graph

6492 Commits

Author SHA1 Message Date
ejurgensen 429178e518 [gh-actions] Update checkout and codeql versions 2023-10-21 14:41:12 +02:00
ejurgensen 4365869fb1
Merge pull request #1655 from X-Ryl669/lyrics
Add support for Lyrics
2023-10-20 16:20:30 +02:00
ejurgensen 8796368b01 [scan] Fixup lyrics changes 2023-10-19 23:49:53 +02:00
X-Ryl669 98a844b409 [web] Add lyrics player to the webinterface
Update icons.js
Add icons in alphabetical order.
Change comment to remove reference to external website
Remove extra line feeds

Co-Authored-by: Alain Nussbaumer <alain.nussbaumer@alleluia.ch>
2023-10-19 23:49:53 +02:00
X-Ryl669 9670f6b079 [httpd] Add fetching lyrics in the JSON api 2023-10-19 23:49:53 +02:00
X-Ryl669 cf8b3ecd3a [db,library] Add support for parsing lyrics and storing them in DB 2023-10-19 23:49:53 +02:00
Alain Nussbaumer d7d3a0767d [web] Correct the use of Bulma variables in the CSS
The variables for colors are now correctly referenced in the CSS.
2023-10-08 10:47:26 +02:00
ejurgensen 67de2303f9
Merge pull request #1663 from owntone/esp32
[raop] Make compressed ALAC default, but with a config option
2023-10-07 09:32:40 +02:00
ejurgensen d266c8a56f [raop] Make compressed ALAC default, but with a config option
Closes #1656
2023-10-06 21:39:26 +02:00
ejurgensen c34acb16c2
Merge pull request #1660 from X-Ryl669/fixSelect
Fix select issue on FreeBSD.
2023-10-02 11:15:39 +02:00
X-Ryl669 ab790c2880 [mdns] Fix select issue on FreeBSD.
As reported in issue #1654, using select to test for a (non-blocking) connection success crashes on FreeBSD when the number of opened file descriptor is higher than FDSET_SIZE.
Instead of returning with an error in that case, this commit uses poll instead that's not limited to the number of opened file descriptors, preventing an out-of-bound write.
2023-10-02 09:53:06 +02:00
ejurgensen 8528073003 [daap] Fix for use-after-free
Present in 28.7 and 28.8. Closes #1659.

Credit X-Ryl669.
2023-09-30 23:06:09 +02:00
ejurgensen 4662cd4cce [scan] Set consistent return type in check_path_in_directories() 2023-09-27 22:46:13 +02:00
ejurgensen 85929dcaa8 Bump version to 28.8 2023-09-05 22:55:47 +02:00
ejurgensen 1aec50bcfd ChangeLog for OwnTone 28.8 2023-09-05 22:54:45 +02:00
ejurgensen 89c148411e [gh-actions] Add MacOS run test 2023-09-03 21:16:44 +02:00
ejurgensen e850549aa1 [gh-actions] Run test with standard install method 2023-09-03 21:01:11 +02:00
ejurgensen d5335317a6 [gh-actions] Prepare workflow with runtest 2023-09-03 21:01:11 +02:00
ejurgensen a9e21dcbfd [main] Add a 'testrun' command line option for Github actions 2023-09-03 21:01:11 +02:00
ejurgensen 3f6c7405ed [spotify] Don't zero pthread lock when resetting credentials 2023-09-03 20:59:45 +02:00
ejurgensen 6742272221 [gh-actions] Add workflow-dispatch to MacOS workflow 2023-09-02 23:30:42 +02:00
ejurgensen 8b64bb4cd8 [docs] Add link to blog about authentication with Authelia for remote access
Credit @X-Ryl669

Closes #1647
2023-09-02 23:07:05 +02:00
ejurgensen 54c2667aea [misc] Use fcntl+O_NONBLOCK when binding instead of socket+SOCK_NONBLOCK
socket() with SOCK_NONBLOCK (O_NONBLOCK) seems not to be possible on MacOS, it
yields 'Protocol wrong type for socket'. Switch to using fcntl() and O_NONBLOCK
instead, hopefully works better cross-platform.

Closes #1644
2023-09-01 17:13:33 +02:00
ejurgensen 9d092c983b
Merge pull request #1648 from whatdoineed2do/library-overwrite-db-entry-fix 2023-09-01 17:06:44 +02:00
whatdoineed2do/Ray b9b8ced689 [scan] Handles case for file overwrite/move within library that previously original db entry for overwritten file
Fixes #1645
2023-09-01 09:17:54 +01:00
ejurgensen 0d94681f16 [gh-actions] Add workflow-dispatch to Ubuntu workflow 2023-08-31 22:59:26 +02:00
ejurgensen 174aa86033
Merge pull request #1646 from owntone/raop_alac_endtag1
[raop] Add ALAC end tag to each frame
2023-08-31 17:10:06 +02:00
ejurgensen b9da6bc80d Revert "[gh-actions] Update macos.yml, add brew update step"
This reverts commit 0f33a896de.

Reason is that using newest homebrew seems to make the workflow very unstable.
2023-08-30 21:16:18 +02:00
ejurgensen 447e042953 [raop] Add ALAC end tag to each frame
The missing end tag makes the ffmpeg alac decoder upset and we can't have that

Credit Mike Brady
2023-08-30 21:00:33 +02:00
ejurgensen 4315c73775 [httpd] Fix building on FreeBSD which doesn't have SYS_gettid 2023-08-29 23:50:19 +02:00
ejurgensen 214ef12cb5 [spotify] Fix free of invalid pointer on http request error
Fixes #1643
2023-08-29 20:14:19 +02:00
ejurgensen 9b190dcc2e Bump version to 28.7 2023-08-28 23:20:53 +02:00
ejurgensen 012bd30552 ChangeLog for OwnTone 28.7 2023-08-28 23:19:43 +02:00
ejurgensen b213c35801 Revert "[gh-actions] Remove build of sqlite from MacOS workflow mk2"
This reverts commit 07a95dce96.
2023-08-24 23:30:51 +02:00
ejurgensen 07a95dce96 [gh-actions] Remove build of sqlite from MacOS workflow mk2
Homebrew's sqlite now comes with sqlite3_unlock_notify (Homebrew issue #55077),
so a custom build is no longer required.
2023-08-24 22:52:34 +02:00
ejurgensen 7f6387ff59 Revert "[gh-actions] Remove build of sqlite from MacOS workflow"
This reverts commit d159a8d5aa.
2023-08-24 22:04:21 +02:00
ejurgensen 0f33a896de
[gh-actions] Update macos.yml, add brew update step
Use the latest version of brew + formulae
2023-08-23 16:15:21 +02:00
ejurgensen d159a8d5aa [gh-actions] Remove build of sqlite from MacOS workflow
Homebrew's sqlite now comes with sqlite3_unlock_notify (Homebrew issue #55077),
so a custom build is no longer required.
2023-08-21 22:12:01 +02:00
ejurgensen 941fab9023 [xcode] Circumvent ffmpeg 6 ALAC encoding problem
The default ffmpeg ALAC encoder, "alac", requires fixed frames of size 4096,
but the Airplay 2 implementation feeds it with frames of size 352. Before
ffmpeg 6 this worked, but not any more. Seems a frame size check has been
added.

This commit doesn't fix this, but circumvents the ffmpeg error by modifying the
frame size that ffmpeg checks.

Fixes issue #1640
2023-08-17 23:12:26 +02:00
ejurgensen 7f2e05284b [scan] Read m3u8 playlists like m3u
Fixes #1639
2023-08-15 19:33:50 +02:00
Marek Skrobacki 469fcf6707
[mpd] Sanitize newline characters in ID3 tag values (#1615)
Fixes https://github.com/owntone/owntone-server/issues/1613
2023-08-12 23:57:28 +02:00
Alain Nussbaumer 2ad680a96b [web] Generate web interface with the latest source 2023-08-06 17:11:41 +02:00
Alain Nussbaumer dcbdee6598 [web] Fix settings page not displaying properly when the language is not found
When the user is using a language that is not available in OwnTone, the fallback language is set to English.
2023-08-06 10:59:20 +02:00
ejurgensen f934aadb67 [config] Replace network.target with network-online.target in owntone.service
Spotify won't work on boot without dns, and it seems network-online at least
increases the chance of dns being ready.
2023-08-05 23:51:27 +02:00
Alain Nussbaumer 60015e1da2 [web] Provide similar style between podcast, audiobook, and album pages
The podcast page is now similar to the audiobook or album pages. Thus, making the UI a bit more coherent.
2023-07-26 16:12:21 +02:00
Alain Nussbaumer c20c80b757 [web] Format source code 2023-07-26 16:04:12 +02:00
Alain Nussbaumer d84b7dc80f [web] Fix alignment of labels with their switch button 2023-07-26 12:59:16 +02:00
Alain Nussbaumer 6b37de78ba [web] Remove unused functions 2023-07-26 10:34:16 +02:00
Alain Nussbaumer 9964018f0e [web] Fix for list of tracks not playing from the correct position 2023-07-26 08:07:51 +02:00
Alain Nussbaumer c513e0044e [web] Use "router link" for the list of index buttons 2023-07-26 08:05:13 +02:00