Commit Graph

5953 Commits

Author SHA1 Message Date
ejurgensen
5779bc56b8
Merge pull request #1479 from hgy59/fix_mdns_avahi_init
mdns_init: improve error handling (avoid null reference access)
2022-05-22 12:14:06 -07:00
hgy59
30f33b1b1d mdns_init: avoid null reference access
- when avahi client creation fails with mdns_client=null, use avahi_strerror(error) instead of MDNSERR
  to avoid access to mdns_client->error.
2022-05-22 20:56:49 +02:00
Alain Nussbaumer
cfa8db7b3f #1458 Translation of Web UI 2022-05-20 13:45:11 +02:00
Alain Nussbaumer
167ba86211 #1458 Translation of Web UI 2022-05-20 13:44:22 +02:00
ejurgensen
3c48a07acb
Merge pull request #1475 from owntone/spotify_fix1
[spotify] Fix for "Premium account required"
2022-05-17 14:34:16 -07:00
ejurgensen
79fb65fbd8 [spotify] Fix for "Premium account required" (issue #1474)
Sadly user-agent spoofing seems to be necessary after Spotify sunset of
libspotify. Apparently librespot is whitelisted.
2022-05-17 23:31:30 +02:00
Christian Meffert
96b678925a
Merge pull request #1472 from whatdoineed2do/db-count-query-incl-filesize
[db,jsonapi,smartpl] add `file_size` to count query and expose on smartpl
2022-05-15 06:53:40 +02:00
whatdoineed2do/Ray
c32bc6c160 [docs] add 'file_size' 2022-05-14 10:28:04 +01:00
whatdoineed2do/Ray
5cebf4aca2 [smartpl] add 'file_size' 2022-05-13 15:27:02 +01:00
whatdoineed2do/Ray
4418803aba [db,jsonapi] add file_size to count query 2022-05-13 09:51:06 +01:00
whatdoineed2do
670ac7745d
[rcp] bug fix - speaker unselection upon restart / obey volume (#1459) 2022-05-08 14:09:59 +02:00
ejurgensen
c90a1c17e3 [-] Fix deprecated GCRY_THREAD_OPTION_PTHREAD_IMPL and GCRYCTL_SET_THREAD_CBS
Looks like libgcrypt uses platform standard threading instead of asking caller
for a threading package/callbacks.
2022-05-08 10:04:58 +02:00
Christian Meffert
24bf83bd90
Merge pull request #1437 from chme/docs/mkdocs
Switch to MkDocs for documentation
2022-05-08 07:51:14 +02:00
chme
b5dcc04b2d [docs] Split docs into multiple files and publish with gh-actions 2022-05-08 07:22:48 +02:00
chme
f991d9ddf9 [docs] Delete "old" README*.md files 2022-05-08 07:20:04 +02:00
chme
56da181959 [docs] Generate OwnTone documentation with MkDocs
- Copy existing README*.md and INSTALL.md files to docs folder
- Set up MkDocs to build documentation (mkdocs.yml)
- Add new index.md with a quick overview of OwnTone
2022-05-08 07:20:04 +02:00
Christian Meffert
4f831c4da0
Merge pull request #1469 from whatdoineed2do/websocket-notif-typo
[web] typo prevent handling of LISTENER_SPEAKER events
2022-05-08 07:17:19 +02:00
whatdoineed2do/Ray
b54a963f3a [web] typo prevent handling of LISTENER_SPEAKER events 2022-05-07 11:12:22 +01:00
Christian Meffert
6dbd90ad7f
Merge pull request #1461 from whatdoineed2do/player-missing-listener-event-on-device-fail
[player] send volume event when a device fails
2022-05-07 08:24:45 +02:00
Christian Meffert
2b38ebaa12
Merge pull request #1452 from chme/libcurl_reuse
[http/spotify] Allow reuse of curl handle to improve Spotify scan performance
2022-05-03 21:18:50 +02:00
chme
d277f7c7b3 [http/spotify] Add support for http sessions across multiple requests
This change allows to reuse curl handles for multiple requests.
Reusing a curl handle improves performance if more than one request is
made against a service (connection, session cache, dns cache are kept
between requests).
2022-05-01 09:01:23 +02:00
whatdoineed2do/Ray
b5bb0bd7f2 [player] send volume event when a device fails - without this the webui does not know that an output device failing, volume/selected status remains 2022-04-29 22:00:03 +01:00
ejurgensen
8531a27235
Merge pull request #1457 from whatdoineed2do/rcp-cleanup-bug
[rcp] bug fix on deinit()
2022-04-24 17:39:45 +02:00
whatdoineed2do/Ray
7d525e4dec [rcp] bug fix on deinit() - the rcp_session_cleanup() adv the head of list so no need to do again in deinit loop 2022-04-24 15:04:23 +01:00
Christian Meffert
9c4d246c8b
Merge pull request #1451 from chme/web/next
Update web interface
2022-04-17 10:46:19 +02:00
chme
9d0177fbe5 [htdocs] Rebuild web interface 2022-04-17 10:06:32 +02:00
chme
42e708fbb4 [web] Fix display of search results for composer and playlist 2022-04-17 10:05:50 +02:00
chme
45b192255a [web] Show stream playlists (rss, radio) only if config option "radio_playlists" is set to true 2022-04-17 10:05:50 +02:00
chme
7fff11ef30 [web] Only include icons in bundle that are used in the web interface 2022-04-17 10:05:50 +02:00
Christian Meffert
b3a661cae8
Merge pull request #1441 from chme/web/next
[web] Update web interface
2022-04-16 07:11:04 +02:00
chme
03b41d2840 [htdocs] Rebuild web interface 2022-04-15 20:17:17 +02:00
chme
81491367fc [web] Replace date library moments.js with luxon 2022-04-15 20:17:16 +02:00
chme
708765537c [web] Update dependencies 2022-04-15 20:17:16 +02:00
chme
717fc6d512 [web-src] Fix dragging slider in now playing page 2022-04-08 17:53:16 +02:00
chme
3a0203855f [web-src] Increase bottom margin for all pages 2022-04-08 17:53:16 +02:00
chme
dc4367fa3b [web-src] Fix opening dialog for list items in spotify pages 2022-04-08 17:53:16 +02:00
chme
c714592a31 [web] Do not show audiobooks in genre/composer listings for music 2022-04-08 17:53:16 +02:00
chme
0772997e27 [web] Add album/track count to composer pages 2022-04-08 17:53:16 +02:00
chme
01f4f8b137 [web] Add album/track count in genre views 2022-04-08 17:53:16 +02:00
Christian Meffert
7598a71aea
Merge pull request #1444 from chme/feat/jsonapi-pl-item-count
[jsonapi] Add item and stream count to playlists, expose config option "radio_playlists"
2022-04-08 17:44:02 +02:00
Christian Meffert
176142f311
Merge pull request #1445 from whatdoineed2do/websocket-slow-shutdown
[web] slow 4.1.6 shutdown; request to cancel ws loop
2022-04-06 17:27:38 +02:00
whatdoineed2do/Ray
f33ccb9238 [web] slow 4.1.6 shutdown; request to cancel ws loop 2022-04-06 11:18:48 +01:00
chme
32c1516e60 [jsonapi] Add item and stream count to playlists, expose config option
"radio_playlists" in config endpoint
2022-04-05 21:48:24 +02:00
Christian Meffert
ac48c4aa07
Merge pull request #1443 from chme/fix/spotify-album-override
Fix for Spotify config option album_override has no effect
2022-04-05 20:47:08 +02:00
chme
e5d3c148ea [db/scan] Force compilation artist if track belongs to a compilation 2022-04-04 20:55:19 +02:00
chme
ecc139641a [spotify] Respect album_override setting when parsing Spotify tracks 2022-04-04 20:51:14 +02:00
Christian Meffert
0f204c66ea
Merge pull request #1436 from chme/feat/jsonapi-browse
[jsonapi] Generic browse endpoints
2022-04-03 13:57:34 +02:00
chme
9564240613 [jsonapi] New endpoint to fetch single composer/genre
Refactor "browse" endpoints (genre and composer) by defining a common
endpoint with the browse type as path parameter.
2022-03-31 20:51:00 +02:00
chme
b18b76413d [httpd] Fix parsing of uri into path parts with encoded '/' (%2F)
In path with an encoded '/' character, the parsing of the path into
parts was wrong.

E. g. an uri like
'/api/library/composers/Adam%20Gardner%2FDavid%20Schneider' would result
in the following parts:

- path_part[0] = "/api"
- path_part[1] = "library"
- path_part[2] = "composer"
- path_part[3] = "Adam Gardner"
- path_part[4] = "David Schneider"

Doing the decode after splitting the uri into parts fixes this and
results in:

- path_part[0] = "api"
- path_part[1] = "library"
- path_part[2] = "composer"
- path_part[3] = "Adam Gardner/David Schneider"
2022-03-31 20:51:00 +02:00
ejurgensen
a932cc532d [smartpl] Increase size of parse output buffer
To accommodate for larger smart playlists
2022-03-24 22:58:54 +01:00