Commit Graph

4637 Commits

Author SHA1 Message Date
whatdoineed2do/Ray ef9a275c78 [webui] add genre tab mirroring album/artist functionality 2018-11-23 14:11:02 +01:00
whatdoineed2do/Ray 14010eeb28 [smartpl] support searching by ssongartistid (list tracks for artist), artist_id and songartistid 2018-11-23 14:11:02 +01:00
chme 6578f60f01 [web-src] Reduce reconnect interval for web socket connection to 3s and
show number of reconnection attempts in notification message
2018-11-23 14:11:02 +01:00
chme 388c8868d5 [web-src] Update spotify-web-api and adapt to simpified playlist
endpoints
2018-11-23 14:11:02 +01:00
chme e72fd88fb9 [web-src] Add "Add next" button to modal dialogs for
album/artist/track/playlist details
2018-11-23 14:11:02 +01:00
chme 6a520dee98 [web-src] Update dependencies 2018-11-23 14:11:02 +01:00
chme fc3317c445 [web-src] Remove links to forked-daapd-web 2018-11-23 14:11:02 +01:00
chme e4f288c5b4 [web-src] Change player web interface build system to use vue-cli v3
Also bumps the player web interface version to 0.2.0.

Previously the build was based on the vue.js webpack template. The
template is deprecated and the recommended method for setting up a vue
application is vue-cli. This also changes the build from using webpack
v3 to webpack v4.
2018-11-23 14:11:02 +01:00
ejurgensen fb1402e6f4
Merge pull request #623 from chme/jsonapi
[README] Document JSON API endpoints /api/update and /api/library
2018-11-19 23:01:45 +01:00
chme b86f9f437d [README] Document JSON API endpoints /api/update and /api/library (fixes
#618)
2018-11-19 20:33:27 +01:00
chme 225b69595c
Merge pull request #620 from chme/player_shuffle
Fixes for shuffle mode in player web interface
2018-11-17 19:50:29 +01:00
chme a8e8dc1999 [library/db/filescanner/spotify] Reshuffle after adding non library
items to the queue
2018-11-11 07:01:22 +01:00
chme 05141480e2 [player/db] Increment queue version if shuffle mode is turned off
This fixes showing the wrong queue in the player web interface after
turing shuffle mode off.
2018-11-11 07:01:22 +01:00
chme 4cf71bafcc
Merge pull request #605 from chme/play_next
[jsonapi] Add support for a position parameter in the queue/items/add endpoint
2018-11-02 18:38:10 +01:00
ejurgensen ab7d630395
Merge pull request #611 from whatdoineed2do/m3u-https-filescanner-fix
[filescanner] parse https streams for m3u
2018-10-27 14:41:23 +02:00
chme 6da97ab866 [README] Add syntax highlighting to code blocks 2018-10-25 19:36:43 +02:00
chme 1db083fa69 [README] Document "position" parameter for queue/items/add in JSON API 2018-10-25 19:36:43 +02:00
chme 8d8663e93d [db/queue] Support adding non-library items at a given position to the
queue
2018-10-25 19:36:43 +02:00
chme d2390933e9 [jsonapi] Support "position" parameter in queue/items/add endpoint 2018-10-25 19:36:43 +02:00
whatdoineed2do/Ray 3b10049d72 [filescanner] parse https streams for m3u 2018-10-23 10:06:11 +01:00
ejurgensen df7456dc39 [mdns] Make connection test optional and only do it for Airplay (fixes #602)
Some remotes don't respond as expected to the test. Retune will give connection
refused, because the test is made too quickly, before the service is running.

Even if we delay the test it won't work because Retune crashes.

Since the false mdns advertisements are only seen on Airplay, we only do the
test there.
2018-10-14 22:13:58 +02:00
Don Cross 07e46d75c8 [alsa] Made resync period configurable 1..20 seconds, with default=10. (#604)
The unconfigurable resync period of 10 seconds was not frequent
enough to keep my own ALSA device in sync with the AirPlay stream.
Now the period is configurable.  The default is still at 10
seconds, to prevent any change in behavior unless opted in by
the user.

Currently the adjustment causes a tiny "click" distortion in the
ALSA output, so it is better to make the check as infrequent as
possible, while still being frequent enough to stay in sync
over lengthy sessions of playback.

Added source_sample_rate, target_sample_rate to alsa_session.
This is a first step toward rendering ALSA at a different
sampling rate than the AirPlay stream, so that (a) we will
be able to dynamically adjust the ALSA sampling rate for an
improved sync algorithm, and (b) later, a more generalized
resampling algorithm can accommodate very different hardware
sampling rates like 22050 Hz or 48000 Hz.

Reworked alsa_session_free() so that it can be used to
tear down a partially initialized alsa_session if an
error occurs in the middle of alsa_session_make().
This simplifies the error handling logic in alsa_session_make().
This refactoring will be helpful later when resampling is added,
because more data structures will be dynamically allocated
during initialization.

Signed-off-by: Don Cross <cosinekitty@gmail.com>
2018-10-14 20:40:36 +02:00
ejurgensen 830d8594aa [raop] Use et=4 to determine support for auth_setup (issue #557) 2018-10-09 21:35:15 +02:00
ejurgensen 41126d7be4 [artworkapi/jsonapi] Retrieve artwork for track/album/artist 2018-10-07 21:54:38 +02:00
ejurgensen c1619f7be0 [httpd] Increase max depth of path_paths (fixes #599) 2018-10-07 21:42:37 +02:00
ejurgensen 75dd9a5764 [daap] Fixup 2018-10-04 22:39:46 +02:00
ejurgensen 6109a5b6dd [daap] Don't send two errors on auth problems + use 401 instead of 403 (issue #594) 2018-10-04 22:33:30 +02:00
chme d5ab294172 Merge forked-daapd-web into forked-daapd 2018-10-01 12:54:15 -07:00
ejurgensen e9c7441241 Bump to version 26.4 2018-09-30 23:13:55 +02:00
ejurgensen 004b2fcc38 ChangeLog and README for forked-daapd 26.4 2018-09-30 23:13:18 +02:00
ejurgensen 75743bea80 [daap] Fix missing prompt for library password for non-remote DAAP clients (fixes #594) 2018-09-30 22:39:53 +02:00
ejurgensen b54c9ff1c6 [db] Fix count error in db_build_query_browse() if no items match query 2018-09-23 01:37:40 +02:00
ejurgensen aa3aa383ef [raop] If ipv6 fails, fall back to ipv4 and disable ipv6 permanently for the device 2018-09-19 23:03:33 +02:00
ejurgensen f686756dd8 [db] Upgrade schema to 19.10 to remove invalid time_skipped values from commit fde0a281 2018-09-19 19:40:45 +02:00
ejurgensen a003c419c3 [db] Add missing casts of time_skipped (fixes #593)
The print mask for some reason uses int64, so time_skipped was too short
2018-09-19 08:12:40 +02:00
ejurgensen 4a16384d3a [filescanner] Convert plist timestamps to Unix when importing iTunes XML 2018-09-18 20:29:28 +02:00
ejurgensen 97233d4753 [raop] Put ipv6 IP literals in brackets as per rfc3986 2018-09-16 22:19:27 +02:00
ejurgensen 2a9d3f7474
Merge pull request #591 from chme/queue_add_pos
[db] Add support to add items to the queue at a specified position
2018-09-16 13:13:13 -07:00
ejurgensen 3395282591
Merge pull request #590 from chme/automatic-rating
Add automatic calculation of ratings based on played/skipped
2018-09-16 13:07:06 -07:00
chme 7252b3e509 [db] Add support to add items to the queue at specified position 2018-09-16 09:36:43 +02:00
chme f84e67ed5e [db/conf] Add automatic calculation of ratings based on played/skipped
If activated in the configuration file, rating is updated after playing
or skipping a song. The calculation is based on how it is done in the
mpdstats plugin for beets
(https://beets.readthedocs.io/en/latest/plugins/mpdstats.html).
2018-09-16 08:46:16 +02:00
ejurgensen 197fc6402e
Merge pull request #588 from chme/dacp_queue
[dacp] Only return requested number of queue item (fixes #556)
2018-09-13 12:28:09 -07:00
chme 3ca5402638 [dacp] Only return requested number of queue item (fixes #556) 2018-09-13 21:11:41 +02:00
ejurgensen 2c1f2f1b15 [mdns] connection test: don't wait if connect() succeeds immediately 2018-09-10 20:18:06 +02:00
ejurgensen 475c598d0e [mdns] Check return values of avahi_address_snprint() 2018-09-09 22:17:31 +02:00
ejurgensen d97358f612 Bump to version 26.3 2018-09-08 16:50:54 +02:00
ejurgensen d1796c71a5 ChangeLog and README for forked-daapd 26.3 2018-09-08 16:50:33 +02:00
ejurgensen 1b754f141c
Merge pull request #586 from chme/lastfm
Fix error logs for non persistent queue items
2018-09-08 16:02:16 +02:00
chme 461a1d55bf [player] Only add persistent items to history
The current logic in httpd_dacp.c cannot handle non persistent items
correctly. The items are always shown with the dummy_mfi with "unkown
artist" etc.
2018-09-08 09:14:24 +02:00
chme 9a47335a05 [player] Only increment playcount and scrobble persistent items
Ommits useless update query for playcount for items that are not in the
library. Also avoids trying to scrobble these items (fixes error log
message "lastfm: Scrobble failed, track id 9999999 is unknown")
2018-09-08 08:32:49 +02:00