Commit Graph

6020 Commits

Author SHA1 Message Date
Alain Nussbaumer
b0f418abda [web] Add missing translations
Translations were missing for the remove podcast feature. A cleanup of the German translation files has been done as well.
2023-06-02 22:13:38 +02:00
ejurgensen
82fdb7f121
Merge pull request #1610 from owntone/streaming_ffmpeg6
Refactor mp3 streaming/fix for ffmpeg 6
2023-05-12 23:20:17 +02:00
ejurgensen
f998b1f3dd [streaming] Change how metadata is delivered to http streaming
This gets rid of player locks + the special header file outputs/streaming.h
2023-05-12 22:35:10 +02:00
ejurgensen
6364515fb7 [streaming] Use player_streaming_register() for thread safety
Also means we might be able to drop the special header file for
outputs/streaming.c making it a bit more like a regular output module.
2023-05-11 22:30:36 +02:00
ejurgensen
dedd4a95c2 [player] Add player_streaming_register() and _deregister() 2023-05-11 22:30:36 +02:00
ejurgensen
537012440b [streaming] Fix mp3 streaming not working with ffmpeg 6
ffmpeg 6 requires fixed size frames for the encoder, so this commit refactors
the mp3 streaming to do support that. Also uses outputs_quality_subscribe which
potentially has better performance (e.g. a 48000 sample rate source will only
be resampled once if both airplay and mp3 streaming want 44100), and makes it
easier to create fixed size frames.

Resolves #1601
2023-05-11 22:30:36 +02:00
ejurgensen
701bad466e [outputs] Add helpers for output buffer copy and free 2023-05-11 22:30:36 +02:00
ejurgensen
cd62070fdb [xcode] Add "samples_per_frame" query parameter 2023-05-11 22:30:36 +02:00
Alain Nussbaumer
0d095b3037 Fix for #1606 2023-05-11 11:24:34 +01:00
ejurgensen
4df644eb3a [mdns] Fix possible deref of null *addr in browse_resolve_callback()
Regression from PR #1599, commit e7a7355

Fixes #1604
2023-05-04 22:39:22 +02:00
ejurgensen
2318739a58 [evrtsp] Proper enum return type for evrtsp_parse_headers + evrtsp_parse_firstline
Fixes compiler warnings
2023-04-25 23:09:25 +02:00
ejurgensen
580ba924a4 [httpd] Remove needless test (always true) 2023-04-25 23:04:44 +02:00
ejurgensen
093708ff97
Merge pull request #1599 from couteau/avahi-reflector-fix
Allow mixed ipv4/ipv6 mdns
2023-04-14 22:54:52 +02:00
couteau
71d37fc9c7 Ignore ipv6 announcements when ipv6 disabled 2023-04-12 11:23:18 -04:00
couteau
e7a73551ab Allow mixed ipv4/ipv6 mdns 2023-04-11 10:25:07 -04:00
Alain Nussbaumer
cad4f0b89a
Merge pull request #1595 from hacketiwack/feature-1473
[web] #1473 Add sort by rating for composer, genre, and artist tracks.
2023-04-05 21:01:31 +02:00
Alain Nussbaumer
50da5ccb74 [web] Generate htdocs 2023-04-05 20:46:06 +02:00
Alain Nussbaumer
ba8959ffe1 Merge branch 'feature-1473' of github.com:hacketiwack/owntone-server into feature-1473 2023-04-05 20:36:27 +02:00
Alain Nussbaumer
21173d6480 Fix for byRating function 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
41d80c4f1a #1473 Fix the listing of files 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
c6b4f565a5 #1473 Add sort by rating for composer, genre, and artist tracks. 2023-04-05 20:36:19 +02:00
Alain Nussbaumer
88425fc38d [web] Wrong label for play button in audiobook page 2023-04-05 20:23:19 +02:00
Alain Nussbaumer
95f0b9a780 [web] Generate htdocs 2023-04-05 20:02:51 +02:00
Alain Nussbaumer
79f6b26cf1 Fix for byRating function 2023-04-04 08:42:46 +02:00
ejurgensen
8013bac725 [artwork] Change search order for pipe artwork ("own" as fallback)
Ref. issue #1591
2023-04-03 22:33:21 +02:00
ejurgensen
5abb7c9d57
Merge pull request #1597 from hacketiwack/fixed-translations
Minor translation mistakes
2023-04-02 21:27:59 +02:00
ejurgensen
9e93e130db [raop] Make txt record comparison case insensitive
Should fix issue with TuneAero for Windows

Closes #1596
2023-03-28 23:09:08 +02:00
Alain Nussbaumer
9df15c1f58 Minor translation errors 2023-03-26 17:11:43 +02:00
Alain Nussbaumer
0a91ad8cec #1473 Fix the listing of files 2023-03-24 04:17:17 +01:00
Alain Nussbaumer
a55c6ed941 #1473 Add sort by rating for composer, genre, and artist tracks. 2023-03-23 23:19:55 +01:00
ejurgensen
90e0be07e2
Merge pull request #1593 from hacketiwack/error-message 2023-03-17 13:53:53 +01:00
ejurgensen
57c91118c2
Merge pull request #1592 from hacketiwack/translations 2023-03-17 13:53:06 +01:00
Alain Nussbaumer
c9c6094e5b Error message not displayed 2023-03-17 00:19:14 +01:00
Alain Nussbaumer
6069fd07e3 I18n: Correction of translations in French, German, and English 2023-03-16 23:47:04 +01:00
lordmyschkin
a4ae747b15 [web] Optionally Show FilePath on Now playing-Page 2023-03-15 22:32:16 +01:00
ejurgensen
c645d570ea [artwork] Also look for "own" artwork for pipes
Closes #1591
2023-03-15 22:08:59 +01:00
ejurgensen
6930fcbfb8
Merge pull request #1589 from owntone/dependabot/npm_and_yarn/web-src/vite-2.9.13
Bump vite from 2.9.12 to 2.9.13 in /web-src
2023-03-10 19:28:29 +01:00
dependabot[bot]
88b89053d4
Bump vite from 2.9.12 to 2.9.13 in /web-src
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.12 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 15:51:14 +00:00
ejurgensen
3c72c009ab
Merge pull request #1588 from owntone/dependabot/npm_and_yarn/web-src/luxon-2.5.2
Bump luxon from 2.4.0 to 2.5.2 in /web-src
2023-03-10 16:50:13 +01:00
dependabot[bot]
376f41c464
Bump luxon from 2.4.0 to 2.5.2 in /web-src
Bumps [luxon](https://github.com/moment/luxon) from 2.4.0 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.4.0...2.5.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 14:56:49 +00:00
ejurgensen
98ee49dca5
Merge pull request #1576 from owntone/thread_httpd4
[httpd] Multithreaded httpd and refactor of streaming
2023-03-09 00:08:15 +01:00
ejurgensen
e94838925e [httpd] Change prototype for the close connection callback
Don't include hreq since it isn't fully valid, so caller shouldn't be invited
to dereference it.
2023-03-07 21:01:45 +01:00
ejurgensen
18a80f15dd [httpd] Multithread solution using worker threads instead of httpd threads
Using worker threads instead of httpd threads means that we, not libevent,
decide which requests get handled by which threads. This means that we can
make sure blocking requests (e.g. volume changes) don't get in the way of
realtime(ish) stuff like mp3 streaming.

Includes refactor of httpd_stream_file() since it was a bit of a monster.
2023-03-07 21:01:45 +01:00
ejurgensen
81922e147e [streaming] Fix BSD name collision (pipe) 2023-03-07 21:01:10 +01:00
ejurgensen
a2c63a5bac [httpd] Check for syscall() presence and fix small memleak 2023-03-07 21:01:10 +01:00
ejurgensen
7841e336b3 [main] Make libevent_pthreads non-optional 2023-03-07 21:01:10 +01:00
ejurgensen
e77cb3f94e [streaming] ICY handling using output metadata events/callbacks 2023-03-07 21:01:10 +01:00
ejurgensen
4d0c297901 [evhtr] Consolidate pool threading in evthr.c
Also reinstate check for server already running
2023-03-07 21:01:10 +01:00
ejurgensen
bd6f38282c [httpd] Main commit that adds multithreading to httpd
Also refactor streaming implementation to make it more like an output and to
let the design support multithreading.
2023-03-07 21:01:10 +01:00
ejurgensen
50a319df2b [httpd] Try doing request handling in worker thread 2023-03-07 21:01:10 +01:00