Commit Graph

4740 Commits

Author SHA1 Message Date
Christian Meffert
795da5059d
Merge pull request #758 from chme/web_update
[htdocs] Update player web interface
2019-06-17 22:00:32 +02:00
ejurgensen
398a61d4c4
Fix libconfuse version number (fixes #760)
Credit @whatdoineed2do
2019-06-17 13:12:31 +02:00
ejurgensen
a28e370c4f
Merge pull request #748 from chme/conf_deprecated
[conf] Gracefully handle the change of config options for modifying playlists
2019-06-16 22:05:08 +02:00
chme
f6e5e742be [htdocs] Rebuild player web interface (v0.5.3) 2019-06-15 13:34:53 +02:00
chme
eaea9bd4f8 [web-src] Fix missing pause-button for spotify songs 2019-06-15 13:26:18 +02:00
chme
9b90e0d376 [web-src] Update passing options to vue-draggable
Old way to pass options is deprecated
2019-06-15 13:12:04 +02:00
chme
acaf3d01f7 [web-src] Update dependencies in package.json 2019-06-15 13:08:54 +02:00
chme
94af51f19b [conf/logger] Log error message from libconfuse in forked-daapd log 2019-06-15 12:21:27 +02:00
chme
9351d905f2 [mpd] Handle deprecated config options gracefully 2019-06-15 12:21:27 +02:00
chme
9cc7381551 [configure] Require libconfuse >= 3.0.0 2019-06-15 12:21:27 +02:00
chme
7853f80269 [conf] Readd old config options in mpd section as deprecated 2019-06-15 12:21:27 +02:00
ejurgensen
0cb8907201 [streaming] Logging fix 2019-06-12 22:51:25 +02:00
ejurgensen
f03d96f152
Merge pull request #756 from sshambar/fixalsa
[alsa] asoundlib.h should be alsa/asoundlib.h
2019-06-12 15:20:13 +02:00
Scott Shambarger
20f5118f75 [alsa] asoundlib.h should be alsa/asoundlib.h 2019-06-11 20:10:04 -07:00
Christian Meffert
72534ec570
Merge pull request #751 from chme/jsonapifix
[jsonapi] Fix segfault if no default playlist directory is set in conf
2019-06-02 08:15:08 +02:00
chme
d35333139e [jsonapi] Fix segfault if no default playlist directory is set in conf 2019-06-01 08:12:38 +02:00
ejurgensen
4f5966c9ff [db] Speed up Q_PL query used by e.g. '/databases/1/containers' request
The previous solution would use subqueries to count the number of items and
streams in each playlist, which means that response time gets pretty slow if
there are many playlists.

This commit also includes a number of lesser db code changes.
2019-05-30 21:19:40 +02:00
Christian Meffert
1aae870449
Merge pull request #747 from chme/pr718-save-queue
Rebased version of pr718 "save queue playlist"
2019-05-30 11:37:42 +02:00
chme
4434fe7a2c [jsonapi] Check for empty playlist name in queue/save 2019-05-30 11:23:22 +02:00
chme
3650a7573f [web-src] Restyling of queue save modal dialog 2019-05-30 11:23:22 +02:00
chme
2b4b9c747f [jsonapi] Add config options for saving playlists to config reply 2019-05-30 11:23:22 +02:00
whatdoineed2do/Ray
ed9f05ac30 [web-src] 'save playlist' from PageQueue functionality 2019-05-30 07:24:39 +02:00
whatdoineed2do/Ray
d28f7f43b7 [jsonapi,mpd,conf] save playlist via JSON api
- new endpoint api/queue/save?name= to .m3u via library_save()
- refact for common cfg for playlist save options
2019-05-30 07:23:04 +02:00
Christian Meffert
d6f45054f0
Merge pull request #746 from chme/webupdate
Update player web interface
2019-05-28 23:12:28 +02:00
chme
f70ef3ad66 [htdocs] Rebuild web interface v0.5.2 2019-05-28 22:54:14 +02:00
chme
509141ebe3 [web-src] change styling of url-modal, default to play the stream and
set focus after showing the modal
2019-05-28 22:48:58 +02:00
chme
4c15c40b07 [web-src] Update dependencies 2019-05-28 21:31:54 +02:00
Christian Meffert
bbd35124ad
Merge pull request #744 from whatdoineed2do/url-stream-dialog-fix
[web-src] missing modal display for URL stream (20c36cb48)
2019-05-28 20:58:11 +02:00
ejurgensen
380f1358d5 [xcode] Disable reconnect_at_eof, does not work with m3u8 (fixes #745)
Only fixes #745 with newer versions of ffmpeg. With ffmpeg 3.4 playback
will still get interrupted because av_read_frame returns an error.
2019-05-21 21:19:03 +02:00
ejurgensen
7bf90eb8cb [xcode] Fix for reading mono sources (ref issue #742) 2019-05-19 22:45:39 +02:00
whatdoineed2do/Ray
18f4888bfc [web-src] missing modal display for URL stream (20c36cb48) 2019-05-19 15:44:15 +01:00
Christian Meffert
cbd8d8a44d
Merge pull request #740 from whatdoineed2do/library-https-stream
[library] accept https:// streams
2019-05-18 07:36:45 +02:00
ejurgensen
f8da3a0227 Merge branch 'album_meta1' 2019-05-17 23:36:11 +02:00
ejurgensen
b3d6211371 [db] Upgrade db schema to 21.0
Commit b3bfb0a and e1993bc change the triggers and calculation of id's in a way
that is not backwards compatible, so we need to make major schema upgrade.
2019-05-17 23:07:48 +02:00
ejurgensen
e1993bc7b6 [db] Comeback for the files-table insert trigger 2019-05-17 23:03:05 +02:00
ejurgensen
35a585c23e [scan] Use MusicBrainz and other tags to set songalbumid
Credit to @whatdoineed2do for finding tags and suggesting this change.
2019-05-17 23:03:05 +02:00
ejurgensen
b3bfb0a5f6 [db] Move calculation of artist/album id's from sqlite to code
The purpose of this is to support library backends making their own
calculation of these id's, which is relevant if they have more information
available than just album_artist and album.

This also removes a bunch of sqlite extension code plus some triggers, which
in itself is probably an improvement.
2019-05-17 23:03:05 +02:00
ejurgensen
c8650a0450 [cast] Put back Chromecast exclude option
Was removed by mistake in commit f8b0147
2019-05-16 23:04:33 +02:00
ejurgensen
31d852993f
Merge pull request #741 from whatdoineed2do/seekable-http-streams
Seekable http streams
2019-05-16 15:26:32 +02:00
ejurgensen
cd7bf45749
[alsa] Return ALSA the error code from buffer_write, not -1 2019-05-15 11:53:13 +02:00
whatdoineed2do/Ray
20c36cb48f [web-src] PageQueue: new button to add URL streams outside of library to queue 2019-05-12 11:21:34 +01:00
whatdoineed2do/Ray
fb32eca430 [web-src] url/http streams with known length are pausable 2019-05-12 11:08:59 +01:00
whatdoineed2do/Ray
37ce8dd607 [inputs] enable seek on non-live http streams 2019-05-12 11:08:42 +01:00
whatdoineed2do/Ray
bc8a156132 [library] accept https:// streams 2019-05-12 11:07:08 +01:00
ejurgensen
c36df4fb8e [raop] Bring back forgotten keep-alive for Apple TV's
The keep-alive was accidently disabled by the player refactor (after v26.5).
2019-05-12 00:11:07 +02:00
ejurgensen
a208604c86 [player] More comprehensive attempt at fixing short tracks (issue #733)
Replace reading_next and reading_prev with a list of sources, so that we can
deal with short tracks, i.e. tracks where reading ends before playback starts.
2019-05-11 23:16:22 +02:00
ejurgensen
f793ad9f3e [player] Fix incorrect player state while buffering (partial fix for #738)
Player would return PLAYER_PLAYING when resuming playback after a pause, but
it should initially return PLAYER_PAUSED because it is still buffering.
2019-05-10 16:47:18 +02:00
ejurgensen
1948dcb959 [player] Quick fix for short track segfault (issue #733)
With short tracks reading ends before playback starts, so event_read_eof comes
before event_play_start, which causes playing_now to point to a null
reading_now.

With this change it will point to a non-null reading_prev, but note that in the
hopefully rare case of multiple short tracks, the playing_now pointer will
still be incorrect.
2019-05-05 23:21:28 +02:00
Christian Meffert
d43e688dfd
Merge pull request #736 from ali-graham/ws_disable_ipv6
[websocket] disable ipv6 in ws_init if disabled in config
2019-05-05 17:37:08 +02:00
Ali Graham
c7cab8ef6f [websocket] disable ipv6 in ws_init if disabled in config 2019-05-05 22:45:28 +09:30