Commit Graph

5576 Commits

Author SHA1 Message Date
ejurgensen 6f0fef6179 [spotify] Reintroduce libspotify support, change spotifyc to librespot-c
Select use of either libspotify or librespot-c as streaming backend via config
option.

librespot-c (renamed/improved spotifyc) impl has the following:
- sync interface
- seek support
- honor bitrate config, set client and thread name
- use web access token with "streaming" scope for login
- fix issue with podcast playback

Also say goodbye to file-based Spotify login.
2021-05-31 23:24:58 +02:00
ejurgensen 2bbc5f16c5 [xcode] Add support for seekable custom I/O (evbuffer input to transcode) 2021-05-31 11:55:32 +02:00
ejurgensen 57449a126a [xcode] Merge avio_evbuffer into transcode
Only used by transcode anyway. Makes it easier to add custom seek for evbuffer.
2021-05-31 11:55:32 +02:00
ejurgensen b058f47ffb [input] Also log input buffer threshold in debug mode 2021-05-31 11:55:32 +02:00
ejurgensen a67c74ba6c [spotify] Introduce own spotifyc as replacement for libspotify 2021-05-31 11:54:30 +02:00
ejurgensen d3cc8a52f8 [mpd] Minor fixup 2021-05-28 16:57:57 +02:00
ejurgensen 06e9a1af21
Merge pull request #1261 from owntone/dacp_volume1
[dacp] Fix support for device-volume (speaker volume buttons)
2021-05-26 23:49:17 +02:00
ejurgensen c96dc1fcff [dacp] Fix support for device-volume (speaker volume buttons)
Closes #613
2021-05-26 23:20:40 +02:00
ejurgensen d2187d0ace [db] Partially revert commit aaffa4a so that source sort tags are used again
Fix for issue #1257
2021-05-25 23:44:53 +02:00
ejurgensen e8619d8322
Merge pull request #1259 from owntone/fix_add_spotify_queue1
[db] Fix error where adding e.g. Spotify track to queue returns "0 tracks added"
2021-05-25 23:38:29 +02:00
ejurgensen 5ccb3a857c
Merge pull request #1258 from jm2/master
Add additional dependencies for systemd startup.
2021-05-25 09:31:11 +02:00
John-Michael Mulesa 560519b8d1 Fix avahi-daemon dependency in systemd init script.
'After:' only specifies when in the ordering that systemd will
attempt to start your unit file, however if one of the listed
services is disabled, it won't directly enable the disabled service.
'Requires:' should do exactly that: call the dependency that's needed
in order to start the service, regardless of its enablement state on
the system.
2021-05-25 11:45:27 +10:00
ejurgensen 684c23a044 [db] Fix error where adding Spotify track to queue returns "0 tracks added"
Caused by queue_item_add returning >0 as success, but caller is expecting ==0.
Try to avoid other occurancess of this issue by generally checking for error
("ret < 0") instead.
2021-05-24 21:55:09 +02:00
ejurgensen a597737cad Bump version to 28.1 2021-05-21 23:45:00 +02:00
ejurgensen b54df43da4 ChangeLog and README for OwnTone 28.1 2021-05-21 23:44:44 +02:00
ejurgensen 5fdace5195 [web] Remove verbose listener_cb() logging added in commit f939215 2021-05-21 23:43:00 +02:00
ejurgensen 28f8ff5253 [web] Fix libwebsocket 2.0 (Debian Buster) incompability added in commit 1a56255 2021-05-21 19:59:12 +02:00
ejurgensen e837de91e8 Bump to version 28.0 2021-05-21 18:54:41 +02:00
ejurgensen ddd2c5ea85 ChangeLog and README for OwnTone 28.0 2021-05-21 18:53:53 +02:00
ejurgensen 5de0533232 [airplay] Add mdns txt for Sonos Symfonisk 2021-05-21 18:50:28 +02:00
ejurgensen 1a56255c54 [web] Fix for websocket server only listening on ipv6 on FreeBSD
Credit @luusl
2021-05-21 16:13:44 +02:00
ejurgensen 5128d9478a [misc] Fix for evhttp_bind_socket not supporting dual stack ipv4/6 on BSD 2021-05-20 21:01:00 +02:00
ejurgensen c1db4d914f [http] Also allow remote playlists to have https streams (fixes #1251)
Fix it by adding net_is_http_or_https() utility function in misc.h and make
sure it used whenever a http protocol check is made.
2021-05-19 22:53:25 +02:00
Christian Meffert 947d3a0719
Merge pull request #1252 from chme/web-update
[htdocs] Rebuild web interface v1.0.1
2021-05-19 22:05:11 +02:00
chme fc6c9e15af [htdocs] Rebuild web interface v1.0.1 2021-05-19 20:38:39 +02:00
Christian Meffert f93921554e
Merge pull request #1243 from luusl/enhance_websocket
Improve the websocket to send events to clients immediately.
2021-05-19 20:32:08 +02:00
ejurgensen b372c4ecb4
Merge pull request #1250 from taku0220/ALAC_sort_tags
[scan] Add sort tags for ALAC
2021-05-18 21:05:23 +02:00
taku0220 4d22cb05b3 [scan]Add sort tags for ALAC 2021-05-19 03:02:08 +09:00
martin f3e5400caf Libwebsockets 2.x compatibility 2021-05-17 12:47:57 +02:00
Christian Meffert 96ee183732
Merge pull request #1246 from chme/webui-owntone
[htdocs] Update site webmanifest (renaming forked-daapd to OwnTone)
2021-05-15 08:25:05 +02:00
chme e8aa82272a [htdocs] Update site webmanifest (renaming forked-daapd to OwnTone) 2021-05-15 08:22:37 +02:00
Christian Meffert 760d5af435
Merge pull request #1241 from chme/webui-owntone
Web interface "OwnTone"
2021-05-15 07:33:38 +02:00
martin a15edfcae9 Improve the websocket to send events to clients immediately. 2021-05-13 22:54:11 +02:00
chme df3a95b880 [htdocs] Build OwnTone web interface v1.0.0 2021-05-13 17:05:58 +02:00
chme 55a92e84c2 [web-src] Rename forked-daapd to OwnTone 2021-05-13 16:03:10 +02:00
Chris Lenfert 525506de1a removes background layer from source file 2021-05-13 15:57:59 +02:00
Chris Lenfert c8afa27ebf updates logo and index with owntown files 2021-05-13 15:57:47 +02:00
chme 1eb4f61043 [web-src] bump version to 1.0.0 and update dependencies 2021-05-13 15:56:17 +02:00
ejurgensen 520a1251ec [-] Change forked-daapd -> owntone in src/.gitignore 2021-05-06 20:48:52 +02:00
ejurgensen 0bbc35b50f [config] Update htdocs/Makefile.am so owntone will run
Fixes error after renaming in b63a2e0
2021-05-05 12:00:20 +02:00
ejurgensen b63a2e0976
Merge pull request #1224 from owntone/rename_owntone2
Main renaming of forked-daapd
2021-05-01 16:50:27 +02:00
ejurgensen a93455b5a9 [cfg] Rename configure macros FORK -> OWNTONE 2021-04-24 23:54:20 +02:00
ejurgensen 90ae602bd5 [docs] Name change forked-daapd -> owntone in FreeBSD scripts 2021-04-24 23:54:20 +02:00
ejurgensen 5f1686695a [-] Name update forked-daapd -> owntone throughout the code 2021-04-24 23:54:20 +02:00
ejurgensen f61665b81d [-] Rename source and target names from forked-daapd to owntone 2021-04-24 23:54:20 +02:00
ejurgensen 0871a49f28 [docs] Name change of forked-daapd to OwnTone 2021-04-24 23:54:12 +02:00
ejurgensen 89807b61ed [input] Fix possible segfault-on-exit
Could occur if killed during playback (because input_stop() is async, thus
referencing cmdbase after it is destroyed)
2021-04-22 17:00:36 +02:00
ejurgensen e3213066ce
Merge pull request #1225 from luusl/fix_pulse_sinklist_cb
Fixed potential crash on pulseaudio sink info callback, when an error occurs
2021-04-12 06:46:42 -07:00
luusl 8a1f85a14e Fixed potential crash on pulseaudio sink info callback, when an error
occurs.
2021-04-12 13:11:47 +02:00
ejurgensen f77161b5c2 [jsonapi] Get currently playing queue item details (closes #1206)
Add now_playing shorthand, so that /api/queue?id=now_playing returns the
currently playing queue item info.
2021-04-05 08:49:27 -07:00