Bug 2071 - no object method unblock in Plugins:ShoutcastBrowser:Plugin.pm
: no object method unblock in Plugins:ShoutcastBrowser:Plugin.pm
Status: CLOSED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.2.0
: PC All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-03 22:04 UTC by Joel
Modified: 2005-09-04 10:35 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
dummy sub in the client module (334 bytes, patch)
2005-09-03 23:22 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2005-09-03 22:04:45 UTC
When connected to slimserver with Winamp
the call to 
   $params->{'client'}->unblock(); 
fails

the old method
   Slim::Buttons::Block::unblock($params->{'client'});
seems to work OK
Comment 1 KDF 2005-09-03 23:22:21 UTC
Created attachment 794 [details]
dummy sub in the client module

The proper way to handle this is to have a dummy method in the base client
class.
give it a try and let me know if that works for you.
Comment 2 Joel 2005-09-04 10:29:08 UTC
Dummmy Sub's (block, unblock) seem to work OK.
Comment 3 KDF 2005-09-04 10:35:11 UTC
committed to trunk at change 4161