chme
534bbdb477
[artwork] Introduce constant for default artwork width/height
2018-11-28 20:28:38 +01: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
7252b3e509
[db] Add support to add items to the queue at specified position
2018-09-16 09:36:43 +02:00
chme
41e99ca3cd
[db/mpd/jsonapi] Include artist and album count in filecount query; add
...
count endpoint and additional metadata to JSON API; remove unused
artist-/album-count queries
2018-05-09 22:29:52 +02:00
chme
7dd8955a92
[filescanner] Add http stream to the library prior to adding to a
...
persistent playlist
2018-04-15 22:09:28 +02:00
chme
60ebac076b
Refactor adding non library items to the queue
...
Instead of asking a client to first scan the path into a media_file_info
object and afterwards add it to the queue, we now offer a library
function to directly add a path.
The library-source that can handle the given path translates the path
into new queue item(s) and adds them to the queue.
2018-04-15 22:09:28 +02:00
ejurgensen
ea6fd1476a
[db] Improve speed of browse queries (issue #478 )
...
Before, we returned either unordered (for RSP, meaning client had to
sort) or ordered by a client selected sort_clause[]. The latter are
multi-purpose and therefore not optimised for browse queries.
To speed up, we predefine the entire set of browse queries, including
order, with matching indices. The predefined queries are used except
if the client explicitly requests a non-default order or query.
As a special bonus, the commit also allows queries with I_SUB that
have an offset but no limit.
2018-03-02 21:11:31 +01:00
chme
8b2d40d46f
Initialize local variables to silence OpenWrt compiler warnings
2018-02-22 21:35:38 +01:00
chme
43887d160f
[mpd] Refactor commands to enable/disable/toggle/volume for outputs
2018-02-10 09:04:18 +01:00
chme
93879c6f90
[player] Refactor speaker enumerate callback
2018-02-10 09:04:18 +01:00
chme
141c4e926b
[mpd] Formatting of channel and sticker handler list
2017-12-28 16:12:56 +01:00
chme
8ad6f75815
[mpd] Refactor minimum argument check
2017-12-28 16:12:56 +01:00
Wolfgang Scherer
a7f9d633a3
[mpd] minimal urlhandlers command
2017-12-24 02:46:40 +01:00
chme
434be28460
[mpd] Support position parameter in command 'addid'
2017-12-22 11:24:43 +01:00
chme
a1372c692e
[mpd] Implement 'playlistfind' and 'playlistsearch'
2017-12-22 11:24:43 +01:00
chme
6f4f7c5b16
[mpd] command 'currentsong': report current item if player is stopped
2017-12-22 11:24:43 +01:00
chme
80e0808b18
[mpd] command 'status': report current/next if player is stopped
2017-12-22 11:24:43 +01:00
chme
4034582f1a
[mpd] Fix 'noidle' command handling
...
The noidle command did not prevent idle events to be sent to the client
directly when they occured. This resulted e. g. in M.A.L.P. in errors
trying to play an album from the library)
2017-12-16 08:19:45 +01:00
chme
e7d6fbb9fc
[listener/etc.] Rename LISTENER_STICKER to LISTENER_RATING
...
Unit there is a real sticker implementation, make it clear, that the
event is only triggered for rating changes.
2017-12-15 19:08:32 +01:00
chme
9f1568349b
[mpd] minor cleanup
2017-12-15 19:08:32 +01:00
chme
9165cfc5da
[mpd] Return virtual path to clients in 'sticker find'
2017-12-15 19:08:32 +01:00
chme
dec625ec30
[mpd] Implement 'sticker find' with operator/value parameters
2017-12-15 19:08:32 +01:00
chme
7b04787fc1
[mpd] Check upper bound for sticker 'rating'
2017-12-15 19:08:32 +01:00
chme
7a916c84a2
[mpd] Refactor sticker commands
2017-12-15 19:08:32 +01:00
chme
ef52f4ddc0
Rework user rating updates
2017-12-15 19:08:32 +01:00
Wolfgang Scherer
bbc5d3787e
[mpd] rating sticker translator
2017-12-15 19:08:32 +01:00
chme
2ee02d407b
[mpd] Add support for version and ranges to 'plchanges' and
...
'plchangesposid'
2017-12-09 11:01:41 +01:00
chme
f696229fff
[player/dacp/mpd] Pass additional information to speaker enum callback
2017-12-03 10:46:03 +01:00
Wolfgang Scherer
b363c0dac2
[mpd] Consistent playlist name setup ( #450 )
2017-12-02 16:45:11 +01:00
Wolfgang Scherer
dcc6fcf206
[mpd] Close connection for close command ( #444 )
2017-11-21 19:29:17 +01:00
chme
4800f9943b
[db] Rename 'ADMIN_*' defines to 'DB_ADMIN_*'
2017-11-19 22:08:23 +01:00
chme
96bcaa9102
[mpd] Fix noidle command returning an error; fix format error in stats
...
command
2017-11-19 22:08:23 +01:00
chme
65444bba47
[mpd] Fix missing free for query_params.filter (mostly in case an error
...
occured)
2017-11-19 22:08:23 +01:00
chme
360439f448
[mpd] Cosmetic changes: fix indentation, use bool instead of int
2017-11-19 22:08:23 +01:00
chme
a0a6b7d473
[mpd] Send correct value for uptime in 'stats' command
2017-11-19 22:08:23 +01:00
chme
38ab4b9676
[db] Functions to read/store int in the admin table and introduce
...
constants for admin table keys
2017-11-19 22:08:23 +01:00
Wolfgang Scherer
fa76b6380c
[mpd] correct handling of noidle
command
2017-11-18 07:15:45 +01:00
chme
8d130cdc7c
[listener] Support passing multiple events in a single notify call
2017-11-18 07:15:45 +01:00
chme
1e24b3656a
[mpd] Fix idle command (idle events got lost if they happened while the
...
client was not in idle mode)
2017-11-18 07:15:45 +01:00
chme
1cdb9f450d
[library/mpd] Store db update time in admin table and trigger DATABASE
...
event on init/rescan only if an update/insert occurred
2017-11-17 19:40:04 +01:00
Wolfgang Scherer
37aaf73f6a
[library] Deferrable library update time with persistence (TBD)
2017-11-17 18:12:03 +01:00
Wolfgang Scherer
9f11a69c79
[mpd] enable database and update events for idle clients
2017-11-17 18:12:03 +01:00
ejurgensen
a6fab4ac0d
[httpd/mpd] Adjustments to commit #69ff42f
2017-11-15 23:13:20 +01:00
Wolfgang Scherer
69ff42fc6a
[mpd] apply trusted_networks to MPD
2017-11-15 22:29:22 +01:00
ejurgensen
75b14b85e9
Merge pull request #435 from wolfmanx/mpd-argument-unquoting
...
[mpd] Quoted argument unescaping fixed
2017-11-11 10:04:57 +01:00
Wolfgang Scherer
c48b819170
[mpd] password command
2017-11-10 09:55:44 +01:00
Wolfgang Scherer
5a960a3450
[mpd] Quoted argument unescaping fixed
2017-11-08 23:03:32 +01:00
ejurgensen
04dc5956ed
[mpd] Fix crash-on-exit because evconnlistener_free() doesn't ignore NULL pointers (issue #430 )
2017-10-30 23:07:10 +01:00
ejurgensen
a94fda38cc
[mpd] Some minor fixup
2017-10-20 19:49:17 +02:00
ejurgensen
88a565ea2c
[db] Replace sqlite3_xxx() calls outside db.c/cache.c so they are abstracted
2017-10-17 23:11:31 +02:00