Commit Graph

5900 Commits

Author SHA1 Message Date
chme b0037afa05 [web-src] Fix spotify playlist tracks not showing 2022-01-16 11:14:49 +01:00
chme c8bfad0a35 [web] Fix url in search page to smart pl query language 2022-01-16 11:14:49 +01:00
ejurgensen d857116e41 [daap] Fix null dereference on missing group-type param 2022-01-14 23:12:49 +01:00
ejurgensen 5e6f19a6da [airplay] Fix reading features txt from Kodi (fixes #1381)
Adds support for "features" values that are not comma separated.
2022-01-12 20:33:07 +01:00
ejurgensen 021a53aa64 [spotify] Add missing return() in librespot-c channel.c 2022-01-11 20:11:35 +01:00
ejurgensen 6a0c7db50a [airplay] Disable unused ntp_to_timestamp() 2022-01-11 20:10:54 +01:00
Christian Meffert 8f73616750
Merge pull request #1379 from whatdoineed2do/composer-relative-paths
[web-src] inline with 39b14ff8d - relative paths for proxy'ing
2022-01-02 17:22:04 +01:00
whatdoineed2do/Ray 258311951b [web-src] inline with 39b14ff8d - relative paths for proxy'ing 2022-01-02 15:39:25 +00:00
Christian Meffert 6f0278ebbc
Merge pull request #1335 from whatdoineed2do/web-composer-search
[web-src] add composer support
2021-12-31 12:23:58 +01:00
whatdoineed2do/Ray 00461e4f9f [web-src] composer review 2021-12-31 10:40:06 +00:00
whatdoineed2do/Ray 07a9ed6654 [jsonapi] composer review 2021-12-30 10:49:45 +00:00
whatdoineed2do/Ray 69d32eb691 [jsonapi] support composers
- enable search for composer (albums/tracks)
- expose new rest endpoint for retreiving all known composers
2021-12-29 14:14:56 +00:00
whatdoineed2do/Ray 69ed6d1365 [web-src] use ListComposer for index block separation 2021-12-29 13:46:30 +00:00
whatdoineed2do/Ray 269842d30a [web-src] add composer support 2021-12-29 13:46:30 +00:00
Christian Meffert 8c97ad591f
Merge pull request #1373 from chme/feat/browse-info-query
Fetch additional meta data in "browse" queries
2021-12-29 14:04:13 +01:00
chme 8dfbb460c2 [db/readme] Add comment to browse_info object; update docs for genre
endpoint
2021-12-29 12:01:42 +01:00
dashdsrdash f8f2b6e494
[docs] add info about stream playback to README 2021-12-28 15:21:18 +01:00
chme 8becdee8f1 [db] Refactor db_query_fetch_* functions to take the output parameter
first and the input parameter as last parameter
2021-12-28 07:23:56 +01:00
chme a65ee4462e [db] Refactor fetching query result into generic function
Additionally changes the return value in case the end of the result set
is reached.
2021-12-28 06:55:35 +01:00
chme d7086cab00 [db,jsonapi] Additional meta data for browse queries 2021-12-28 06:29:07 +01:00
Christian Meffert 17ba3c6e03
Merge pull request #1374 from chme/web-next
web interface update
2021-12-27 07:48:28 +01:00
chme 67de74709e [htdocs] Rebuild web interface 2021-12-26 20:22:07 +01:00
chme f3fa343b9b [spotify] Add missing listener notification on librespot logout 2021-12-26 20:22:06 +01:00
chme 05e367a84b [web] Add option to remove spotify (logout) in settings 2021-12-26 20:22:06 +01:00
chme 791d3610fd [web] Display info text if spotify track is not playable
Additionally set market query parameter for albums and tracks. According to the spotify documentation, this should not be necessary, as the market for the user account should be used if not set.
2021-12-26 19:52:00 +01:00
chme 4bc8719aaa [web] Fix http stream button not clickable in mobile view 2021-12-26 19:50:16 +01:00
chme 6d5b43c12c [web] Update dependencies 2021-12-26 19:50:16 +01:00
Christian Meffert 29cd95f3ad
Merge pull request #1320 from whatdoineed2do/podcast-event-fix
[web-src] podcast handling of propogated 'play_count_changed' event
2021-12-26 19:04:42 +01:00
ejurgensen 6ee2302133
Merge pull request #1370 from whatdoineed2do/http-optional-sslpeerverify
[http,conf] allow user to request no ssl peer verification
2021-12-18 23:56:33 +01:00
whatdoineed2do/Ray 8f9356ff11 [http,conf] allow user to request no ssl peer verification
This solves for the case where hosted RSS podcasts have self signed or
expired certs:  using default (verify peer) in these instances results
in 'SSL peer certificate or SSH remote key was not OK'
2021-12-18 17:00:05 +00:00
ejurgensen 5efe0eeb0f [pipe] Fix regression in commit 6646802
Don't try to apply pipe metadata if parsing failed. Resolves #1366.
2021-12-12 10:32:42 +01:00
ejurgensen d6cc0e453d [airplay] Update pair_ap to 0.12
Better input validation of public keys
2021-12-06 22:49:34 +01:00
ejurgensen aa56d0e849
Merge pull request #1363 from owntone/airplay_pairing1
Update pair_ap to version 0.11
2021-12-05 12:17:32 +01:00
ejurgensen 088e26c1f0 [airplay] Fix rare pairing bug due to incorrect SRP padding (ref #1280)
Update pair_ap to version 0.11, which it fixes an issue where some randomized
values of SRP "a" are short enough that they require padding.
2021-12-04 23:05:33 +01:00
ejurgensen 1418bfb245 [scan] Don't iTunes playlist scan timestamp on failed scan
Also some refactoring.

Closes #1359
2021-12-01 20:11:54 +01:00
ejurgensen a55f2c6220 Add owntone@.service to .gitignore (ref PR #1353) 2021-11-29 16:35:56 +01:00
ejurgensen fee5075b0b
[docs] Update INSTALL, use package manager for antlr3
The version of antlr3 that is in Fedora 35 seems to work, so no reason to use the special script.
2021-11-28 20:58:53 +01:00
ejurgensen b71c353fc9 [spotify] Update librespot-c for better connection handling
- New attempt at fixing #1317: Don't prevent reconnection if a request is queued
- Protection against flooding Spotify with reconnection attempts
- Don't reconnect when getting a stop request during blocked download
2021-11-27 15:10:56 +01:00
Derek Atkins 434fc4652c
Add a SystemD template service for owntone (issue #1353)
Create a SystemD template and document how to use it for multiple instances of owntone
2021-11-25 22:11:59 +01:00
Derek Atkins 28b2822d9d
Updates to spec file
* Get SPEC file to build with 28.2 and FC35
* Owntone requires avahi, so declare that
* Update configure options based on new code
* Remove spotify and lastfm options; we always build with those
* Clean up service-file handling
* Install systemd file correctly through build system
2021-11-23 21:40:03 +01:00
ejurgensen ce5634e372 [spotify] Fix log message typo 2021-11-20 14:55:27 +01:00
ejurgensen c994797f95
Update bug report template 2021-11-20 11:01:04 +01:00
ejurgensen 6646802832 [pipe] Fix deadlock coming from metadata pipe (issue #1343)
Cause of deadlock:
  new volume pipe metadata -> lock pipe mutex -> set player volume waiting for
  player -> player waiting for input write -> input write waiting for get
  metadata -> get metadata waiting for mutex

Change implementation so lock is only held while parsing/storing metadata,
where it is required, and not when calling the player.
2021-11-15 23:13:13 +01:00
ejurgensen 0d67f26662 [artwork] Fix memleak on pipe artwork error 2021-11-15 22:57:43 +01:00
ejurgensen 4c5217d3d9
Merge pull request #1339 from owntone/spotify_disconnect1
Fix for Spotify disconnect issues
2021-11-08 23:35:40 +01:00
ejurgensen 6d54886030 [librespot-c] Close connection if peer disconnects
Attempt to fix possible bad state where librespot-c keeps try to using a
connection even after the access point has disconnected.
2021-11-04 17:20:55 +01:00
ejurgensen 5e66dbd8c9 [spotify] Fix Spotify initialization issues
* loading library even though library playback login failed
2021-11-01 10:37:17 +01:00
ejurgensen 65d578f8c8 [scan] Ignore 0-byte files in library so ffmpeg 3.2 doesn't crash 2021-10-29 23:08:37 +02:00
whatdoineed2do a5f75dab36
[jsonapi] /api/library/*/{id} returns 404 (instead of 500) on not finding item (#1326)
Co-authored-by: whatdoineed2do/Ray <whatdoineed2do@nospam.gmail.com>
2021-10-25 17:36:51 +02:00
ejurgensen 383146eb35
Merge pull request #1327 from owntone/jsonapi-multi-track-put3
[jsonapi] Add PUT /api/library/tracks endpoint (update multiple tracks)
2021-10-10 23:45:26 +02:00