OnUserLogin event does not fire when same user logs in again

You found a bug or have any issues? Please post them here!
Post Reply
User avatar
Havenstad FM
Posts: 104
Joined: 23 Apr 2016 12:36
OnUserLogin event does not fire when same user logs in again

Post by Havenstad FM »

Hi Bernd,

In our setup i have linked a script command on the login and logout events. Now it happens that if a user logs out and the same user logs in again the OnUserLogin is not fired.

IMHO this is a certified bug as in our station we play dj-shows every evening and unmanned computer generated shows at night. Therefore it is quite possible that the same dj that logs out at the end of the evening is the same one that logs in again the next day.

Please let me know your view on this.

With kind regards,
Jack Reitsema
ITC Havenstad FM
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: OnUserLogin event does not fire when same user logs in again

Post by radio42 »

Yes that would be bug. I m on the road the weekend and check on Monday.
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: OnUserLogin event does not fire when same user logs in again

Post by radio42 »

Yes, the "OnUserLogin" so far only fires when a new user was logged in - but not if the same user logged in again.
I didn't really assume, that this is a 'certified bug', as that behavior was so far actually by design - as the user effectively did not really change ;-)
But I guess it is okay to change the current behavior in the next version and fire the OnUserLogin event even it is the same user logging in again...
User avatar
radio42
Site Admin
Posts: 8328
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: OnUserLogin event does not fire when same user logs in again

Post by radio42 »

In the new v4.0.1.25 update the OnUserLogin should now be triggered even if the same user logs back in again.
User avatar
Havenstad FM
Posts: 104
Joined: 23 Apr 2016 12:36
Re: OnUserLogin event does not fire when same user logs in again

Post by Havenstad FM »

Hi Bernd,

At this moment the v4.0.1.26 is playing and indeed the OnUserLogin is firing whoever is logging in now. Thanks for the update.

Regards,
Jack Reitsema
ITC Havenstad.FM

Post Reply