Bug 6793 - Add ability for TT templates to access client objects so client preferences can be accessed cleanly from skins
: Add ability for TT templates to access client objects so client preferences c...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.0
: PC Windows (legacy)
: P2 normal (vote)
: ---
Assigned To: Adrian Smith
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-26 04:08 UTC by Adrian Smith
Modified: 2011-03-16 04:47 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Smith 2008-01-26 04:08:25 UTC
Requirement to access client preferences from TT raised on dev list: http://forums.slimdevices.com/showthread.php?t=34188&page=4

Propose to extend Slim::Plugin::TT::Clients to add new method to allow a client object to be obtained from the player id, this will allow clean access of client prefs from TT.

Bug raised to agree this goes in 7.0..
Comment 1 Blackketter Dean 2008-01-26 21:36:16 UTC
Is this the whole patch:


sub client {
my $self = shift;
my $id = shift;
return Slim::Player::Client::getClient($id);
}


(from the post)?

If so, go for it.

Comment 2 Adrian Smith 2008-01-27 04:42:58 UTC
change 16792
Comment 3 Chris Owens 2008-03-07 09:05:11 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.