Hi. Player emits Playing, Paused, and Stopped signals. Are you getting the subtitles from the media stream, or are they fetched from another source?
It looks like the trackbar runs on a timer and queries the position on each period. Seems like you would need to do something similar if you were trying to sync with the stream without hooking into gstreamer. On Thu, Feb 11, 2021 at 6:32 AM Sergey Glazyrin <[email protected]> wrote: > > Hello guys! > I am working on a change to show subtitles for the song during playing. > How do I subscribe to the event SongIsPlaying... or is it better to get an > access to app and active song in player ? > > -- > You received this message because you are subscribed to the Google Groups > "Clementine Music Player" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clementine-player/2bf96689-22c2-4b89-bc9f-71517b414410n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Clementine Music Player" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/clementine-player/CAKgEEwsdD5cDroPhAeOSSyQvwbzGLmeGUqy3oqcn8YD5A2D3fg%40mail.gmail.com.
