Commit Graph

4865 Commits

Author SHA1 Message Date
whatdoineed2do/Ray
8c024387ae [web-src/jsonapi] endpoint GET /api/update/meta -> PUT /api/rescan 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
bf7c96d23f [web-src] forced meta rescan 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
e9c1a59ad2 [jsonapi] expose force metadata rescan via /api/update/meta endpoint 2019-07-09 13:54:59 +02:00
whatdoineed2do/Ray
8f311d4360 [library] support forced metadata scan of library, via '.meta-rescan' file 2019-07-09 13:54:59 +02:00
Christian Meffert
b240460469
Merge pull request #769 from chme/webupdate
Small fixes for the player web interface
2019-07-07 10:20:36 +02:00
chme
f5c94ace76 [web-src] Rename component for consistency 2019-07-07 08:24:34 +02:00
Christian Meffert
79a19d582d
Merge pull request #768 from whatdoineed2do/smartpl-date-today
[smartpl] use start of today (ie 00:00) for DATE calculations
2019-07-07 08:00:32 +02:00
whatdoineed2do/Ray
9baba8f8db [smartpl] use start of today (ie 00:00) for DATE calculations 2019-07-06 18:52:58 +01:00
chme
03c50ba81e [web-src] Fix navbar links not working with burger menu visible 2019-07-06 15:21:29 +02:00
chme
5fff68bb13 [web-src] Consolidate burger menu handling on route change in router/index.js 2019-07-06 12:54:33 +02:00
chme
79f3faf991 [web-src] Dirty hack to avoid page jumping during navigation
Without this vue (router) renders the page navigating to in the center first and then the page jumps to the top.
2019-07-06 10:21:37 +02:00
chme
7d9f6738eb [web-src] Add helper function to append max size to artwork url 2019-07-06 09:21:47 +02:00
chme
02478becf0 [web-src] Small styling changes for the navbar/burger menu
- remove arrows from volume and setting dropdown links
- display categories in burger menu with bold text for better visual seperation
2019-07-06 08:31:00 +02:00
chme
9ea7af0215 [web-src] Opening burger menu should not change scroll position of current page 2019-07-06 08:11:30 +02:00
ejurgensen
528a175d99 [main] Conditionally disable functions deprecated by ffmpeg 4.0
av_register_all, av_lockmgr_register and avfilter_register_all
2019-07-03 20:29:31 +02:00
ejurgensen
a321667201 [xcode] Remove deprecated ffmpeg AVFormatContext filename field 2019-07-02 21:48:34 +02:00
ejurgensen
bc8e6794ad [cast] Fix some compiler warnings 2019-07-02 20:42:31 +02:00
ejurgensen
c54dfc3f88
Merge pull request #761 from whatdoineed2do/alsa-readme
[docs] alsa setup
2019-06-24 23:48:40 +02:00
whatdoineed2do/Ray
6f9793d818 [docs] alsa setup 2019-06-23 21:28:33 +01:00
ejurgensen
51d85d0975 [alsa] Fix for ALSA issues when source quality changes (issue #722, issue #744 and issue #754)
* Fix "clicks" during playback, especially on low buffer size devices
  Bug had two causes: Trying to write to the prebuf ringbuffer when it was full
  and writing new audio to the device without first having drained the prebuf,
  thus writing out of order.

* Use snd_pcm_drain() so alsa doesn't report underrun on playback session end
  Removes SNDRV_PCM_IOCTL_SYNC_PTR errors

* Fix missing error check of the return value from snd_pcm_avail (now use snd_pcm_avail_delay)
2019-06-22 21:53:09 +02:00
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
whatdoineed2do/Ray
48568678ea [web-src] queue/track modal displays codec type/bitrate/samplerate/channels 2019-06-12 16:53:48 +01:00
whatdoineed2do/Ray
f194145b8e [jsonapi] queue/track responses incl type/bitrate/samplerate/channels 2019-06-12 16:52:46 +01:00
whatdoineed2do/Ray
e2d62a62a4 [scan] extract 'channels' from (files) audio and type/bitrate/samplerate/channels from streams 2019-06-12 16:52:02 +01:00
whatdoineed2do/Ray
b126a2fbc0 [db] add 'channels' to file/queue tbl 2019-06-12 16:52:02 +01:00
whatdoineed2do/Ray
c796db251d [db] schema v20.01 support codec type/bitrate/samplerate in queue tbl 2019-06-12 16:50:52 +01: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