For which devices would $client->isPlayer() return false? Do such devices have playlists, volume, power state etc?
Cheers,
Max
Results 1 to 3 of 3
-
2007-05-18, 10:58 #1
What does $client->isPlayer() do?
Some people think the title of this song is irrelevant,
but it's not irrelevant - it's a hippopotamus.
-
2007-05-18, 11:00 #2
What does $client->isPlayer() do?
On May 18, 2007, at 1:58 PM, max.spicer wrote:
>
> For which devices would $client->isPlayer() return false? Do such
> devices have playlists, volume, power state etc?
I believe isPlayer is only false for HTTP streaming clients
(stream.mp3). See Slim::Player::HTTP.
-
2007-05-18, 11:17 #3
What does $client->isPlayer() do?
Quoting "max.spicer"
<max.spicer.2qsj1z1179511202 (AT) no-mx (DOT) forums.slimdevices.com>:
>
> For which devices would $client->isPlayer() return false? Do such
> devices have playlists, volume, power state etc?
http connections would be the only real case. Anything with no
display, no volume controls etc. Mostly it exists to prevent use of
methods on client objects that won't be present for non-'players'
See Slim/Player/HTTP.pm
-kdf

Reply With Quote

