ejurgensen
161338752c
Support for genre tag in dacp playqueue-edit queuefilter
2013-12-02 22:19:12 +01:00
ejurgensen
c360bdd5bd
Also account for playqueue-edit?...queuefilter=album:(null)
2013-11-23 23:05:13 +01:00
ejurgensen
1199a459ac
Obey device "md" (metadata) tag - credit @couteau
...
- original patch https://gist.github.com/couteau/7532531
2013-11-23 11:25:30 +01:00
ejurgensen
9760a43ccf
Add support for mode 2 (shuffle) in playqueue-edit and -contents
2013-11-22 22:05:55 +01:00
ejurgensen
afd25b79d9
Support for playqueue-edit
2013-11-22 16:41:57 +01:00
ejurgensen
a4c16741d9
Better support for playqueue-edit (command add, mode 1)
...
- reply message not fixed
2013-11-21 23:33:03 +01:00
ejurgensen
f42bbd37e1
Add basic support for playqueue-contents (real reply) and add placeholder
...
for playqueue-edit
2013-11-14 23:14:58 +01:00
ejurgensen
84b8a7653d
Enable play count with Remote
...
The purpose is to get the "Unplayed" tab for Podcasts in Remote
working, which requires that we increase the counter even when
playback is with Remote/RAOP (and not just iTunes streaming, which
was already working)
2013-10-26 23:13:02 +02:00
ejurgensen
6fb718b55e
Fix for Apple TV update 6.0
...
- don't send Apple Challenge and RSA/AES key/iv if no encryption
- assume no password if no pw field
- clean up some indentation in raop.c
2013-10-13 21:48:15 +02:00
ejurgensen
9704a1e65d
Bug fix when trying to restart single song in playlist
...
cur_streaming may be null, so can't address cur_streaming->ctx
2013-09-25 20:14:13 +02:00
ejurgensen
04ae27f914
Autoselecting local audio just messes up speaker selection.
2013-08-31 12:47:13 +02:00
ejurgensen
b6df68b75b
Fix: Clearing retransmit buffer after player stop could crash due
...
to reading pointer from free'd memory (in raop.c). Also added some
safeguards against passing invalid file descripters to close()
in player.c.
2013-08-17 23:05:50 +02:00
Scott Atkinson
b52bd94380
Update to support some older, encrytped APEs
...
Some APEs report their am value as something like `AirPort4,107` (Old
version) or `AirPort10,115` (new version). (There is some evidence in
the player.c code that some old APEs do not report an AM value at all,
but all three of mine do.
As far as I can tell, the following is true of APEs with AM values:
- am="AirPort4..." - Encrypted (so devtype should remove
`RAOP_DEV_APEX_80211N`)
- am="Airport10..." - Not encrypted (so devtype should be set to
`OTHER`)
So, I suggest the following change to line 28:
```
else if (strncmp(p, "AirPort4", strlen("AirPort4")) != 0)
```
There may be other flavors of APEs that may fail this test, but it's
the best I can suggest with the devices I have.
2013-07-26 10:24:08 +02:00
Kai Elwert
49ab2a3ce4
Allow playback on non apple airplay devices
2013-07-04 14:57:00 +02:00
Julien BLACHE
2cead60432
Remove unused prev variable
2011-04-24 18:43:58 +02:00
Julien BLACHE
53588f36af
Wire up metadata handling in player and RAOP
...
This enables sending out metadata to AppleTV.
2011-04-09 10:11:35 +02:00
Julien BLACHE
d208ca79d4
Add support for metadata handling in player
2011-04-09 10:11:35 +02:00
Julien BLACHE
db67f4ed6f
Set has_video flag for AppleTV devices
2011-04-09 10:11:34 +02:00
Julien BLACHE
f3e7836453
Introduce struct spk_flags to reduce argument count for enumeration callback
2011-04-09 10:11:34 +02:00
Julien BLACHE
0d0877de9c
Honour IPv6 config option in player/RAOP
2011-03-20 12:20:07 +01:00
Julien BLACHE
d8b7980fe4
Do not ask mDNS for IPv6 addresses if RAOP can't use IPv6
2011-03-15 19:20:38 +01:00
Julien BLACHE
ec7c3d108c
Let player know about IPv6 status in RAOP
2011-03-15 19:20:38 +01:00
Julien BLACHE
d0fa636643
Properly take ownership of new device address
...
Added addresses are transferred from dev to the existing rd. Set the
address to NULL in dev to avoid free()ing it in device_free() a few lines
down the road.
2011-03-15 19:20:38 +01:00
Julien BLACHE
e08c42b3c0
Player wants IPv4/IPv6/IPv6LL from mDNS for _raop._tcp
2011-03-10 21:08:25 +01:00
Julien BLACHE
6cd59a1240
Introduce mDNS browser flags for address type selection
...
Allow each user to specify the address types that should be returned
through the mDNS browse callback.
2011-03-10 21:08:25 +01:00
Raivo Hool
86a90fe81f
Fix conversion to per-command lock & condition for FreeBSD
...
Leftover from commit 7f79ca5709
2011-02-23 19:09:26 +01:00
Julien BLACHE
2011c33526
Cosmetic fix to RAOP device type strings
2010-12-12 10:27:04 +01:00
Julien BLACHE
00c6de15ae
Make player_playback_stop() a synchronous call for real
...
Also, don't stop RAOP devices, just FLUSH them; this saves time when we
restart playback soon after stopping.
2010-12-12 10:25:21 +01:00
Julien BLACHE
507cdb00e8
Rename playback_stop() to playback_abort() and make it an internal helper
2010-12-12 10:12:39 +01:00
Julien BLACHE
dc31d75801
Fix endless loop on source errors under some REPEAT settings
...
Let source_read() propagate errors so playback_write() can abort if a
source error occurs.
2010-12-12 10:00:43 +01:00
Julien BLACHE
02ea6f4823
Downgrade volume computations to float (from double)
...
Although we lose precision, this is still enough for computing relative,
absolute and RAOP volume and will make a difference on embedded CPUs.
2010-12-04 16:15:49 +01:00
Julien BLACHE
0df4ab4555
Implement master volume & per-speaker relative volume
...
Volume is set independently for each speaker relative to the master
volume. Methods allow to set speaker volume independently and in relation
to the master volume.
2010-12-04 15:08:07 +01:00
Julien BLACHE
9e9c3e42cc
Rework RAOP volume setting to be per-speaker
...
Player now pilots RAOP volume setting directly on a per-speaker basis.
2010-12-04 15:08:06 +01:00
Julien BLACHE
9bd6d459a2
Maintain per-speaker volume information
2010-12-04 15:08:06 +01:00
Julien BLACHE
9507f8d059
Switch speaker state-saving to new db_speaker_* interface
2010-12-04 15:08:06 +01:00
Julien BLACHE
7de9408a10
Make sure device is deselected before removing it
2010-12-02 19:56:26 +01:00
Julien BLACHE
78df98ba35
Introduce speaker selection/deselection helpers
2010-12-02 19:56:26 +01:00
Julien BLACHE
55f0c7cfcd
Rename volume to master_volume
2010-12-02 19:53:36 +01:00
Julien BLACHE
edfcf955a7
Replace device autoselect deadline with a boolean flag
...
Devices can be autoselected until we first get into the PLAY_PLAYING state.
This avoids having to check the player state when adding devices.
2010-12-02 19:53:36 +01:00
Julien BLACHE
25cdedc343
Remove device list lock (dev_lck)
...
No longer necessary now that all device list operations happen in the
player thread.
2010-12-02 19:53:36 +01:00
Julien BLACHE
320d3b9dde
Manage devices entirely in the player thread
...
Provide non-blocking player commands to the mDNS callback to manage
the device list. All operations on the device list now happen in the
player thread.
2010-12-02 19:52:45 +01:00
Julien BLACHE
389e3f1123
Introduce non-blocking commands
2010-12-02 19:51:50 +01:00
Julien BLACHE
ec4299e6c7
Turn speaker enumeration into a sync command
2010-12-02 19:51:08 +01:00
Julien BLACHE
418e818bee
Move code around, no functional changes
2010-11-28 17:37:48 +01:00
Julien BLACHE
c3e24a0d9a
Hide get_pos() debug messages behind DEBUG_SYNC
2010-11-28 17:33:19 +01:00
Julien BLACHE
45e3d55ee0
Enumerate all active or advertised speakers
...
We need to include speakers that are currently active in our enumeration,
even if they're not advertising anymore; until the session is declared failed
by RAOP, we are streaming to this device, even if it's not advertising
anymore - which may be a temporary condition.
2010-11-28 17:33:00 +01:00
Julien BLACHE
8cc3d4841f
Move last_active check into raop_device_find_or_new()
...
Removes some of the clutter in the mDNS callback and ensures the check is only
done for new devices.
2010-11-02 19:13:46 +01:00
Kai Elwert
6bfc4a65e2
Implement sort=artist for DACP/player
2010-10-26 18:06:36 +02:00
Julien BLACHE
a8e7a7aeeb
Fix missing command_init() call in player_playback_next()
2010-10-07 21:06:40 +02:00
Julien BLACHE
aa33b520ed
Identify RAOP device type
...
Identify the device type in the mDNS callback and decide features & quirk
in RAOP based on the identified device type.
2010-10-07 21:06:40 +02:00