How to log everything played ?

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
How to log everything played ?

Post by hdradio »

I need to log every audio file that plays onair.
I was using a command on Streaming->OnSongTitleChanged.
But now I have set in Streaming server to log only Music files, because I don't want to show in web players ads, jingles etc.

How can I do that ?
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: How to log everything played ?

Post by hdradio »

Can I use the same parameters for all these ?
I need to log to a single daily file.

Why don't you add a global program command "OnPlay" ? (should I add it to wish list ?)
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: How to log everything played ?

Post by radio42 »

In that case you need to log them individually via the following events:
- Playlist.OnTrackPlay
- Cartwall.I: OnCartPlay
- Cartwall.II: OnCartPlay
- Others.OnStandbyPlay
- Streaming.OnMODStreamPlaying
- Scheduler.OnOverlayPlayed
Note: The next version will also contain a new Scheduler.OnOverlayTrackPlay event.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: How to log everything played ?

Post by radio42 »

Yes.
There is no global OnPlay, because some users only want to handle playlist track, but no cartwall jingles, other don't want overlays to be included, other ...
So instead of adding a global OnPlay AND several extra filters and options, there do exist separate events.
So no need to place that onto the wish list I guess.

E.g. if you do not use the MODStreamPLayer or the StandbyPlayers, no need to even define/handle that event.

Post Reply