ejurgensen
088c393dd6
[httpd/cache] Misc fixing up
2024-06-17 22:25:20 +02:00
ejurgensen
2d9200fcdf
[cache] Try to fix cache thread blocking the rest of the server
2024-06-17 22:25:20 +02:00
ejurgensen
ff2d0b4ab1
[httpd] Check speaker settings to determine DAAP/RSP stream format
2024-06-17 22:25:20 +02:00
ejurgensen
62b42ce354
[misc/player] Introduce output ability to announce supported formats
...
Also introduce default output format and selected device format, should the
user want another format.
As part of this, change enum player_format in player.h to enum media_format in
misc.h so that it is akin to struct media_quality.
Modify json API to support this.
2024-06-17 22:25:20 +02:00
ejurgensen
9f719ca155
[player/jsonapi/db] Add interface to get and set an output format
2024-06-17 22:25:20 +02:00
ejurgensen
c079df5da7
[cache/config] Refactor cache so daap/artwork/xcode is cached in separate db's
...
Also change config so that the user can just configure a data directory instead
of complete path to each database.
2024-06-17 22:25:20 +02:00
ejurgensen
2efad1466f
[cache] Add support for storing MP4 headers
2024-06-17 22:05:07 +02:00
ejurgensen
4a08644806
[xcode] Change the signature of transcode_setup/transcode_en/decode_setup()
...
Should make it easier to add/remove parameters without changing all calls to the
functions throughout the code.
Also adds an interface through which to call make_mp4_header().
2024-06-17 22:05:07 +02:00
ejurgensen
9dbec4b99e
[misc] Move endianess utils from rtp_common.h to misc.h
...
So that transcode.c can also use them.
2024-06-17 22:05:07 +02:00
ejurgensen
725419d4ac
[xcode] Do without _GNU_SOURCE, MacOS doesn't like it
2024-06-17 22:05:07 +02:00
ejurgensen
aed74fbb8a
[xcode] Support for ALAC encoded RSP/DAAP streaming
...
Also changes WAV encoding to use source quality instead of fixed 44100/16/2.
Sets the default to WAV, since it has the best quality, and doesn't have the
delay that creating an MP4 container for ALAC currently has (TODO prepare
the headers to avoid the delay).
Ref issue #1182 and #1665
2024-06-17 22:05:07 +02:00
ejurgensen
c30f44fd01
[misc] New net_peer_address_is_trusted with cfg set default to "lan"
...
New default for "trusted_networks" = "lan". This will check peer addresses
against the addresses/netmasks of the interfaces to establish whether the peer
is local.
Fixes #1754
2024-06-16 01:17:11 +02:00
ejurgensen
bf73e51262
Merge pull request #1769 from owntone/fix_rename_pl1
...
[scan] Fix bug where playlist name isn't updated when m3u/pls file is…
2024-06-12 16:04:34 +02:00
ejurgensen
2219e3ce75
[scan] Fix bug where playlist name isn't updated when m3u/pls file is renamed
...
Closes #1758
2024-06-12 13:12:37 +02:00
ejurgensen
3af04afa61
[dmap] Change date type to int64, fix for "Integer value too large"
...
uint32 won't work for dates before the Unix epoch, and int32 won't work after
2038, so let's see if clients can handle int64.
Resolves #1742
2024-06-09 22:20:33 +02:00
ejurgensen
a5a991e1fa
Merge pull request #1767 from hacketiwack/master
...
[ci] Streamline macOS pipelines
2024-06-09 22:09:24 +02:00
Alain Nussbaumer
325a3609a0
[ci] Streamline macOS pipelines
2024-06-09 11:10:22 +02:00
ejurgensen
2d59762520
[gh-actions] Correct spelling of macOS
2024-06-05 22:47:01 +02:00
ejurgensen
390c335562
[gh-actions] Simplify the macOS build
...
Credit @hackitwack
2024-06-04 23:07:44 +02:00
ejurgensen
e7459e0576
[mdns] Fix OwnTone not updating speaker addresses on ip change
...
The fix is to use proto instead of addr->proto when creating the record browser
in browse_resolve_callback(). The rest of the commit is just minor
beautification.
Resolves #1760 . The issue seems to be a regression from commit
e7a73551ab
.
2024-06-04 17:11:45 +02:00
ejurgensen
9439bcc60c
[gh-actions] Fix building for macos-latest (Mac OS 14 Sonoma)
2024-06-04 16:58:43 +02:00
ejurgensen
9f0fa7c45c
[gh-actions] Add a manual workflow for Mac OS 12
2024-06-04 16:55:56 +02:00
ejurgensen
f8d42a2fef
Merge pull request #1761 from owntone/mxml_to_libmxml_1
2024-06-01 01:54:51 +02:00
ejurgensen
f6ee669b80
[docs] Change mxml to libxml2
2024-05-31 23:47:46 +02:00
ejurgensen
b6ee09925b
[gh-actions] Change dependencies from mxml to libxml2
2024-05-31 23:47:46 +02:00
ejurgensen
75b8f06e25
[misc] Replace mxml with libxml2
...
mxml 4 is binary and source incompatible with 3, and there is no easy way to
stay compatible with both. Not great for a library. So replace with libxml2,
hopefully that is more stable. Also means we can get rid of all the mxml hacks
2024-05-31 23:47:46 +02:00
ejurgensen
75fe3f100a
[gh-actions] Switch from macos-latest (14) to macos-12
...
Seems there are a bunch of problems with linking to the Homebrew installed
libraries on MacOS 14, so this is a temporary fix to get the GH Action somewhat
working again.
2024-05-31 23:39:07 +02:00
ejurgensen
2bb97c8e0a
[cfg] Change ipv6 default to disabled
...
There is some issue with OwnTone's Airplay ipv6 implementation so disable ipv6
in the config until it is fixed.
Ref issue #1752
2024-05-20 22:21:00 +02:00
github-actions[bot]
d951957730
[web] Rebuild web interface
2024-05-19 20:43:38 +00:00
Alain Nussbaumer
408057a45d
[web] Merge branch 'linting'
2024-05-19 22:42:45 +02:00
Alain Nussbaumer
84d728d46e
[doc] Make configuration page more readable
...
This page should probably be split.
2024-04-27 22:38:08 +02:00
Alain Nussbaumer
17d1ceef07
[doc] Add configuration documentation in the menu
...
Moreover, the entries in the menu now match the title of the pages.
2024-04-27 21:53:01 +02:00
Alain Nussbaumer
9319118190
[web] Simplify variable naming
2024-04-27 21:34:16 +02:00
Alain Nussbaumer
2d7776619f
[web] Remove unused variables
2024-04-27 21:18:28 +02:00
Alain Nussbaumer
2c58351bec
[web] Simplify variable naming
2024-04-27 21:14:31 +02:00
Alain Nussbaumer
7edce91474
[web] Make hover style of buttons identical everywhere
2024-04-27 21:13:13 +02:00
Alain Nussbaumer
4ae2903b4d
[web] Simplify variable naming
2024-04-27 20:36:04 +02:00
Alain Nussbaumer
c255b3a108
[web] Simplify variable naming
2024-04-27 07:00:08 +02:00
Alain Nussbaumer
fc5563fe9d
[web] Remove negated conditions
2024-04-27 06:59:47 +02:00
Alain Nussbaumer
7d59abee4f
[web] Fix URL for axios
2024-04-27 06:49:51 +02:00
Alain Nussbaumer
4a1b4575fe
[web] Fix variable name
2024-04-27 06:46:02 +02:00
Alain Nussbaumer
5db55f66c1
[web] Enforce single line HTML elements
2024-04-26 23:26:56 +02:00
Alain Nussbaumer
de847a6711
[web] Reorder methods and attributes
2024-04-26 23:09:45 +02:00
Alain Nussbaumer
ea947df50a
[web] Use named capture groups
2024-04-26 22:54:32 +02:00
Alain Nussbaumer
7826b36634
[web] Fix shadowed variables
2024-04-26 21:48:07 +02:00
Alain Nussbaumer
8a303f340b
[web] Return the list itself when group operation is done
2024-04-26 21:06:51 +02:00
Alain Nussbaumer
d246c42a99
[web] Lint too short variable names
2024-04-26 18:24:34 +02:00
Alain Nussbaumer
8fe6cba6ef
[web] Rename confusing variable name option
2024-04-26 18:15:35 +02:00
Alain Nussbaumer
0401fb9616
[web] Simplify naming to avoid confusion
2024-04-26 18:10:23 +02:00
Alain Nussbaumer
73040780b9
[web] Remove unnecessary word option
2024-04-25 22:36:04 +02:00