Commit Graph

5273 Commits

Author SHA1 Message Date
Christian Meffert
0e8e8564bb
Merge pull request #1042 from chme/player-prev-next
[player/jsonapi] Do not report error on skip next/prev if end/start of queue is reached
2020-07-05 10:58:50 +02:00
Christian Meffert
07f3f808c7
Merge pull request #1041 from chme/ws-header-space
[ws] Set websocket header data space
2020-07-05 10:57:54 +02:00
ejurgensen
e393d4a59d
Merge pull request #1045 from whatdoineed2do/README-smart-json-upd
[README] smart pl and  json update
2020-07-04 13:29:52 +02:00
whatdoineed2do/Ray
6b7df9475a [README] update for 'limit' on 'add' endpoint 2020-07-04 11:55:55 +01:00
whatdoineed2do/Ray
558f42baca [README] update for 'random' field-name 2020-07-04 11:55:20 +01:00
Christian Meffert
db51d59be4
Merge pull request #995 from whatdoineed2do/json-add-by-query-with-limit
[jsonapi] support 'limit' on 'api/queue/items/add?expression='
2020-07-03 20:09:00 +02:00
chme
56564dec87 [ws] Set header data space to 4096
Hopefully fixes the "LWS Ran out of header data space" error seen in the
Chrome browser.
2020-07-03 09:53:39 +02:00
chme
569a997f6d [htdocs] Rebuild player web interface 0.7.2 2020-07-01 07:32:13 +02:00
chme
1d274a79bb [web-src] Use generic albums api function for all media kinds 2020-07-01 07:32:12 +02:00
chme
93a170690e [web-src] Remove link to "admin" page
All functionality of the admin page has been moved to the "settings" page
2020-07-01 07:32:12 +02:00
chme
66e482d629 [web-src] Add radio page listing all radio streams 2020-07-01 07:32:12 +02:00
chme
b15b5c88fa [web-src] Only show quality informations if they are available 2020-07-01 07:32:12 +02:00
chme
9616cfdf0c [jsonapi] harmonize "channels" attribute in queue item and track object 2020-07-01 07:32:12 +02:00
chme
1c65ba1ee2 [web-src] Update Spotify album page spacing
Also make cover artwork clickable to open the album details dialog
2020-07-01 07:32:12 +02:00
chme
728b1624ff [web-src] Update dependencies 2020-07-01 07:32:12 +02:00
chme
ade654f96f [web-src] Replace verification request with authorize output request 2020-07-01 07:32:12 +02:00
chme
2019e88bb3 [web-src] Tweak spacing in album page 2020-06-30 08:28:33 +02:00
chme
e0e9d24830 [web-src] Update dependencies 2020-06-30 08:28:33 +02:00
chme
dc50f9fc19 [web-src] Show artwork in Spotify album page 2020-06-30 08:28:33 +02:00
chme
a36cd47f24 [web-src] Localize dates in dialogs/pages for Spotify tracks 2020-06-30 08:28:32 +02:00
chme
5e33b2a612 [web-src] Fix overly not covering whole screen for navbar dialogs 2020-06-30 08:28:32 +02:00
chme
d2b5e82837 [web-src] Show album cover artwork in album page 2020-06-30 08:28:32 +02:00
ejurgensen
a2ec7ee28f [outputs] Fix gcc 10 complaining about multiple definitions
outputs_master_volume, output_device_list and output_buffer were defined in
outputs.h, but should only have been declared with extern.

Solve it by making output_buffer static/non-global (wasn't used anyway), and
the two others are now returned by functions.
2020-06-29 00:19:03 +02:00
ejurgensen
69fbd7b32a [library] Fix gcc 10 warning
And avoid a year 10000 doomsday
2020-06-28 23:23:52 +02:00
ejurgensen
ce2006a31b [-] Workaround for libplist.pc missing in libplist 2.2.0 release
Closes #1038
2020-06-28 22:55:24 +02:00
chme
8e333c7978 [player/jsonapi] Do not report error on skip next/prev if end/start of
queue is reached
2020-06-28 11:56:51 +02:00
ejurgensen
82d48cba3a
Merge pull request #1031 from marecabo/install-markdown
Convert INSTALL document to markdown
2020-06-15 21:12:10 +02:00
marecabo
8e22f8db9a Convert INSTALL.md document to markdown 2020-06-13 23:50:32 +02:00
marecabo
0d61f5524e Rename INSTALL to INSTALL.md 2020-06-13 23:40:52 +02:00
ejurgensen
064d0de924
Merge pull request #1030 from whatdoineed2do/streaming-drop-client-no-libav-support
[streaming] bug fix - drop client connections if libav has not mp3 encode
2020-06-11 16:20:44 +02:00
whatdoineed2do/Ray
dd2ee019a8 [streaming] drop client mp3 streaming connections if libav has mp3 encode 2020-06-11 13:11:12 +01:00
ejurgensen
9af258a50f
Update Ubuntu workflow, add apt-get update 2020-06-08 11:26:30 +02:00
ejurgensen
e3f8c5b44e [docs] Include wildcard in libgnutls Debian package name (closes #1026) 2020-06-03 20:14:16 +02:00
ejurgensen
8046f13698 [outputs] Fix issue where speaker becomes unselected after pause (flush) 2020-05-30 21:31:27 +02:00
ejurgensen
70a84ab9dc [docs] Add MacOS build instructions with Homebrew 2020-05-28 17:30:14 +02:00
ejurgensen
92406e5794 [docs] Remove obsolete mention of MPoD 2020-05-28 17:29:38 +02:00
ejurgensen
5fd79a52c5 Merge branch 'player_listener1' 2020-05-28 16:59:38 +02:00
ejurgensen
5d22f11b0e [player/outputs] Fix for speaker selection and volume adj (closes #1011)
* Make sure that vol_adjust() bases adjustments on the same speakers that the
  user sees as active
* If a speaker fails during activation we unselect it, so that we don't keep
  trying to start it, so we find a new master volume if required, and so it is
  possible for the user to reselect it.
2020-05-27 23:02:29 +02:00
ejurgensen
a9a6f4b584 [outputs] Check for session in outputs_device_authorize() 2020-05-27 23:02:29 +02:00
ejurgensen
384b1171d9 [raop] Change device verification so we don't risk stale sesssions
Before, if a user never verified the device, we would have a device->session
even though the device was not streaming and was in a failed state.

This solution should be more clean and in line with the overall principle that
we only have a session when communicating with the device.

Also includes a bit of code refactoring.
2020-05-27 23:02:29 +02:00
ejurgensen
138d482510 [dummy] Add capability to mock device verification for testing 2020-05-27 23:02:29 +02:00
ejurgensen
d6ec6afb5b [outputs] Remove outputs_authorize()
Replaced by outputs_device_authorize()
2020-05-26 23:21:06 +02:00
ejurgensen
3cca778419 [player] Stop using outputs_authorize() so it can be removed
Use outputs_device_authorize() instead
2020-05-26 23:20:29 +02:00
ejurgensen
d18e49f59b [jsonapi] Make PUT /api/outputs/x capable of device verification 2020-05-26 22:46:49 +02:00
ejurgensen
18e75c2445 [player] Add player_speaker_authorize()
A more straightforward function for device verification, using the new
outputs_device_authorize() function.
2020-05-26 22:45:38 +02:00
ejurgensen
2fa2d33602 [outputs] Add a more standard device authentication function
outputs_authorize() has two issues, one that the caller can't specify device
(problem if there are two devices waiting for verification), the other that it
didn't offer a standard callback, so difficult to catch failure/success.
2020-05-26 22:42:06 +02:00
ejurgensen
9308f81224 [player] Get rid of listener notifications direct from outputs
Try to consolidate in player.c
2020-05-25 22:43:08 +02:00
ejurgensen
010185eab5 [player] Another way of implementing commit 3b033e48 2020-05-25 22:43:04 +02:00
ejurgensen
3b033e48ee [player] Consolidate listener handling in one player trigger - wip
The goal is to make the listener invokation more unified and less ad hoc. Also
reduce risk of blocking/deadlocking player thread.
2020-05-25 22:42:22 +02:00
ejurgensen
3885b92111 [worker] Remove not-so-useful log message 2020-05-25 22:42:22 +02:00