Hi!

Le mer. 13 mars 2024 à 06:33, TDAS via Savonet-users <
savonet-users@lists.sourceforge.net> a écrit :

> Additionally, is there some way I can say "Upon reloading the playlist,
> dump it to stdout"?
>
> Perhaps if I provide a bit more information...
>
> I am running liquidsoap in docker, and although it says it is reloading
> the playlist (the 'playlist' is a directory, and I have tried 'watch' and
> 'every 10 minutes'), the original files seem to be the only ones playing.
>
> So either it's not actually reloading (in which case, why?), or, it is
> having difficulty playing the files.
>
> Because there is no "Playing" or "Attempting to play", I'm a little stuck
> on the debugging side of things.
>
>
> > On 13 Mar 2024, at 09:18, TDAS via Savonet-users <
> savonet-users@lists.sourceforge.net> wrote:
> >
> > Anyone?
> >
> >> On 10 Mar 2024, at 21:14, TDAS via Savonet-users <
> savonet-users@lists.sourceforge.net> wrote:
> >>
> >> Hi
> >>
> >> Is it possible to get liquidsoap to log when a track successfully plays
> (ideally start and end, but at least the latter)?
> >>
> >> At the moment I just have when it 'identifies' a track, and when it
> 'successfully decodes' one....
> >>
> >> The context is I have someone complaining that certain tracks are not
> being played, so I need to be able to say track X was definitely played at
> such and such a time.
> >>
> >> _______________________________________________
> >> Savonet-users mailing list
> >> Savonet-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
The github discussions are a better location to get help these days!

You can track... tracks using `source.on_track` and `source.on_end`!

Likewise, you have a `on_reload` callback on playlists and a `queue` method
so I imagine that a combination of those two should allow you to implement
what you need.

Romain
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to