bdraco Wrote:
> Probably not the best way to do this, but here goes (also probably not
> the best place in the code to handle this event):
>
> --- Plugin.pm.orig 2006-08-09 05:35:11.000000000 -0400
> +++ Plugin.pm 2006-08-09 05:37:11.000000000 -0400
> @@ -541,6 +541,7 @@
> }
> elsif (/Max Daily Logins Exceeded/) {
> $::d_plugins && msg("SiriusRadio: Max Daily
> Logins Exceeded.\n");
> +
> Slim::Utils::Prefs::set("plugin_siriusradio_cookie",'');
> $client->showBriefly("Error: Maximum daily
> logins reached.\n");
> $webMessage{$client} = 'Error: Maximum daily
> logins reached.';
> $webRefresh{$client} = 0;
>
Looks like you're just setting the cookie to null if the maximum logins
is reached. Is this necessary? To be honest, I'm not sure if I've
reached the max logins now that cached logins can last months. I'd
imagine you're probably logging in on multiple systems which cause
previous logins to expire.
-Greg
--
GoCubs
------------------------------------------------------------------------
GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=20621
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss