Commit Graph

5949 Commits

Author SHA1 Message Date
ejurgensen
8b6336b91d [xcode] Protect against memleak if future ffmpeg doesn't free options
Can happen if ffmpeg doesn't recognize all the options
2023-02-05 17:14:17 +01:00
ejurgensen
aa2512837e
Merge pull request #1574 from LordMyschkin/german
[web-ui] Minor improvements to german translation
2023-01-24 13:31:23 -08:00
lordmyschkin
6ac88d677b minor improvments to german translation 2023-01-23 18:58:42 +01:00
Alain Nussbaumer
879feab518 [web] Fix for error messages not displaying #1500 2023-01-23 04:37:43 -08:00
ejurgensen
40ac39b6df
Merge pull request #1572 from whatdoineed2do/web-directory-fix
[web] directory modal handling fix
2023-01-23 04:35:00 -08:00
whatdoineed2do/Ray
dd1b39b347 [web] directory modal handling fix 2023-01-21 21:46:14 +00:00
LordMyschkin
4f848948e7
[web] German translation
German translation

Co-authored-by: lordmyschkin <martin@dieroths.at>
2023-01-21 16:50:06 +01:00
ejurgensen
0d15e2a34d [docs] Fix typo in json-api.md 2023-01-10 16:55:18 +01:00
ejurgensen
dbbe0a519d
[docs] Update installation.md, new OpenWrt instructions 2023-01-06 11:42:07 -08:00
ejurgensen
e18ef0edd9
[docs] Update installation.md, OwnTone broken in OpenWrt 22.03.2 2023-01-01 19:02:30 +01:00
ejurgensen
af07f9eeb4 [scan] Changes to commit 9a3cb3b7
* 'split_genre' -> 'only_first_genre' + changed description
* fix memleak on multiple genre tags
2022-12-29 20:07:30 +01:00
whatdoineed2do/Ray
0c43de9735 [scan] option to use first genre on multi token genres
multiple genres are either supported by format (see flac/orbis) or are
handled by convention (see mp3) - ffmpeg presents either case as a
single string, seperated by ';' (ie "Pop;Rock")

Currently the server/db does not support multiple genres and will store
the ffmpeg string as-is which is unlikely the user intention.

Introduce 'split_genre' to take the first genre token
2022-12-29 20:07:30 +01:00
ejurgensen
46f87720fb [docs] Add JSON API documentation of api/library/add
Closes #1561
2022-12-28 12:31:38 +01:00
ejurgensen
c23c2fdc45 [httpd] Addendum to commit 017e09d: More fixing up of libevent warnings 2022-12-26 17:16:58 +01:00
ejurgensen
fc83d807e0 [docs] Note in installation.md about login requirement to get GH artifacts
Closes #1560
2022-12-26 10:09:11 +01:00
ejurgensen
b9b5f8b113 [cfg] Set AM_SILENT_RULES to yes 2022-12-26 10:04:07 +01:00
ejurgensen
017e09d7c3 [httpd] Fix evhttp_connection_get_peer() const char warning for newer libevent 2022-12-25 20:09:38 +01:00
ejurgensen
b70188f4b8 [spotify] Fix commit 5e7bf182 to avoid picking too large images 2022-12-21 23:29:44 +01:00
ejurgensen
5e7bf1826c [spotify] Fix poor artwork resolution on playback from playlist start
Closes #1559
2022-12-21 17:39:41 +01:00
ejurgensen
82a5672d99 [docs] Fix markdown 2022-12-20 17:40:57 +01:00
ejurgensen
c8455f936a [docs] Add building.md to mkdocs navigation 2022-12-20 17:26:36 +01:00
ejurgensen
ecc2912155 [docs] Simplify install instructions
Many users probably just want the simple apt approach for RPi, or alternatively
some other precomiled solution, so let installation.md focus on them and put the
build instructions in a separate building.md.
2022-12-20 17:14:12 +01:00
ejurgensen
9ca6eb906f
[docs] Fix link in README to the docs 2022-12-20 14:59:37 +01:00
ejurgensen
10a51a0af9
Merge pull request #1556 from whatdoineed2do/before-epoch-date_released
[db,scan,jsonapi] bug fix to handle date_released before 1970
2022-12-14 22:38:58 +01:00
whatdoineed2do/Ray
7d26c2c954 [db,scan,jsonapi] bug fix to handle date_released before 1970, storing -ve values in db 2022-12-13 17:38:07 +00:00
ejurgensen
1357fdf78e
Merge pull request #1557 from pgenera/patch-1
Fix typo: "runnning"
2022-12-12 22:30:51 +01:00
Phil Genera
cfd63faf75
Fix typo: "runnning" 2022-12-12 11:40:38 -05:00
ejurgensen
7c0474b743 [player] Don't stop/clear queue on speaker 'prevent-playback' or 'busy'
When 'prevent-playback' or 'busy' is sent by a single playing speaker, we just
want to pause playback and not clear the queue

Closes #1553
2022-11-20 22:38:33 +01:00
ejurgensen
d468fd358e [spotify] Select best artwork size even when not ordered descending
Spotify web API docs say that images are ordered wideest first, but that isn't
happening right now, so don't rely on that for size selection.

Also makes sure we pick an image even when max_w is smaller than smallest
available image.
2022-10-30 20:31:58 +01:00
ejurgensen
49f442bf9e
Merge pull request #1547 from owntone/xcode_fixup1
Adjustments to ffmpeg/transcoding
2022-10-28 21:19:58 +02:00
ejurgensen
1379914857 [xcode] See if we can do without asking decoder for specific sample rate/channels
We use filters now, so shouldn't be necessary.

request_sample_fmt and request_channel_layout was added with commit 73b2d08.
2022-10-26 17:22:41 +02:00
ejurgensen
684f55f603 [xcode] Align how ffmpeg API checks are done 2022-10-26 17:22:41 +02:00
ejurgensen
4ff850cd3d [xcode] A bit of refactoring 2022-10-26 17:22:29 +02:00
ejurgensen
e437e41870 [airplay] Add WWW authentication for Airplay 2
Some speakers (e.g. Homepod) that are configured to require password want that
this is used both for pairing authentication and classic WWW Authentication.

This commit adds the WWW Authentication that is also used for Airplay 1.

Closes #1545.
2022-10-15 00:30:31 +02:00
ejurgensen
62c72d72d6 [docs] Install instruction non-system wide (closes #1542) 2022-10-08 10:18:52 +02:00
whatdoineed2do
94c28386a6
[xcode] Use ffmpeg ch_layout instead of deprecated channel_layout/channels (#1536)
Co-authored-by: whatdoineed2do/Ray <whatdoineed2do@nospam.gmail.com>
2022-10-06 17:09:01 +02:00
ejurgensen
ce5f9c1e7a Bump version to 28.5 2022-09-09 22:57:27 +02:00
ejurgensen
9ac7612d8a ChangeLog for OwnTone 28.5 2022-09-09 22:56:27 +02:00
whatdoineed2do/Ray
48526c2ab7 [dacp] bug fix - play item from 'up next' when stopped 2022-09-03 01:32:01 +02:00
ejurgensen
c1373394a8 [mdns] Add log hint about Avahi not running if adding browser fails
Ref issue #1529
2022-08-21 10:21:22 +02:00
ejurgensen
3cbb95976a [airplay] Add support for password based authentication
Closes #1527
2022-08-15 20:09:54 +02:00
ejurgensen
31ab97595e [smartpl] Support larger smart playlists (fixes #1521) 2022-08-08 17:42:54 +02:00
ejurgensen
c849e3114a
Merge pull request #1525 from ohmantics/master
Improvements for FreeBSD installation
2022-08-08 11:13:33 +02:00
Dev
5c6b5938c1 FreeBSD install script can now run as root without sudo installed. Also easier to pick a custom user/group name and relocate the configuration directory. 2022-08-07 16:40:05 -07:00
ejurgensen
1725d5cef6 [mdns] If configured, use bind_address to set network interface
Otherwise keep using AVAHI_IF_UNSPEC. Resolves #1519.
2022-07-14 21:29:21 +02:00
ejurgensen
3754871c73 [misc] Add utility function to get interface name from IP address 2022-07-14 21:12:58 +02:00
ejurgensen
680c27eb66 [mdns] Fix possible crash after Avahi restart (fixes #1509)
Necessary to clear the resolver list on client restart, since especially
r->resolver becomes invalid when mdns_client is freed.

Also drop freeing of libevent watches and timers on deinit, it is not
necessary, Avahi will do it.
2022-07-14 21:00:34 +02:00
ejurgensen
7ed432252b [docs] Add that files starting with . and _ are ignored by scanner
Ref. #1513. Replaces PR #1514.
2022-07-09 23:48:12 +02:00
ejurgensen
0bde7acce8 [smartpl] Fix parsing of CRLF and "NOT (" (closes #1502) 2022-06-28 20:46:20 +02:00
ejurgensen
b968055144 [docs] New attempt at fixing link to JSON api (hopefully resolves #1505) 2022-06-27 22:42:52 +02:00