Stream - notifier track titel change by mail

Ask questions, request features, or just complement us about our software and services.
Post Reply
Heartbeats
Posts: 7
Joined: Thu Apr 19, 2018 3:32 am

Stream - notifier track titel change by mail

Post by Heartbeats »

Yo guys

I'm currently looking into getting radio toolbox to sent me a mail whenever the title of the current track is changed.

I've so far tried setting up a gmail & outlook mail op by.
I keep getting this notification whenever track is changing:

"RadioToolbox.Inspector.Station.StatsLock
Notifier thread {0} died"

Can anybody help me with experience with what certain mail serices that work properly with the program/SMTP

or is there anything in the code that is ruining it so it can't send changes.
Thanks so much in advance and let me know if there is any information missing:
Build - windows 10
Stream is function and correctly added as server which display the right tracks and so on.
Heartbeats
Posts: 7
Joined: Thu Apr 19, 2018 3:32 am

Re: Stream - notifier track titel change by mail

Post by Heartbeats »

Also getting this in log?

"RadioToolbox.Inspector.API.OnlineLogService.RadioToolboxAPI.ValidateRemoteCertificate
API: X509Certificate [CN=a248.e.akamai.net, O="Akamai Technologies, Inc.", L=Cambridge, S=Massachusetts, C=US] Policy Error: 'None'"
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Stream - notifier track titel change by mail

Post by Max »

Hi,

Most likely this is caused by the SMTP rejecting the message. Restrictions on SMTP have become more severe in recent times due to spammers.

I will add some code to Radio Toolbox to recognize these conditions and let you know of it. Right now the current release doesn't recognize when the SMTP server rejects the message and thinks everything is fine.

I'm testing with GMail at the moment and it does appear that GMail is rejecting my attempts to send notifications. Hopefully I can provide an answer to why this is soon.
Heartbeats
Posts: 7
Joined: Thu Apr 19, 2018 3:32 am

Re: Stream - notifier track titel change by mail

Post by Heartbeats »

Thank you so much Max! I understand fully regarding the severe issue. But please let me know of ANY SMTP provide that is functioning well and i will just use that.
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Stream - notifier track titel change by mail

Post by Max »

Hi,

Regarding using GMail. I was able to use GMail SMTP just fine now.

It appears you have to use the TLS port (587) instead of the SSL port.

So in your notifier you should have it set to:
SMTP Server: smtp.gmail.com
SMTP Port: 587
Use SSL: Checked.

Edit: Also to note, if you use two factor authentication you will have to use an Application Password generated from your account.

https://support.google.com/accounts/answer/185833?hl=en
Heartbeats
Posts: 7
Joined: Thu Apr 19, 2018 3:32 am

Re: Stream - notifier track titel change by mail

Post by Heartbeats »

Thank you so much Max. It worked!!!
Heartbeats
Posts: 7
Joined: Thu Apr 19, 2018 3:32 am

Re: Stream - notifier track titel change by mail

Post by Heartbeats »

Max wrote: Mon Apr 23, 2018 1:36 pm Hi,

Regarding using GMail. I was able to use GMail SMTP just fine now.

It appears you have to use the TLS port (587) instead of the SSL port.

So in your notifier you should have it set to:
SMTP Server: smtp.gmail.com
SMTP Port: 587
Use SSL: Checked.

Edit: Also to note, if you use two factor authentication you will have to use an Application Password generated from your account.

https://support.google.com/accounts/answer/185833?hl=en
Any chance for incorporating "volume / blank detection" in the nearest future as a tool for mail notification?
User avatar
Max
Posts: 153
Joined: Fri Oct 21, 2011 1:39 am

Re: Stream - notifier track titel change by mail

Post by Max »

Hi,

Its listed in the Notifier's dialog as "Audio Check Result Change".

There isn't a template for it so you'll have to write your own.

The variables are:
%_STATION_AUDIO_CHECK_SUCCESS_% - Replaces with "Success" or "Failure"
%_STATION_AUDIO_DBV_RIGHT_% - dBV Right
%_STATION_AUDIO_DBV_LEFT_% - dBV Left
%_STATION_AUDIO_CHECK_INTERVAL_% - Interval
%_STATION_AUDIO_DBV_MINIMUM_% - dBV minimum
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Re: Stream - notifier track titel change by mail

Post by Jay »

Something to be aware of is that Radio Toolbox will not throttle notifications so make sure you set a reasonably high check interval. If you set it to say 1 second, then this could trigger a notification event every 1 second which could quickly become a problem with your email provider.
- Jay
Post Reply