chme
cef4fedfb4
Remove unused structs and player arguments
2016-12-03 11:12:19 +01:00
chme
c504abe451
Use queue db table instead of in memory queue struct
2016-12-03 11:11:33 +01:00
ejurgensen
bdd6bab982
[-] Lots of housekeeping thanks to scan-build and input from @acmay
2016-11-19 23:08:50 +01:00
chme
eddab1f1c0
[dacp] Use correct log domain
2016-11-04 19:10:07 +01:00
chme
bdb2c74934
[player/dacp/mpd] Pass absolute volume to speaker enumerate callback and
...
add absolute volume to mpd 'outputs' command
2016-10-25 22:40:48 +02:00
ejurgensen
c44f4310b7
[httpd] Replace evhttp_send_error with the httpd_send_error wrapper
2016-10-18 22:45:22 +02:00
ejurgensen
40c49f1fde
[httpd] Use httpd_send_reply() wrapper in httpd_*, dmap_common and mpd
2016-10-17 22:25:31 +02:00
ejurgensen
249d923af2
[httpd] Allow caller of httpd_send_reply to avoid gzipping
2016-10-17 14:18:13 +02:00
ejurgensen
dbf9a208b8
[dacp] Don't return hard error if queue item goes missing
...
Remote doesn't seem to like the 500 Internal error we were sending
if queue item went missing, e.g. during pause.
2016-03-23 20:38:19 +01:00
chme
cb919515e4
[dacp] Start playback from selected song in the playqueue if player is
...
stopped
2016-03-19 09:40:36 +01:00
chme
d000ea571b
[dacp] Return the playqueue even if player is stopped
2016-03-19 09:40:36 +01:00
chme
d35894ac15
[mpd] Return correct item-id for command 'addid' and return correct
...
number of items in the queue if player is stopped for command 'status'
2016-03-19 09:40:36 +01:00
ejurgensen
b454a2fd60
[general] Put back support for platforms without pipe2(), see issue #239
2016-03-17 22:20:16 +01:00
chme
c2ba2f6779
[dacp] Fix playing from history for Remote
2015-10-31 06:18:05 +01:00
ejurgensen
9853b8f9bd
Merge pull request #188 from chme/playerfixes
...
Playerfixes
2015-10-19 22:15:43 +02:00
chme
551f441273
[dacp] Fix playing from playspec request
2015-10-19 21:55:43 +02:00
ejurgensen
55104015e0
Full removal of libevent 1 legacy code. Also drop pipe() in FreeBSD, since pipe2 is available now.
2015-10-19 21:15:29 +02:00
chme
199b765a7d
[player] Store item-ids in history to allow start of playback from the
...
previously played items in dacp
2015-10-04 08:05:37 +02:00
chme
ba3385b0ec
[queue] Remove queue_info and queue_item_info structs
2015-10-04 08:05:37 +02:00
chme
100e08da9d
Rename make_queue functions
2015-10-04 08:05:36 +02:00
chme
c8a61015fc
[dacp] Fix playing of radio streams after queue refactoring
2015-10-04 07:59:58 +02:00
chme
1f53d7ab1a
[queue] Refactor queue handling
...
Decouple the playing/streaming item from the queue. Move all queue
related functions to seperate file queue.h/c.
Introduce internal item "head" to make iterating over the play-queue and
shuffle-queue easier.
2015-10-04 07:59:57 +02:00
chme
1fbedaa54f
[player] Refactor queue_get
2015-10-04 07:57:38 +02:00
chme
f0a6a48599
[player] Refactor queue_remove functions
2015-10-04 07:57:38 +02:00
chme
8e1834cdea
Rename make_queue function and set as static
2015-10-04 07:57:38 +02:00
chme
1812848ee1
Move client protocol specific make_queue functions out of player.c/h
2015-10-04 07:57:38 +02:00
ejurgensen
68912efa1f
Enable resuming playback from saved position for certain media kinds (eg audiobooks)
2015-08-04 22:33:32 +02:00
ejurgensen
7881df67f6
Hack to push live ICY metadata/artwork to remote clients
2015-07-31 14:43:22 +02:00
ejurgensen
1fe6521aff
Remove libevent 1 support in httpd_dacp
2015-07-30 22:50:11 +02:00
chme
41a08d1931
[mpd] rework listener events to use a bit map
2015-05-18 20:12:18 +02:00
chme
d2c7c87191
use listener logic to send dacp update requests
2015-05-09 07:46:33 +02:00
ejurgensen
7841e59afc
Don't report negative remaining times for streams
2015-04-11 22:38:33 +02:00
ejurgensen
94f94b03fe
Swap artwork arguments so destination evbuffer comes first
2015-04-09 21:23:20 +02:00
chme
10f2eb2409
Improve behaviour for playing from history
2015-02-26 17:29:13 +01:00
chme
f4fcbfb526
Fix segfault when starting playback for audiobooks (dacp_reply_playspec)
2015-02-22 06:13:21 +01:00
chme
830054bd71
Initial support for mpd protocol
2015-02-14 08:50:18 +01:00
ejurgensen
dccbe92a75
Only do hex conversion if param is 0x-format. Also accept song-spec from Retune (issue #90 ).
2015-01-26 22:37:02 +01:00
ejurgensen
a2151a2cd5
Add playqueue-edit mode 2 comment
2015-01-18 22:54:01 +01:00
chme
7578bb1205
Artwork caching (pull request #61 ), and also:
...
- introduced new section in config file for sqlite pragma settings,
added config for artwork cache
- added setting of pragma synchronous, cache size and journal mode to
daap cache
2014-11-10 22:53:08 +01:00
ejurgensen
dafa26a48a
Protect against uinitialized var if query is empty
2014-09-26 23:13:17 +02:00
chme
49a985391d
Ignore queuefilter on playqueue-edit-add if mode = 0 (add to up next)
2014-07-19 08:44:27 +02:00
ejurgensen
0a2d2273bd
Remove build warning caused by data type mismatch
2014-06-22 22:29:45 +02:00
ejurgensen
5b4ef31758
Migrate all evhttp to non-deprecated libevent2
...
- well except a troublemaker in httpd_daap.c (req->flags &= ~EVHTTP_PROXY_REQUEST)
2014-05-29 23:22:00 +02:00
chme
b7cb0da2c2
Modifications to the playqueue-clear command:
...
- do not stop playback when clearing the UpNext queue
- clear history, if mode=0x68697374 ("hist")
2014-05-24 07:34:59 +02:00
chme
f60be3c8af
Do not use queryfilter on "play next" and "add to up next" commands
2014-05-18 09:04:17 +02:00
ejurgensen
305c1a141c
Indentation
2014-05-04 22:36:37 +02:00
chme
79646c78e4
fixup indentation
2014-05-03 20:16:51 +02:00
chme
8036a5a6d3
fixes for playqueue-contents
2014-05-03 20:16:51 +02:00
chme
5f307c7ce1
Added support for playqueue-contents with negativ span value (returns the previously played songs)
2014-05-03 20:16:51 +02:00
ejurgensen
8eb6b46ed2
Adjustments to queue_move/queue_remove, mostly for consistency
2014-04-21 21:21:40 +02:00